[01:39] <imperfect-> wc [01:47] <MikeJoel> what command line option do I need to set to prevent degrigation in the video? If I create an mp4 everything looks fine the whole way through. If I run the same command yet change the output file to avi or swf it runs fine up to almost the end then the video starts blocking up and pixelating like a very low quality video. This is making video from pictures (pictures files are not changes) [01:56] <MikeJoel> Appears it starts degrading when the fade ins (which is the only movement in the video) stops and the same image is just repeated until the end of the video [02:55] <MikeJoel> http://www.parksandsonspiano.com/Testsite/output.avi is the video [02:59] <MikeJoel> like I was saying. You can see that near the end of the video it goes blocky [02:59] <MikeJoel> it does not happen in mp4 [02:59] <MikeJoel> the problem also shows up in swf [03:07] <iive> MikeJoel: interesting issue. [03:07] <iive> i'd recommend you to use constant quality encoding, e.g. -vqscale 2 or however you set fixed quantizer [03:08] <iive> bitrate encoding sometimes could do strange things. [03:09] <iive> also, look up mv0 and cbp, these might be option of flags, they help for static images. may need mbd=1 or/and trellis [03:09] <iive> sorry gtg. [03:09] <MikeJoel> ok thanks for the pointers [03:11] <iive> also, why not encode in h264? -c:v libx264 -crf 22 (it have different scale for qualitzation , 18 is like mpeg1/2/4 quant=2) [03:16] <MikeJoel> q:v seems to have fixed it [03:17] <iive> sure. just have in mind the fourcc fmp4 might not play on all devices. xvid/divx are more popular fourcc for it. [03:18] <iive> i'm off [05:04] <JodaZ> has anyone looked at http://files.plexapp.com/elan/ffmpeg/PlexTranscoder.tar.bz2 and checked if some changes might be worth backporting? [06:36] <spectralsun> I'm trying to make a video from an image, but I get the error " [06:36] <spectralsun> deprecated pixel format used, make sure you did set range correctly" [06:36] <spectralsun> ffmpeg -r 1/2 -i Downloads/logo_narrow.jpg -vcodec libx264 out.mp4 [06:37] <spectralsun> is the command i tried [06:37] <spectralsun> I get that error message in VLC when I try to play out.mp4 [06:37] <c_14> Does ffplay play the video? [06:38] <spectralsun> c_14: yes, it does! [06:38] <spectralsun> ok, so we're getting somewhere [06:38] Action: c_14 blames vlc [06:38] <spectralsun> I think the error might actually be [06:38] <c_14> Try a nightly? [06:38] <spectralsun> main vout display error: Failed to resize display [06:38] <spectralsun> because it shows that deprecated pixel yellow text in ffplay too [06:38] <c_14> Can you pastebin an ffprobe of the file and the relevant ffplay output? [06:40] <spectralsun> c_14: https://dpaste.de/0svC [06:42] <c_14> You can try forcing yuv420p instead of yuvj444p [07:23] <spectralsun> c_14: how do i do that? [07:24] <c_14> -pix_fmt yuv420p [07:26] <spectralsun> nope, didn't fix the vlc issue [07:26] <spectralsun> it's not a big deal, it just needs to be able to play in the browser [08:20] <mos_basik> I am trying to install ffmpeg on CentOS 6 following this guide: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat. [08:20] <mos_basik> I am stuck at the "Install Libvpx" step. The git checkout command as shown failed with "error: pathspec 'tags/v.1.3.0' did not match any file(s) known to git." Looking at the changelog in the master branch seemed to show it was already version 1.3.0, so I decided to ignore this step for now. [08:20] <mos_basik> The configure command failed with "nasm -Ox -f elf64 does not support section alignment (nasm <=2.08?)". The installed nasm is version 2.07, and Google says that's default for CentOS 6. Getting an updated version nasm looks pretty heavy for my power level. [08:20] <mos_basik> I thought it odd that yasm needed to be configured and installed and was conveniently the step before libvpx. Did I miss something that is supposed to make the process use yasm instead of nasm? Is it easier than it looks to get an updated version of nasm? [08:20] <mos_basik> This isn't the first time I've tried to compile ffmpeg myself, but I have never succeeded. On Ubuntu I eventually just used someone else's ppa, but I think here I'm stuck if I'm not able to get it working. [08:29] <JodaZ> mos_basik, use prebuilt binary? :) [08:32] <JodaZ> mos_basik, or try this guide: https://trac.ffmpeg.org/wiki/CompilationGuide/Centos [08:40] <mos_basik> JodaZ, that tutorial looks almost the same, actually. The order that the codecs are installed appears different, but that's about it [08:41] <JodaZ> libvpx checkout is different [08:41] <mos_basik> hmm, i see. the source is different [08:47] <mos_basik> same error (nasm <=2.08?). still researching [09:00] <mos_basik> is it feasible to install .rpm's built for Fedora or openSUSE on CentOS? [09:21] <JodaZ> mos_basik, http://ffmpeg.zeranoe.com/builds/ you can just extract that and run it [09:21] <JodaZ> (or put it in your path or whatever) [09:22] <JodaZ> o wait, nvm [09:23] <JodaZ> mos_basik, http://johnvansickle.com/ffmpeg/ these ones i meant [09:25] <mos_basik> Might do that. Found an rpm for a newer version of nasm, tried to install. needed a newer version of glibc. found an rpm for that, it needs newer versions of like five different things. [09:37] <seasc> good morning, i want to record from my webcam, but i have no sound, what am i missing? :: ffmpeg -v quiet -f v4l2 -s 640x480 -i /dev/video0 "/home/sea/webcam-out.mpg" [09:37] <seasc> its a linux system [09:41] <c_14> https://trac.ffmpeg.org/wiki/Capture/ALSA [09:42] <seasc> copied wrong line: ffmpeg -v quiet -f v4l2 -s 640x480 -i /dev/video0 -f alsa -i default -c:a mp3 "/home/sea/webcam-out.6.mpg" [09:44] <seasc> ty c_14 [09:47] <seasc> simple as that is working already: ffmpeg -v quiet -f v4l2 -s 640x480 -i /dev/video0 -f alsa -i default "/home/sea/webcam-out.mpg -- <3 ffmpeg :) [09:49] <mos_basik> JodaZ, going with the johnvansickle seems to be working. Hopefully it works with the use I have in mind. [09:50] <mos_basik> An installation question - what is best practice for setting up a static build like that on a multi-user system such that anyone can access it? Put it somewhere in /bin and put it in the path? [09:51] <c_14> mos_basik: /usr/local/bin maybe? [09:52] <mos_basik> c_14, looks good according to this http://devopsbootcamp.readthedocs.org/en/latest/_images/hierarchy.jpg. I'll do that. [10:00] <Akagi201> I am compiling ffmpeg with rtmp support (cross compile to TI dm365). But I always get `librtmp not found` [10:00] <Akagi201> here is my compile configs https://gist.github.com/anonymous/918600bf6f9460003ad6 [10:00] <Akagi201> I have put all needed libs and headers to /home/akagi201/libs-dm365 folder [10:02] <c_14> Can you pastebin your config.log? [11:58] <Polarwinds> Hello, is there a way to convert 10bit mkv's with subtitles to mp4? [12:01] <Polarwinds> http://pastebin.com/gbwaAg1u [12:01] <Nitori> -c:s copy [12:01] <Nitori> ? [12:02] <Polarwinds> it doesnt convert the video track to 8bit [12:02] <Nitori> because you copy it [12:02] <Polarwinds> how would i encode it then? [12:03] <Nitori> "-c:v libx264" or something like that [12:03] <Polarwinds> http://pastebin.com/gbwaAg1u [12:03] <Polarwinds> what would i do? [12:03] <Polarwinds> if i have the code put in i can just use it as a template [12:04] <Nitori> you want it hardsubs? [12:04] <Polarwinds> yes [12:04] <Polarwinds> please [12:06] <Polarwinds> http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=17&t=1417 for reference [12:06] <Nitori> ok [12:06] <Polarwinds> thank you [12:06] <Polarwinds> could you just make it so it doesnt hard sub it? [12:07] <Nitori> you do NOT want hardsubs? [12:07] <Nitori> what is it you want? D: [12:07] <Polarwinds> and ill the sub as an external files, which is easier? [12:07] <Polarwinds> i want it to be 8bit from 10bit [12:07] <Polarwinds> what ever is easier [12:07] <Polarwinds> i do want hard sub, and non hard sub [12:07] <Polarwinds> if possible [12:08] <Nitori> oh dear [12:08] <Polarwinds> what? [12:08] <Nitori> hard sub might be a little bit harder, if the mkv contains fonts [12:08] <Polarwinds> it will :/ [12:08] <Polarwinds> so can we do without? [12:08] <Nitori> we'd have to extract them, put them to your system fonts, and so on [12:09] <Polarwinds> i can just load the .ass seperatly [12:09] <Nitori> yes, but without the fonts it's going to look ugly [12:09] <Polarwinds> i am on windows [12:09] <Nitori> I know.. [12:09] <Nitori> the easiest way would probably to copy everything over, and just to reencode the video [12:09] <Polarwinds> hmm, what do you sugguest [12:10] <Polarwinds> okay [12:10] <Polarwinds> that would work [12:13] <Polarwinds> so? is it possible [12:13] <Nitori> wait a sec [12:13] <Polarwinds> okay [12:14] <Polarwinds> %m [12:14] <Polarwinds> hmm [12:17] <Nitori> hm [12:17] <Polarwinds> difficult? [12:17] <Nitori> having trouble copying the fonts [12:17] <Polarwinds> oh [12:17] <Polarwinds> i have the mkv file on my pc [12:18] <Polarwinds> it has to subtitle tracks, should i take out the one i dont want? [12:18] <Nitori> no, I cannot, for whatever reason, copy the .ass file into the mp4 container Oo [12:18] <Nitori> sure you can [12:18] <Polarwinds> hmm [12:18] <Polarwinds> interesting [12:18] <Polarwinds> but you can convert it without the .ass? [12:19] <Polarwinds> that's what i mostly need [12:19] <Polarwinds> is that code [12:19] <loadbang> Hi all, just updated to 2.4.1, it appears -pattern_type glob is broken. Has anything changed or is it a bug? I just get an error *.jpg: No such file or directory [12:21] <Nitori> [mp4 @ 0x13cb760] Could not find tag for codec ttf in stream #2, codec not currently supported in container [12:21] <Nitori> Oo [12:22] <Polarwinds> what does that mean [12:22] <loadbang> ok, https://trac.ffmpeg.org/ticket/3948 [12:22] <Nitori> it means, my ffmpeg doesn't want to put ttf into the container. I probably did something wrong [12:22] <Polarwinds> oh, can you fix it, so i just have to switch the name of the mkv to something else each time? [12:25] <Polarwinds> :/ [12:25] <Nitori> dunno [12:26] <Polarwinds> oh [12:26] <Polarwinds> so ? [12:26] <Nitori> well, probably. [12:26] <Polarwinds> for now i just need it so it converts the mkv to mp4 [12:27] <Nitori> without anything would be: ffmpeg -i "Coppelion - 01.mkv" -map 0:v -map 0:a -c:a copy -c:v libx264 -crf 18 -preset slow "Coppelion - 01.mp4" [12:27] <Nitori> maybe [12:28] <Polarwinds> i am going to try [12:28] <Nitori> that would *only* result in an mp4 with audio and reencoded video [12:28] <Polarwinds> can you make the audio to aac 640? [12:28] <Nitori> 640? [12:28] <Polarwinds> then send me the script :) [12:28] <Polarwinds> kbs [12:28] <Nitori> you mean 64? [12:28] <Polarwinds> no 640kbs [12:29] <JEEB> btw, if you want hardsubs straight off a matroska file with the styles kept, I recommend looking at mpv's encoding module [12:29] <Nitori> that's bullshit [12:29] <Polarwinds> no? [12:29] <Polarwinds> flac downsamples to 640kbs aac lc [12:29] <Nitori> oh, so it's flac [12:29] <Polarwinds> flac wont work in mp4 [12:29] <Polarwinds> :p [12:30] <Nitori> maybe you have to add something like: -c:a aac -strict -2 -b:a 640k [12:30] <Nitori> dunno if that's correct [12:30] <Polarwinds> let me try the script [12:30] <Nitori> and remove the -c:a copy [12:30] <Polarwinds> okay [12:30] <JEEB> https://github.com/mpv-player/mpv/blob/master/DOCS/encoding.rst [12:30] <JEEB> this should be able to hardsub the matroska straight off with the styles, basically [12:31] <JEEB> (which unfortunately ffmpeg is not really good at atm) [12:31] <Nitori> I never had problems to hardsub with ffmpeg. at least if the fonts are available in the system [12:32] <Polarwinds> what is the - 2 in the audio thing mean? [12:32] <JEEB> I remember vf ass needing you to extract the ASS and then manually installing the fonts [12:32] <Polarwinds> and the strict? [12:32] <JEEB> Polarwinds, -strict experimental [12:32] <Nitori> I use vf subtitles [12:32] <Polarwinds> oh [12:32] <Polarwinds> sorry i am new, i only used the basic function [12:33] <Nitori> JEEB, yes, extracting both ass and fonts. it's a bit of a hassle, indeed [12:33] <JEEB> yup, which is why mpv's encoding thingy is much simpler [12:33] <Nitori> never tried [12:33] <JEEB> it can't do stream copy, but in this case both V and A are re-encoded [12:33] <Polarwinds> http://pastebin.com/gbwaAg1u [12:33] <Polarwinds> does that look right guys? [12:34] <JEEB> yeah, but you probably wanna try out mpv [12:34] <JEEB> just simpler [12:34] <JEEB> no extraction etc [12:34] <Nitori> I have no fu*king idea what those first lines are for [12:34] <JEEB> http://mpv.srsfckn.biz/ [12:34] <JEEB> windows builds [12:34] <Polarwinds> sorry :C [12:34] <JEEB> see #mpv-player @ freenode for help (and the encoding.rst I linked) [12:35] <Polarwinds> why wont ffmpeg work ? [12:35] <JEEB> well it will, but you will have to do X steps instead of just one [12:35] <JEEB> which should be much simpler for you :P [12:35] <Nitori> in your paste, you added "ffmpeg" as the first argument to ffmpeg.exe [12:35] <Nitori> which is wrong [12:35] <Polarwinds> what? [12:36] <Polarwinds> idk :p i am confused [12:36] <Nitori> yea, I suggest you do what JEEB suggested, and try it with mpv instead [12:36] <Nitori> mpv is also a nice video player [12:36] <Nitori> especially for anime ;-) [12:36] <Polarwinds> http://puu.sh/bR3IX/bc259b833c.png [12:37] <Polarwinds> is the only error [12:37] <Polarwinds> so what do i do? [12:37] <Nitori> well, the file doesn't exist. that's what it says [12:37] <Polarwinds> hmm [12:37] <Nitori> you probably have to edit it, to include the complete path [12:38] <JEEB> anyways, for this particular use case, mpv is probably going to be simpler to use (and it uses FFmpeg's libraries in the background) [12:38] <Polarwinds> okay [12:39] <Polarwinds> i downloaded mpv [12:39] <Nitori> and then join #mpv-player [12:39] <Polarwinds> nothing so far :/ [12:39] <JEEB> start with playing the file to make sure you have the input file name right and you can see it rendering the subtitles right [12:40] <JEEB> and yeah, then we can move the discussion there [12:40] <Polarwinds> hmm [12:40] <Polarwinds> i still got the file doesnt exsist D: [12:44] <seasc> Polarwinds, if you're using linux, i made a script to ease such tasks: http://forums.fedoraforum.org/showthread.php?t=299182 [12:45] <seasc> Polarwinds, subtitles still beta though [12:45] <Polarwinds> http://pastebin.com/cyaWa55u [12:45] <Polarwinds> then i just need to encode it without them [12:45] <Polarwinds> what am i doing wrong? [12:46] <Polarwinds> http://puu.sh/bR4bh/2efed04422.png [12:46] <Polarwinds> the right file is there [12:46] <JEEB> you are writing the file name wrong, as I said [12:47] <JEEB> "c:\ffmpeg\Coppelion -01.mkv" compared to what is in that screenshot [12:47] <Polarwinds> so what do i change? [12:47] <Polarwinds> sorry [12:48] <seasc> we dont know what the proper file name is... however, i'd assume there is another space after the dash... "abc - 1.mkv" [12:48] <JEEB> we do, he just posted a screenshot :P [12:48] <Polarwinds> its Coppelion -01 [12:48] <Polarwinds> that's it [12:48] <JEEB> that's not what your screenshot says [12:48] <Polarwinds> D: [12:48] <JEEB> do you per chance have bad eyesight? [12:49] <Polarwinds> i am wearing glasses... [12:49] <seasc> just as my assumption was :D [12:49] <JEEB> well so do I [12:49] <JEEB> but I can still clearly see that space after the dash [12:49] <JEEB> in your screenshot [12:49] <JEEB> that is why you use tab-autocompletion in a shell or a command line, or heck - just right-click the file name and select "rename" to select the file name so you can copy it :P [12:50] <JEEB> anyway, I recommend you go back to mpv since it will most probably give what you want in a more simple manner, without extracting the subtitles and fonts [12:50] <Polarwinds> "C:\ffmpeg\bin\ffmpeg.exe" -i *C:\ffmpeg\Coppelion - 01.mkv" -map 0:v -map 0:a -c:a aac -strict -2 -b:a 640k -c:v libx264 -crf 18 -preset ultrafast"*C:\ffmpeg\Coppel [12:50] <Polarwinds> is what i have [12:51] <Polarwinds> hmm i could renameit [12:51] <JEEB> ... [12:51] <seasc> now this looks better than previously :p [12:51] <JEEB> yes, now the file name and path looks correct :P [12:52] <Polarwinds> it worked [12:52] <Polarwinds> now i got this : http://puu.sh/bR4rI/0b40304949.png [12:52] <seasc> i'm more confused by his: "-map 0:v" and "-map 0:a" i'm used to use the real id's from ffmpeg -psnr -i video... would they just include all audio and video streams? [12:52] <Polarwinds> i need to convert both [12:52] <Polarwinds> :/ [12:52] <JEEB> seasc, yeah - it would select all of that type [12:53] <Polarwinds> the files is flac and i want to convert it to aac lc 640kbs [12:53] <Polarwinds> so? [12:53] <Polarwinds> thanks for helping me learn [12:54] <seasc> Polarwinds, there are some weird symbols between 'ultrafast' and the output file [12:55] <seasc> JEEB, ty [12:55] <Polarwinds> http://pastebin.com/cyaWa55u [12:55] <Polarwinds> there is my error [12:55] <Polarwinds> error is the puush [12:55] <seasc> again... put a space betwen arguments [12:56] <seasc> there is none between ultrafast and the outputfile [12:56] <Nitori> and there is a quotation mark at the beginning in front of the mkv filename missing [12:56] <Nitori> and at the end [12:56] <Polarwinds> oh [12:57] <seasc> it is ther at the beginng of outputfile, but tthe end is missing.. yes [12:57] <seasc> ahh the input misses the leading quote, and the output the trailing quote ;) [12:57] <Polarwinds> http://pastebin.com/cyaWa55u [12:58] <Polarwinds> i did the quotes around the file names now? [12:58] <Nitori> oh dear.. [12:58] <JEEB> no you did not [12:58] <Polarwinds> sorry :C [12:58] <JEEB> also stop hurling yourself from one place to another [12:58] <Polarwinds> sorry. [12:58] <JEEB> if you want to use mpv, just stay on that track [12:58] <Polarwinds> ill try? [12:58] <JEEB> you're just making this harder to yourself [12:58] <JEEB> uhh [12:58] <JEEB> I goddamn spoonfed you a command line [12:58] <Polarwinds> :c [12:59] <JEEB> since we now know the full path to your source file [12:59] <Polarwinds> :/ [12:59] <Polarwinds> sorry :c [13:00] <Polarwinds> i really want to use ffmpeg [13:00] <JEEB> no, for what you are doing (hardsubbing ASS straight off of a matroska file) you do NOT want to use it [13:00] <JEEB> it just adds extra manual steps, why would you do it [13:00] <Polarwinds> cause my tablet cant play 10bit mkv :/ [13:00] <JEEB> ... [13:01] <JEEB> MPV FUCKING LOADS EVERYTHING FROM THE FUCKING FILE [13:01] <JEEB> YOU DON'T NEED TO EXTRACT [13:01] <JEEB> CAN'T YOU FUCKING READ [13:01] <Polarwinds> D:< [13:01] <Polarwinds> slowly [13:01] <JEEB> I'm trying to give you a simpler fucking alternative, I spoonfed you a fucking command line after the file name became known [13:02] <Polarwinds> mpv wont open? [13:02] <Polarwinds> i left clicked it [13:02] <JEEB> just like ffmpeg, as I said [13:02] <JEEB> it's a COMMAND LINE APPLICATION [13:02] <Polarwinds> okay [13:03] <seasc> try: C:\ffmpeg\bin\ffmpeg.exe -i *"C:\ffmpeg\Coppelion - 01.mkv" -map 0:v -map 0:a -c:a aac -strict -2 -b:a 640k -c:v libx264 -crf 18 -preset ultrafast "*C:\ffmpeg\"Coppelion-01.mp4" [13:03] <seasc> err [13:03] <seasc> try this: C:\ffmpeg\bin\ffmpeg.exe -i *"C:\ffmpeg\Coppelion - 01.mkv" -map 0:v -map 0:a -c:a aac -strict -2 -b:a 640k -c:v libx264 -crf 18 -preset ultrafast "*C:\ffmpeg\Coppelion -01.mp4" [13:04] <seasc> i dont care about the output name ^^ he can rename later [13:04] <Polarwinds> it says invalid arguement [13:05] <seasc> yea, try the 2nd one [13:05] <Polarwinds> still? [13:05] <Polarwinds> :/ [13:05] <seasc> whats the error? [13:06] <Polarwinds> http://puu.sh/bR575/e629f5ff72.png [13:06] <Polarwinds> its the exact same D: [13:06] <Polarwinds> the file is the same name as the code >.< [13:07] <seasc> make the error area larger, that little thing doesnt say anything [13:09] <Polarwinds> it just says invalid aruguement [13:09] <Polarwinds> that is it o [13:10] <Fjorgynn> :D [13:10] <Polarwinds> ? [13:11] <seasc> One last try, and if there is an error... upload ALL of the console output !! [13:11] <seasc> http://paste.fedoraproject.org/137124/41190266/raw/ [13:13] <seasc> ctrl+a -> ctrl+c -> go to console and then right-click and paste it [13:13] <Polarwinds> http://puu.sh/bR5tY/17710dafbb.png [13:14] <seasc> ok thats my bad... windows doesnt handle them i guess :( [13:14] <Polarwinds> it can [13:14] <Polarwinds> D: [13:14] <Polarwinds> i have done it before [13:14] <seasc> but me out.. you have not provided enough area to figure errors... bye [13:15] <Polarwinds> bye :/ [13:20] <someone-noone> Hello. I have a nut file with uyvy422 frames and I want to convert it to mkv with libx264, but I got error "Unable to parse option value "-1" as pixel format". [13:21] <Fjorgynn> i see [13:21] <someone-noone> Here's a full stdout\stderr http://pastebin.com/uBdWwvH0 [13:21] <someone-noone> Why is it happening? And how can I fix it? [13:22] <someone-noone> I tried to provide different pix_fmt options (yuv420p and uyvy422), but it doesn't help [13:22] <seasc> try adding: -map 0 [13:23] <someone-noone> Same error with: ./ffmpeg -i ../Screen/out.nut -map 0 -c:v libx264 out.mkv [13:24] <someone-noone> perhaps it's due to disable-everything option. Perhaps I missed smth? There is a filter error in the end as you may see: [graph 0 input from stream 0:0 @ 0x7fee29d0cf20] Error applying options to the filter. [13:24] <someone-noone> Error opening filters! [13:26] <someone-noone> in ./ffmpeg -pix_fmts I can see that both yuv420p and uyvy422 are supported [13:28] <seasc> sry me cant help with this :( [13:39] <seasc> might the *nut require some special codecs? because ffmpeg seems very capable in autodetection usualy [14:10] <cousin_luigi> Greetings. [14:11] Action: cousin_luigi is compiling ffmpeg 2.4.1 with these options: http://sprunge.us/FEYG but ffplay is not being built. What would you recommend to look at? [14:29] <Twoll> hi [14:29] <Twoll> someone to help me to grab SSE3Tools.dll plz? [14:59] <Hoschi_> hi folks, could someone explain me the sentence between the row# 895 ->899 in the following file? http://ffmpeg.org/doxygen/2.4/mux_8c_source.html#l00867 [15:03] <JEEB> if we had an input packet, after interleaving its content to another, set its contents to zero and re-initialize it is how it looks like [15:03] <JEEB> and then the local pointer is set to NULL so it can't be re-used in that function [15:05] <Hoschi_> hie JEEB -> does this one not leave a dangling pointer? [15:06] <JEEB> the packet is re-initialized so I guess it's not freed so you can re-use it again [15:06] <JEEB> of course I haven't looked into the contents of an avpacket in a very long time by now :P [15:06] <JEEB> so if there's a pointer there and interleave_packet doesn't do anything to it [15:07] <JEEB> that said, looking at interleave_packet [15:07] <JEEB> there's if (in) av_free_packet(in); in there [15:07] <JEEB> so it does free the content of the packet in there, and then the actual avpacket is just re-initialized by the code you linked [15:15] <Hoschi_> thank you, i need to debug a more deeply to understand the interleaving function, because i think my timestamp calculation is not accurate enough. After i upgraded from V. 2.1 -> 2.4, my program allocates a lot of memory :-( [15:19] <seasc> @ someone-noone : just found (at the bottom) http://trac.ffmpeg.org/wiki/Encode/H.264 might help you [15:24] <seasc> Could someone please give a an advice how to remove the 'pixelish' start (as in the ~first minute) of encoded videos(?), afterwards the quality is just fine... I thought it would be better when adding buffer (maxrate, minrate, bufsize) but it acutaly seems to be about the same :( [15:24] <seasc> cmd used: ffmpeg -v quiet -i "01 To You, Two Thousand Years Later.mkv" -strict -2 -map 0:0 -b:v 1024K -vf scale=1920x1080 -c:v libx264 -minrate 2048K -maxrate 2048K -bufsize 1024K -b:a 256K -c:a ac3 -c:s srt -map 0:3 -map 0:1 "01 To You, Two Thousand Years Later.0.mkv" [15:25] <seasc> also, 2nd question: subtitle prints some position values.. just at 'random' occasions, but not always, just rarley [15:25] <seasc> i'm using the same subtitle codec as input file [15:31] <seasc> http://pastebin.com/spperGp6 [15:38] <kepstin-laptop> seasc: if you can do 2-pass encoding, that should help the relative bit allocations somewhat. If you don't need the minrate/maxrate/bufsize then don't use them, they reduce quality somewhat. [15:39] <kepstin-laptop> (if you want 1-pass and don't need an exact filesize, use -crf rather than setting a bitrate) [16:00] <seasc> kepstin, problem beeing, 2pass videos are not played by my TV :( -- i do not need an exact filesize, however, i want it small with good quality, (to me) that is easer accomplished with bitrates... so i may translate the crf suggestion to increase bitrate? [16:00] <seasc> oh (s)he left [18:11] <seasc> which codec to use for 'wav' files? I'm on linux and having wavpack and wavesynth avilable, both fail... am i missing the right one? [18:17] <seasc> http://pastebin.com/uaW0kGS2 [18:17] <sacarasc> seasc: Encoding to? -c:a pcm_s16le [18:18] <seasc> sacarasc, thank you [19:37] <JodaZ> mos_basik, glibc is one of the things you do not just update [19:38] <JodaZ> mos_basik, because everything depends on it, thus updating breaks everything [19:52] <mos_basik> JodaZ,i see that now [00:00] --- Mon Sep 29 2014
participants (1)
-
burek