[Ffmpeg-devel-irc] ffmpeg.log.20140326

burek burek021 at gmail.com
Thu Mar 27 02:05:01 CET 2014


[00:22] <voip> I have 2 versions of ffmpeg, 100% same command i can run on old version but have problem when i tryng to run on new version http://pastebin.com/urqpABup
[00:23] <voip> any advice ?
[00:27] <sacarasc> -s 720x480 won't do anything with -vcodec copy.
[00:34] <newhoa> I am trying to use mencoder, setting audio to lavc. Looks like "-oac lavc -lavcopts acodec=libvorbis"
[00:34] <newhoa> Is this incorrect? It returnsoggvorbis_encode_init: init_encoder failed
[00:34] <newhoa> Couldn't open codec libvorbis, br=224.
[00:40] <voip> sacarasc, can't understand , why 100% same commands gaves differnet results ?
[00:40] <sacarasc> What different results?
[00:43] <voip> sacarasc, with old version of ffmpeg its works, with new version ffmpeg cant starts. look outputs on http://pastebin.com/urqpABup
[00:45] <sacarasc> It looks like it exited cleanly, so maybe it didn't get any info from the net.
[00:47] <voip> sacarasc, i tried 100 times version 0.6.5 works, last build NO
[00:47] <sacarasc> Add a -v or something.
[00:48] <voip> sacarasc, what mean -v , verbose ?
[00:48] <sacarasc> Yes.
[00:48] <voip> ok
[01:02] <newhoa> Is there a way to check the version of a codec ffmpeg uses?
[01:16] <newhoa> https://ffmpeg.org/ffmpeg.html says ffmpeg --help encoder=encoder_name
[01:16] <newhoa> For encoders, but it seems not to work.
[06:00] <mo1991> I am using debian wheezy with drupal 7 and it seems that the ffmpeg version that shipped with wheezy is too old to properly encode mp4 files with h264.  what is the best way to get a newer version of ffmpeg for transcoding?
[06:12] <rjp421> mo1991, try avconv
[06:12] <relaxed> mo1991: you can build a recent version yourself or use a static build http://johnvansickle.com/ffmpeg/
[06:44] <RenatoCRON> what?! why set -timeout make ffmpeg get 1 frame of a MJPEG faster?!
[06:45] <RenatoCRON> please, tests for yourself:
[06:46] <RenatoCRON> (i'm getting the log.. please wait 200 secs or so)
[06:46] <julienb> Hello
[06:46] <julienb> I need to install the last version of ffmpeg but do you have a good tutorial for that
[06:46] <julienb> on debian
[06:47] <RenatoCRON> julienb, I gest the most correct is you compile it from git
[06:47] <RenatoCRON> https://github.com/FFmpeg/FFmpeg/blob/master/INSTALL
[06:48] <relaxed> julienb: https://trac.ffmpeg.org/wiki/UbuntuCompilationGuide
[06:49] <julienb> i m a little lost , i need the version with libx264 and libfaac just to encode mp4 videos
[06:49] <julienb> what the difference between get it from git and the link relaxed gave me?
[06:50] <julienb> i ever checked this link relaxed, but is this the easyer manner to install it?
[06:50] <RenatoCRON> http://pastebin.com/raw.php?i=kksX37dF > my log of "ffmpeg -i MJPEG-STREAM -vframes 1 " vs -timeout 10 time comparation
[06:51] <relaxed> julienb: the wiki compile guide is recommended
[06:52] <julienb> relaxed, the thing i don't understand , is do i need to install all the library before?
[06:53] <julienb> there are first librarys then there are other things like yasm, libmp3lame
[06:53] <relaxed> you need to read the guide, it will walk you through the whole thing.
[06:53] <relaxed> Or you can use my static build: http://johnvansickle.com/ffmpeg/
[06:53] <julienb> yes i installed the static build yesterday but there is not the libfaac encoder
[06:55] <relaxed> so? use ffmpeg's native encoder: ffmpeg -i input -c:a aac -strict experimental ...
[06:56] <relaxed> Why do you think you need libfaac?
[06:56] <julienb> it's the same as the libaac?
[06:57] <relaxed> yes, it's an aac encoder
[06:57] <julienb> i don't know i just need to encode a lot of mp4 using libx264 and libfaac
[06:57] <julienb> and i really don't know what the best if i compile ffmpeg or using the static buildl
[06:57] <relaxed> the static build shoulod be fine
[06:58] <relaxed> should*
[06:58] <julienb> yes?
[06:59] <julienb> in the case i want to compile it i have to install all those libs before ? autoconf automake build-essential libass-dev libgpac-dev \
[06:59] <julienb>   libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libx11-dev \
[06:59] <julienb>   libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev
[06:59] <relaxed> this is all covered in the guide
[07:00] <julienb> i read the guide but do i need all those libs to just using libx264 and libfaac
[07:00] <julienb> that's i don't understand
[07:00] <relaxed> also, if you're going to compile ffmpeg with a nonfree aac encoder, forget libfaac and use libfdk-aac instead
[07:01] <julienb> ok but i have to install all the dependencies before? i can't omit some?
[07:02] <relaxed> you can
[07:03] <julienb> but how i know what dependendices i can omit?
[07:04] <relaxed> you don't, so just follow the guide
[07:05] <julienb> so i install all?
[07:05] <relaxed> it's not going to kill you to have a few extra supported libs installed.
[07:07] <julienb> for example tu use it with libx264 and libfdk-aac i can omit libmp3lame libopus libvpx ?
[07:07] <relaxed> yes
[07:08] <julienb> so if i understand well, the dependencies we install at first are just need to compil ffmeg?
[07:08] <julienb> i can remove them after ffmpeg is installed?
[07:17] <relaxed> no
[07:18] <julienb> i can remove rm -rf ~/ffmpeg_build ~/ffmpeg_sources ?
[07:18] <julienb> and let the dependencies installed?
[07:19] <relaxed> NO, you need to read more.
[07:19] <julienb> i read it all the day but i m confused
[07:20] <relaxed> Follwoing the guide and actually doing it will net you some experience and understanding.
[07:21] <julienb> ok
[07:21] <relaxed> It tells you how to revert all changes, too. So stop with the pointless questions and get to it.
[07:22] <julienb> sorry i never did that before
[07:23] <relaxed> I'm just saying...you never learn anything unless you do it.
[07:23] <julienb> that's 100% right
[07:36] <julienb> ok i just install like the guide but ffmpeg is not in /bin
[07:36] <julienb> i have only vsyasm  x264  yasm  ytasm
[07:37] <relaxed> did you run "make install"?
[07:37] <julienb> yes
[07:39] <relaxed> I'm guessing you didn't follow the directions to the T?
[07:39] <julienb> to the T ?
[07:40] <julienb> what you mean by "to the T" ?
[07:41] <relaxed> Why don't you following the directions exactly until you know what you're doing.
[07:41] <julienb> i made copy past and all goes very fast in console
[07:42] <julienb> ok so now i have to use the reverting changes?
[07:43] <relaxed> no, run "make clean;make distclean" in the ffmpeg source directory
[07:43] <relaxed> then run its ./configure again followed by the rest of the steps
[07:44] <julienb> make: *** No rule to make target `clean'.  Stop.
[07:44] <relaxed> ignore that and proceed
[07:44] <julienb> make: *** No rule to make target `distclean'.  Stop.
[07:45] <julienb> ok i try configure
[07:45] <relaxed> are you in the ffmpeg directory?
[07:45] <julienb> i was in the ffmpeg source to do the 2 commands
[07:45] <julienb> you told me
[07:46] <relaxed> "make clean" does not return "make: *** No rule to make target `clean'.  Stop."
[07:46] <julienb> make: *** No rule to make target `clean'.  Stop.
[07:47] <relaxed> run "pwd"
[07:47] <julienb> make clean returns me make: *** No rule to make target `clean'.  Stop.
[07:47] <julienb> pwd returns /root/ffmpeg_sources
[07:48] <relaxed> which is not the ffmpeg source dir, it's probably /root/ffmpeg_sources/ffmpeg
[07:48] <julienb> ah ok i have to do it in ffmpeg
[07:48] <relaxed> Yes, exactly as it states in the guide
[07:48] <julienb> now i have other errors
[07:49] <julienb> Makefile:2: config.mak: No such file or directory
[07:49] <julienb> Makefile:53: /common.mak: No such file or directory
[07:49] <julienb> Makefile:93: /libavutil/Makefile: No such file or directory
[07:49] <julienb> Makefile:93: /library.mak: No such file or directory
[07:49] <julienb> Makefile:95: /doc/Makefile: No such file or directory
[07:49] <julienb> Makefile:178: /tests/Makefile: No such file or directory
[07:49] <julienb> make: *** No rule to make target `/tests/Makefile'.  Stop.
[07:49] <relaxed> run the ./configure now
[07:49] <julienb> ok with all the dependendies ?
[07:49] <relaxed> did you follow all the previous steps?
[07:49] <julienb> sure
[07:50] <relaxed> then yes
[07:51] <julienb> ERROR: libass not found
[07:51] <relaxed> run it again and omit --enable-libass
[07:52] <julienb> ERROR: libfdk_aac not found
[07:52] <julienb> that's very strange
[07:53] <julienb> i past the install of libfdk-aac before
[07:53] <julienb> why it's not found
[07:54] <relaxed> rm -rf ~/ffmpeg_sources ~/ffmpeg_build
[07:54] <relaxed> start from the top of the guide and follow each step
[07:54] <julienb> ok
[07:55] <julienb> i just omit libsdl1.2-dev libva-dev libvdpau-dev libx11-dev libxext-dev libxfixes-dev because it's for server
[07:55] <julienb> and i don't use x11
[07:56] <relaxed> ok
[08:05] <julienb> relaxed you want me to do line per line or i can copy past the block?
[08:06] <relaxed> line by line
[08:06] <julienb> ok
[08:07] <RenatoCRON> relaxed, do you now how -timeout option react with others?
[08:08] <RenatoCRON> I'm haveing trouble with that now!
[08:09] <RenatoCRON> relaxed, first case: http://pastebin.com/raw.php?i=V5HXZ0Cn
[08:09] <RenatoCRON> a camera that without passing -timeout ,it takes 2min to response.
[08:09] <RenatoCRON> passing -timeout 10, it takes 2 secs !
[08:10] <RenatoCRON> and then, another camera, that , with -timeout, it says very fast, 'invalid data/format', and without, after 4mins it saves the pic fine : http://pastebin.com/raw.php?i=DQeQFrJ2
[08:11] <RenatoCRON> I'm going to compile again, because ffmpeg-HEAD-e2742d6 is 2 month's old, but it's very strange, dont ?
[08:12] <relaxed> RenatoCRON: you're login info is in the output. You should change that now
[08:12] <RenatoCRON> relaxed, isn't mine
[08:12] <relaxed> well, do they want you sharing that info?
[08:13] <RenatoCRON> relaxed, I will change postogasolina.dyndns.org pass, but the anotherone is public
[08:21] <molavy> hi
[08:22] <relaxed> RenatoCRON: try ffmpeg -probesize 5M -analyzeduration 5M ... -i input ..
[08:22] <molavy> i have problem on compile librtmp
[08:22] <molavy> can someone help me":
[08:22] <molavy> http://stackoverflow.com/questions/22653241/comple-librtmp-for-android-error-cannot-find-ldl-collect2-error-ld-returned
[08:24] <RenatoCRON> relaxed, well, it takes 1/4 less
[08:24] <RenatoCRON> with 1MB
[08:24] <relaxed> molavy: do you really need librtmp? doesn't ffmpeg support it natively?
[08:24] <RenatoCRON> still, if I press ctrl+c a few seconds afer "decode frame unused 67 bytes" image is save.
[08:25] <RenatoCRON> i changed to 0.2M and it takes now 19 seconds (still much longer than it need to be, but is getting better)
[08:25] <molavy> relaxed:  i post issue about this problem on Vitamio https://github.com/yixia/VitamioBundle/issues/121
[08:26] <RenatoCRON> relaxed, what should be the side effect about setting both '32' ? i'm sure i'm sending urls with mjpeg streams.
[08:26] <RenatoCRON> with 32, it takes 1.7 seconds (fine, because is away from me)
[08:28] <relaxed> RenatoCRON: man ffmpeg-all|less +/probesize
[08:34] <RenatoCRON> relaxed, well, I'll keep it low and see what I get. to my understanding at present, i don't need to "probe the input", because the first multipart have all information to make 1 frame =D
[08:34] <RenatoCRON> at least in MJPG steams. on RTSP things maybe change
[08:39] <molavy> any idea?
[08:40] <julienb> relax it worked !
[08:41] <relaxed> yay!
[08:41] <julienb> i saw unzip was not installed so it could not unzip libfdk-aac
[08:43] <julienb> relaxed i have a question
[08:43] <molavy> no idea?
[08:43] <julienb> what about those 2 folders ffmpeg_build and ffmpeg_sources
[08:43] <julienb> can i remove them or move them in other folder?
[09:39] <julienb> relaxed?
[09:48] <relaxed> I would keep both where they are.
[09:48] <julienb> yes?
[09:49] <julienb> can i move them to a folder /ffmpeg so it's cleaner in the folder?
[09:49] <relaxed> especially ffmpeg_build, since it contains your libs
[09:52] <relaxed> ffmpeg expects your libs to be in ~/ffmpeg_build/lib, so no
[09:52] <julienb> ah ok
[09:52] <julienb> can i move the /bin?
[09:52] <relaxed> you can repeat the process and use --prefix=/ffmpeg for everything it that's what you want.
[09:53] <relaxed> yes, you can move the binary
[09:53] <julienb> ok
[09:53] <julienb> i tested a mp4 conversion
[09:54] <julienb> it worked but i have 2 stranges messages
[09:54] <julienb> [libfdk_aac @ 0x1b59fc0] Queue input is backward in time
[09:54] <julienb> [mp4 @ 0x1b59140] Non-monotonous DTS in output stream 0:1; previous: 1024, current: 637; changing to 1025. This may result in incorrect timestamps in the output file.
[09:54] <relaxed> Don't paste in the channel
[09:54] <julienb> sorry
[09:56] <relaxed> read https://trac.ffmpeg.org/wiki/x264EncodingGuide if you haven't already
[09:57] <julienb> here is the pastbin http://pastebin.com/PYDW66mg
[09:58] <relaxed> julienb: -threads 4 goes after the input
[09:59] <relaxed> I think that was just an informative message
[09:59] <julienb> oh
[10:00] <relaxed> add "-movflags faststart" after the input too
[10:00] <julienb> relaxed, i just test to put it after the input but i have the same message
[10:01] <relaxed> it moves the mp4 index to the beginning of the file for better streaming
[10:01] <julienb> yes that's replace the old qt fastart
[10:01] <relaxed> right
[10:01] <julienb> but those message are strange?
[10:01] <julienb> about libfdk
[10:01] <relaxed> test the exit status with "echo $?"
[10:02] <relaxed> if it returns zero then everything is fine and dandy
[10:02] <julienb> in order to put my output file i put echo $? ?
[10:03] <relaxed> No, no
[10:03] <relaxed> That was not an error message
[10:04] <julienb> i test ffmpeg echo $?
[10:04] <julienb> ?
[10:05] <relaxed> julienb: That message was just informative, it wasn't an error message.
[10:05] <julienb> ah ok perfect
[10:06] <relaxed> julienb: about "echo $?" --> http://mywiki.wooledge.org/BashGuide/TestsAndConditionals
[10:06] <julienb> i have another question relaxed, why in the old version i was using libfaac and now we use libfdk_aac
[10:07] <relaxed> because libfdk_aac is the better aac encoder
[10:07] <julienb> ah
[10:07] <julienb> perfect then
[10:08] <julienb> can i remove the bin i don't use like ffserver,vsyasm,x264,ytasm?
[10:10] <relaxed> sure
[10:10] <julienb> great
[10:11] <julienb> and i can move for example /bin/ffmpeg and /bin/ffprobe to /usr/sbin ?
[10:12] <julienb> and then delete /bin folder in ~
[10:13] <julienb> i wanted to tell /usr/bin sorry
[10:13] <relaxed> I would use /usr/local/bin
[10:13] <julienb> perfect
[10:13] <julienb> thanks a lot for your help relaxed
[10:14] <relaxed> you're welcome
[10:17] <julienb> relaxed just a question
[10:17] <julienb> if i remove x264 there won't be any pb when i use ffmpeg with libx264 ?
[10:17] <julienb> in /bin
[10:20] <relaxed> correct, ffmpeg uses it's lib
[10:20] <relaxed> its*
[10:20] <julienb> so i can remove ffserver, vayasm x264 it won't interfer ?
[10:21] <relaxed> yes
[10:21] <julienb> perfect
[10:24] <bencc> I'm using this script to build on ubuntu https://github.com/stvs/ffmpeg-static/blob/master/build.sh
[10:24] <bencc> but when trying to record the desktop it says alsa is missing
[10:24] <bencc> http://dpaste.com/1757153/
[10:24] <bencc> how can I add it?
[10:27] <relaxed> bencc: install libasound2-dev
[10:27] <bencc> relaxed: before running make?
[10:27] <relaxed> then run ffmpeg's ./configure to verify alsa was enabled, then rerun that script.
[10:29] <bencc> relaxed: do I need to build again?
[10:30] <relaxed> hmm, the script had --disable-devices
[10:31] <relaxed> see what that does
[10:31] <bencc> ?
[10:31] <bencc> I don't understand
[10:31] <relaxed> that sh script had ffmpeg's ./configure running --disable-devices
[10:32] <relaxed> which might disable alsa support
[10:32] <bencc> ok
[10:32] <bencc> I'll try removing it
[10:33] <relaxed> do you need a static ffmpeg?
[10:34] <bencc> relaxed: I need to record my desktop under ubuntu
[10:34] <bencc> is there a better way than static build?
[10:39] <DrSlony> Hello. What is the best way to automatically deshake videos nowadays? Please only reply if you've done this within the last few months, as I tested all known methods/programs more than a year ago :]
[10:39] <DrSlony> has deshaking between ffmpeg 1.0.8 and 2.2-rc2 changed?
[10:46] <nikitos> Hello! Could somebody help me with libav and vaapi? I have debian wheezy on haswell i7 (4770K) and want to encode h.264 video from raw frames (yuv420) via
[10:46] <nikitos> HD graphics 4600 (intel integrated GPU)
[11:02] <nikitos> Maybe someone could advice me, where to ask my question?
[11:16] <DrSlony> nikitos here, at a differenttime of day
[11:58] <bencc> when trying to record the screen under windows I"m with: ffmpeg -f dshow -i video="screen-capture-recorder" output.flv
[11:59] <bencc> I'm getting: could not enumerate video device
[11:59] <bencc> using recent static windows build
[12:11] <nikitos> DrSlony, what time is the best for my question?
[12:36] <DrSlony> nikitos id say europe-evening time
[12:50] <nikitos> DrSlony thanks
[13:35] <towolf> hullo, can i change the options used for the default 'showspectrum' visual filter used for audio?
[13:35] <towolf> i found how to construct a filter that reads a file with amovie, but im recording form a sound card.
[15:45] <termos> I'm getting the error message more samples than frame size (avcodec_encode_audio2) when encoding AAC audio. I tried creating a FIFO to hold the samples and encode the max number of samples I can. But the buffer fills up, so it only works for about 3 seconds. Any ideas?
[15:51] <t4nk536> Hi, I'm currently working on a project which needs video editing. Here for I'm using ffmpeg, which is working pretty well, except for 1 filter. Every video should get an overlay with the Photoshop multiply blend mode. I'm using the ffmpeg blend mode, but unfortunately the video gets a green overlay
[15:51] <Mavrik> termos, you're not draining the fifo fast enough then.
[15:52] <t4nk536> Here is my script
[15:52] <t4nk536> http://pastebin.com/25GjcvMe
[15:52] <Mavrik> there will be cases where you'll have to encode several frames worth of audio data to keep up
[15:52] <Mavrik> since your frame sizes don't match
[15:53] <t4nk536> and my output http://pastebin.com/ESbCVT6g
[15:53] <t4nk536> if you are interested, this is my screen output http://stackoverflow.com/questions/22631761/multiply-blend-mode-using-ffmpeg-adds-green-overlay
[15:53] <termos> Ahh, so several calls to encode_audio? I guess I need to buffer up the AVPackets from encode_audio as well then?
[15:53] <dhaval2712> So I have this command and with it is the output I'm getting. I'm trying to extract a song out of a .cue file from a FLAC album. COuld someone help me? What am I doing wrong?
[15:53] <dhaval2712> [NULL @ 0x15a2020] sample/frame number mismatch in adjacent frames - This is the only error I seem to get.
[15:54] <dhaval2712> http://paste.fedoraproject.org/88794/95845575/
[15:54] <dhaval2712> klaxa|work: Sorry yeah forgot to post it.
[15:55] <dhaval2712>  What did I miss?
[15:57] <dhaval2712> Hello?
[15:59] <dhaval2712> Hello? Am I lagging out?
[16:02] <sacarasc> Yes.
[16:06] <t4nk536> Hello, can somebody help me out? I'm trying to add an overlay to my video using the blend mode filter. When I use (http://pastebin.com/25GjcvMe) this command, I'm getting a green overlay. (see this screenshots http://stackoverflow.com/questions/22631761/multiply-blend-mode-using-ffmpeg-adds-green-overlay), The ooutput I get is the following: http://pastebin.com/ESbCVT6g
[16:07] <Mavrik> termos, you need to read your FIFO as long as you have enough samples for a full frame in it
[16:08] <Mavrik> termos, then pass all that to encode and get packets out of it
[16:08] <Mavrik> it's... just basic maths
[16:08] <Mavrik> if output frame is smaller than input frame then OF COURSE you'll have eto sometimes create 2 frames to keep up
[16:26] <termos> okey I think I get it now, just need to try it out. Is this the best practice way of doing it? I tried setting output frame_size to the same as the input, but it's being reset (to 1024) when calling avcodec_open2()
[16:27] <Mavrik> termos, if AAC demands certain frame size you can't just change it
[16:51] <esrax> i'm trying to mux a webcam stream and an mp3 file to output to mpeg-ts, is there a way i can tell ffmpeg to not sync them? i just want the mp3 to play at regular speed
[16:52] <termos> Mavrik: thanks for the help, I can't quite get it working yet but will try some more tomorrow.
[17:04] <maujhsn> SASL: added audacity: [PLAIN] maujhsn *
[17:08] <maujhsn> Does anybody know this guy?
[17:08] <maujhsn> https://launchpad.net/~jon-severinsson/+archive/ffmpeg
[17:31] <maujhsn> Excuse me does anybody KNOW JON?
[17:31] <klaxa|work> why exactly is that important?
[17:34] <maujhsn> Just want to know  if the command is sudo apt-get install ffmpeg after the ppa is install?
[17:35] <maujhsn> klaxa|work  Just want to know  if the command is sudo apt-get install ffmpeg after the ppa is install?
[17:35] <klaxa|work> i don't use ubuntu, have you tried reading FAQs and help-pages?
[17:36] <klaxa|work> this seems elaborate enough, maujhsn: http://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them
[17:38] <maujhsn>  klaxa|work The page doesn't specificly give all the information about complete info about his branch of ffmpeg!
[17:38] <maujhsn> https://launchpad.net/~jon-severinsson/+archive/ffmpeg
[17:39] <klaxa|work> i... maybe #ubuntu is more apropriate, i'm sure people will know how to use his ppa properly
[17:41] <maujhsn> klaxa|work I'll just have to wait! I sent him an email!
[19:04] <llogan> towolf: https://ffmpeg.org/ffmpeg-filters.html#showspectrum
[20:21] <esrax> :/
[20:29] <seriously_random> hello, I have problem with "ffmpeg -i video.mp4 -r 20 -ss 233 -t 4 output%03d.png" in ubuntu 12.04
[20:30] <llogan> seriously_random: what is the problem? are you using ffmepg from FFmpeg? Ubuntu uses a fork instead.
[20:30] <seriously_random> "frame=    0 fps=  0 q=0.0 size=      -0kB time=10000000000.00 bitrate=  -0.0kbit" keeps repeating in console until it is killed
[20:30] <seriously_random> sry, thought one line is ok
[20:30] <llogan> you can, of course, trim the repeating lines to a sane number
[20:30] <seriously_random> I guess I have ubuntu fork then
[20:31] <llogan> then you'll either have to get help from the fork or use ffmpeg from FFmpeg
[20:31] <llogan> the static builds are easy. just download, extract, and execute
[20:33] <llogan> relaxed: how often are your builds...uhh..built?
[20:35] <esrax> i'm trying to mux a live stream and an audio file into an mpeg-ts to udp multicast, i find that ffmpeg starts and seems to go through the entire hour long audio file, so i see the time increase all the way, then it goes back to zero and seems to try to play at the rate of the video. watching the stream it's full of audio pauses. how can i just get the audio to play at the video rate?
[20:37] <seriously_random> wow, static build is much nicer and doesn't swap like crazy. Why does Ubuntu 12.04 have it so much worse?
[20:38] <llogan> ask libav
[20:39] <Plorkyeran_> 12.04's version is, unsurprisingly, over two years old
[20:39] <Plorkyeran_> and it was somewhat out of date even when it was first released due to shitty release cycles
[20:46] <JEEB> nah, 12.04 was not out of date really, but everything after that was :P
[20:46] <JEEB> because I think 0.8 was released in the very beginning of 2012 or so
[20:47] <JEEB> by now it's unfunny amounts of old of course, and the fact that debian/ubuntu couldn't finish migration for the next release in time for 13.10 meant that 14.04 is the first ubuntu having an actually newer version at all .-.
[20:48] <Plorkyeran_> and it's still a version behind due to libav 10 missing the cutoff
[20:48] <JEEB> (although even that is not the newest release because of both libav's release process as well as the debian/ubuntu package migration)
[20:49] <JEEB> there's like four or five packages left on the migration to the new APIs >_>
[21:36] <towolf> llogan, [re: your reply @18:04 UTC] now i figured out that ffplay uses an inline function to visualize audio via ffplay -showmode RDFT, which is not implemented by lavfi showspectrum, and there are no options.
[21:46] <bencc> "ffmpeg.exe -i file.mkv -c copy file.ogg" gives me could not write header for output file #0 <incorrect codec parameters ?>: Error number -1 occurred
[21:46] <bencc> without the -c copy it works but I'm loosing quality
[22:39] <JonOomph> Hi! Does anyone know why the GIF encoder requires the rgb24 pixel format, but does not list that pixel format in it's supported pix_fmts array?
[22:54] <bencc> llogan: http://dpaste.com/1758116/
[23:08] <dhaval2712> Hello? So I'm trying to extract audio. http://paste.fedoraproject.org/88794/95845575/ This is the command I'm using. Unfortunately it's extracting the entire file. I understand that -to requires HH:MM:SS format which this isn't but I tried that and it doesn't work.
[23:33] <llogan> bencc: did you try a more recent build?
[23:35] <llogan> bencc: oh, and PCM (or at least that variant) is not allowed in MP4
[23:36] <bencc> llogan: my build is from few months ago. I'll try a more recent build
[23:37] <bencc> I thought ffmpeg will convert from PCM to what MP4 uses
[23:37] <bencc> should I se aac for playing mp4 in browsers?
[23:37] <llogan> that's generally the norm
[23:37] <bencc> ok
[23:38] <llogan> -c:a aac -strict experimental -b:a 96k
[23:39] <llogan> also add "-movflags +faststart"
[23:41] <bencc> thanks. trying
[23:41] <bencc> I'm doing some more tests of other files
[23:43] <llogan> it wouldn't convert because you told it to stream copy.
[23:43] <llogan> (regarding your earlier command)
[23:44] <bencc> and mp4 doesn't support this audio codec
[23:44] <bencc> ok
[23:48] <llogan> i hope you're not encoding the whole file to test since it's 5 hours long
[23:51] <bencc> llogan: I got mp4. thanks
[23:53] <bencc> cropping h.264 is lossless?
[23:58] <llogan> bencc: cropping? as in using the crop video filter? or stream copying and using -ss and -t/-to?
[00:00] --- Thu Mar 27 2014


More information about the Ffmpeg-devel-irc mailing list