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

burek burek021 at gmail.com
Wed Apr 18 02:05:01 CEST 2012


[07:15] <Adys> Trying to make an animated gif out of a few frames of an avi, but the color is all wrong. command line: ffmpeg -i pick.avi -ss 326 -t 2 -pix_fmt rgb24 pick.gif
[07:18] <Adys> http://dedimine.com/public/pick.gif this is the end result btw
[07:54] <relaxed> Adys: convert is better for gifs
[07:54] <relaxed> it's part of Imagemagick
[07:56] <Adys> relaxed: yeah i tried it but all it seems to do is call ffmpeg
[07:56] <Adys> *shrugs*
[07:56] <Adys> anyway did it with some online service so no big deal
[07:57] <taqattack> Is there way to capture directshow input and output as sequency of jpg?
[07:57] <taqattack> sequence*
[07:58] <rr> What does the bug tracker mean with backtrace? How to get it?
[08:00] <relaxed> rr: http://ffmpeg.org/bugreports.html
[08:03] <rr> relaxed, yeah, i red that, but don't understand if its the thing with gdb or if you can use only ffmpeg with loglevel 99 and ffmpeg_g
[08:09] <igmrlm> g'day, does libvo_aacenc support 5.1 audio?
[08:15] <igmrlm> http://pastebin.com/PLJV5kWP
[09:03] <_genuser_> hello people.
[09:03] <_genuser_> ubuntu version of ffmpeg says it's not supported anymore.
[09:03] <_genuser_> This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
[09:07] <TimNich> Ubuntu version of ffmpeg is the one shipped from the Libav fork, who don't support it, they use avconv instead. However ffmpeg is still developed by the rest of the original team, and others..
[09:09] <_genuser_> cool. :) as long as ffmpeg works and does what it does.
[09:09] <_genuser_> thx
[09:09] <_genuser_> for the info
[09:09] <TimNich> the best ffmpeg is usually git master. distro snapshots are usually woefully out of date as it moves that fast
[09:10] <_genuser_> well, I use a win version also. so whenever someone cross comiles that one...
[09:11] <_genuser_> on linux I mainly use gentoo but on ubuntu it spat out the warning and I was curious if ffmpeg is allo foa sudden moving to another app.
[09:11] <TimNich> the Zerano win builds are usually prety up to date, but miss some of the useful things like faac
[09:12] <_genuser_> this one I use decodes aac but doesn't encode. whihc is good enough. I use neroaac for encoding.
[09:12] <_genuser_> then ffmpeg for muxing.
[09:15] <_genuser_> this one was shipped with automen.
[09:19] <igmrlm> so any ideas whether ffmpeg supports 5.1 channel aac in mp4?
[09:21] <TimNich> supports in what way?
[09:21] <rainmaker1> heh which one we should use now ffmpeg or avconv? I have read http://libav.org/index.html#fftools_rename
[09:21] <rainmaker1> and it's still not clear, is ffmpeg developed anymore or not? (ie only fix)
[09:21] <igmrlm> i cant seem to make it happen :p
[09:22] <igmrlm> http://pastebin.com/PLJV5kWP
[09:22] <ubitux> rainmaker1: ffmpeg is still maintained, libav is a fork, ffmpeg maintain the fftools (
[09:23] <ubitux> http://ffmpeg.org)
[09:23] <TimNich> rainmaker1:  that link is old. ffmpeg has had many API tweaks to make it more consistent, and yes it is developed, not just fixed
[09:23] <rainmaker1> ubitux:  ffmpeg will be kept in its current state for some time, so no scripts or frontends using it will break. However it will not be developed further.
[09:24] <rainmaker1> ah
[09:24] <rainmaker1> thank you guys
[09:24] <TimNich> morning ubitux
[09:24] <rainmaker1> now it's all clear :)
[09:24] <ubitux> rainmaker1: this is libav text; ffmpeg isn't kept in its current state
[09:25] <ubitux> and btw, libav already droped ffmpeg
[09:25] <ubitux> hey TimNich :)
[09:25] <ubitux> TimNich: care to check the mov timecode patch?
[09:25] <rainmaker1> tnx :)
[09:25] <ubitux> so ffmpeg just does everything avconv does
[09:26] <ubitux> plus a few more things
[09:26] <TimNich> ubitux:  will do when I've finished playing catch up
[09:26] <ubitux> TimNich: if it requires a rebase ask me, i'll do it asap
[09:27] <igmrlm> if i change -ac to 2 instead of 6 it works fine
[09:30] <igmrlm> says [libvo_aacenc @ 03A148C0] Unable to set encoding parameters
[09:30] <igmrlm> :c
[09:34] <TimNich> probably the mapping as the input is 5.1 and the output 6, but its not my area sorry
[09:34] <igmrlm> ya, i tried -ac 5.1 but then it says "Expected int64 for ac but found 5.1"
[09:34] <igmrlm> hahah
[10:10] <igmrlm> i found an existing h.264 mp4 with 5.1 channel aac audio, apparently was made with lavf54.3.100
[11:08] <haakon_> Should I compile with libfaac or libfaacplus?
[11:08] <haakon_> Oh, my bad, I mis-read
[11:09] <JEEB> depends on if you want HE-AAC or AAC, also it's libaacplus I think
[11:09] <haakon_> JEEB: You're absolutely correct
[11:09] <JEEB> libfaac = normal AAC, libaacplus = HE-AAC
[11:09] <JEEB> the first is for higher rates, the latter for lower rates
[11:11] <haakon_> Noted, thanks
[11:12] <JEEB> also, if you are aiming for some hardware, depending on the device it might or might not support HE-AAC
[11:12] <JEEB> f.ex. the PSP can only decode HE-AAC as normal AAC
[11:13] <haakon_> Aha, so, theorically, playback "should" function, only with a non-optimal decoder?
[11:13] <haakon_> For legacy devices
[11:13] <JEEB> at least the PSP does it, but you pretty much lose quality with that :V
[11:13] <haakon_> For "ERROR: libvpx decoder version must be >=0.9.1", I should --disable-decoder=libvpx?
[11:14] <JEEB> I wonder why you enabled that decoder to begin with o_O
[11:14] <JEEB> ffmpeg has a working libavcodec vp8 decoder
[11:14] <JEEB> which is faster than libvpx's as well
[11:15] <haakon_> I see. I'm not as updated on the progress, it seems. Thank you, I'll drop libvpx, then.
[11:24] <haakon_> JEEB: Does FFmpeg currently have a native VP8 encoder?
[11:29] <JEEB> haakon_, yes
[11:29] <JEEB> <JEEB> ffmpeg has a working libavcodec vp8 decoder
[11:29] <JEEB> <JEEB> which is faster than libvpx's as well
[11:29] <JEEB> D_S and BBB wrote it
[11:51] <solsTiCe> hi. using ffmpeg 0.8.1 I am trying to use -v swtich but -v 0 or -v 9 gives the same verbose output. how to get rid of the output ? which number to use ?
[11:52] <solsTiCe> by trial and error it seems the number must be between -10 and 10 ? but -10 is almost the same as 10 !
[12:06] <inah> Hello there, i have a problem with ffmpeg, whenever i try to convert video file i get the first 10 seconds blank ? any one can help
[13:09] <dalfz> can i perform motion stabilization with ffmpeg? if not, what free tool can i use?
[13:49] <bigfish> Hi, i want use ffmpeg to do the work of fmle. In fmle i have to set two parameters: url and stream name, how to set that in ffmpeg
[13:59] <Guest98239> Hi, how to push a stream to flash media server with ffmpeg?
[14:11] <ajeesh> http://pastebin.com/PMc87j8q
[14:11] <ajeesh> iam getting :   WARNING: library configuration mismatch
[14:41] <haakon_> I'm trying to create a stand alone statically linked binary. Almost there, but when running ffmpeg I get this error message: "ffmpeg: error while loading shared libraries: libva.so.1: cannot open shared object file: No such file or directory" . Would appreciate if anyone could point me in the right direction regarding configuration options/flags.
[15:39] <ajeesh> WARNING: library configuration mismatch
[15:39] <ajeesh> tried reinstalling
[15:39] <sacarasc> Have you tried not using a distro built package?
[15:45] <ajeesh> snv package
[15:45] <ajeesh> from svn
[15:46] <sacarasc> You built it yourself?
[15:47] <sacarasc> And removed completely any packages you had before?
[16:14] <ajeesh> nope
[16:14] <sacarasc> Some prebuilt packages have that, it's not an error, just a warning and you can usually live with it.
[16:14] <ajeesh> i have tried make clean all
[16:15] <ajeesh> ohh ok
[16:15] <ajeesh> so for removing this warning may i need to do a reinstallation ?
[16:15] <sacarasc> Yes.
[16:16] <ajeesh> :(
[16:16] <sacarasc> Moral of the story, don't use Ubuntu.
[16:16] <ajeesh> mine is centos
[16:16] <sacarasc> Even worse!
[16:16] <ajeesh> hehe
[16:17] <sacarasc> Ubuntu is only about a year out of date...
[16:18] <ajeesh> so which one is more good for ffmpeg
[16:19] <sacarasc> Any up to date distro you can easily compile ffmpeg on yourself.
[17:09] <quabol> How do I convert whatever videofiles to webm (vp8/vorbis) in 1mb per 1minute? Constant bitrate isn't really constant?
[18:52] <fling> hello
[18:53] <fling> my task is to capture from sdi card on the first box, stream to the second box and output video to second sdi card
[18:53] <fling> input_video -> sdi -> box1 -> box2 -> sdi -> output_video
[18:53] <fling> how to capture from sdi? how to output video to sdi?
[18:53] <fling> what devices are better supported?
[19:00] <elinenbe> hi, is anyone here?
[19:00] <fling> elinenbe: me
[19:00] <fling> hello
[19:01] <elinenbe> Hey, I've got a quick question
[19:01] <fling> I also have a quick answer
[19:01] <elinenbe> is it possible to pipe to a video filter?
[19:01] <elinenbe> eg, this works: ffmpeg -y -f lavfi -i amovie="elvisradio.flv",silencedetect=n=-23dB:d=1 -f null -
[19:02] <elinenbe> but this does not work : rtmpdump ... blah... blah ... | ffmpeg -y -f lavfi -i amovie=pipe:0,silencedetect=n=-23dB:d=1 -f null -
[19:03] <elinenbe> and I've been unable to use librtmp with ffmpeg since it has a handshake error.
[19:03] <elinenbe> even though rtmpdump works stand-alone
[19:03] <fling> elinenbe: http://ffmpeg.org/ffmpeg.html#pipe
[19:05] <elinenbe> fling: no dice no matter what I try.
[19:05] <elinenbe> [amovie @ 0x32590c0] Failed to avformat_open_input 'pipe'
[19:05] <elinenbe> [lavfi @ 0x32583e0] Error initializing filter 'amovie' with args 'pipe:'
[19:05] <elinenbe> amovie=pipe:,silencedetect=n=-23dB:d=1: No such file or directory
[19:36] <fling> do I need this? > http://www.mltframework.org/twiki/bin/view/MLT/Features
[19:36] <fling> It says can capture from SDI :3
[20:57] <Radex> hi, i'm migrating ffmpeg from 0.7 to 0.10 and have problem with me_method preset - it's deprecated in new one branch?
[21:24] <tyho> ffmpeg: relocation error: ffmpeg10: symbol avformat_alloc_output_context2, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference
[21:24] <tyho> problem?
[21:55] <taqattack> Hello everyone.
[21:55] <taqattack>  I'm getting huge memory usage when I'm using Directshow filter as video input. Any ideas why that might be the case?
[21:56] <burek> can you please use pastebin.com, to show your command line and its output?
[21:57] <taqattack> Certainly. Let me try to recreate the problem
[21:59] <elinenbe> is there anyway to use the silencedetect filter on a live stream?
[21:59] <elinenbe> I can't figure it out.
[22:01] <elinenbe> This works, but only for a local file  : ffmpeg -y -f lavfi -i amovie="my_local_file.flv",silencedetect=n=-23dB:d=1 -f null -
[22:03] <taqattack> Okay. Just tried now. Memory was hovering around 1.8GB. http://pastebin.com/JVBVY2WM
[22:04] <burek> elinenbe, try removing quotes
[22:05] <burek> also, you can use that audio filter like
[22:05] <burek> ffmpeg -i http://... -vf 'silencedetect=...' -vcodec ...
[22:05] <burek> or -af
[22:05] <elinenbe> burek, I've tried that...
[22:05] <elinenbe> let me try again.
[22:05] <elinenbe> "-af" unrecognized option
[22:06] <burek> taqattack, it seems you hit a bug with rtmp
[22:06] <burek> can you report that bug to the ffmpeg's trac?
[22:06] <burek> elinenbe, then -vf
[22:06] <elinenbe> burek: ffmpeg -i my_local_file.flv -vf "silencedetect=n=-3db:d=1" -f null -
[22:06] <elinenbe> that doesn't do it.
[22:06] <elinenbe> gives me nothing back.
[22:06] <elinenbe> just pipes the file to null.
[22:07] <burek> then it's a bug I think
[22:08] <burek> filters are usually used like that
[22:08] <elinenbe> Yeah, I'm not sure.
[22:08] <burek> then use lavfi and read this http://ffmpeg.org/libavfilter.html
[22:09] <elinenbe> burek: I've read through that whole page.  It works, but not if it is a streaming file.
[22:09] <taqattack> Hmm how do I do that?
[22:09] <elinenbe> I can't figure out how to pipe into amovie.
[22:09] <burek> elinenbe, try joining #libav and ask there too?
[22:10] <burek> taqattack
[22:10] <elinenbe> Thanks!
[22:10] <burek> :beer: :)
[22:11] <taqattack> Ok. Btw is the bug related to native RTMP in FFmpeg or Librtmp related?
[22:12] <elinenbe> taqattack: I'm attempting to use librtmp since it's an encoded files.
[22:12] <burek> [rtmp @ 016a8c40] Handshaking...
[22:12] <burek> I guess native rtmp
[22:12] <burek> otherwise it would say librtmp
[22:13] <elinenbe> oh, not a question for me... nevermind
[22:16] <tyho> http://pastebin.com/BABYqt97 I try to screenshot a file, but it just maxes out my processor and does nothing, i stopped it after a while with 'q'
[22:20] <burek> tyho, try to move -vframes 1 after -i
[22:21] <burek> before -y
[22:21] <tyho> k
[22:21] <tyho> still just increasing the drop
[22:22] <tyho> burek, does not make a differencce
[22:23] <burek> try moving it after -f image2
[22:23] <tyho> burek, nope
[22:24] <burek> http://ffmpeg.gusari.org/viewtopic.php?f=25&t=35
[22:25] <burek> instead of -r 1 you should put -vframes 1
[22:25] <burek> and that should work
[22:33] <tyho> burek, i think it is decoding the whole file and just outputting the selected frames, and dropping the rest
[22:33] <tyho> becasue it is very slpw
[22:33] <tyho> *slow
[22:34] <tyho> and gets slower the further away the screenshot is from the beginning
[22:37] <burek> tyho, I told you to modify that example
[22:37] <burek> and just replace with -vframes 1
[22:37] <tyho> i did
[22:37] <burek> if that doesn't work, then it's a bug
[22:37] <burek> update your ffmpeg  to the latest git
[22:37] <burek> if it still persists, then you might report it as a bug if you like
[22:37] <tyho> oh wait
[22:38] <tyho> i just modified it
[22:38] <tyho> i was using the example before
[22:38] <tyho> but now it only takes the frist frame
[22:38] <tyho> do i do -ss?
[22:39] <tyho> ok
[22:39] <burek> well yes
[22:39] <tyho> so it decodes all the frames
[22:39] <burek> no
[22:39] <tyho> and only selects the ones i need
[22:39] <burek> -vframes just takes out 1 frame
[22:39] <tyho> but it is too slow
[22:39] <burek> and saves it as an image
[22:40] <burek> -ss does seek the file
[22:40] <burek> to the time you wish
[22:40] <burek> if you put it before -i then it will seek the file using metadata
[22:40] <burek> (key frames)
[22:40] <burek> if you put it after -i it will first decode input stream and then seek (more accurate)
[22:40] <tyho> this is my command "ffmpeg10 -ss 10 -i /media/sdd1/home/tyho/private/transmission/data/We.Were.Soldiers.2002.UK.BluRay.1080p.DTSHD-MA.h264.Remux-decibeL/We.Were.Soldiers.2002.UK.BluRay.1080p.DTSHD-MA.h264.Remux-decibeL.mkv -f image2 -vframes 1 screen%d.png"
[22:40] <tyho> it runs quite fast
[22:41] <tyho> if i change -ss to 1000 it is very slow
[22:41] <tyho> so does not seem to seek
[22:41] <burek> try with 20, 30, 100, 150, 400, 700
[22:42] <tyho> doing 100 now
[22:42] <tyho> dropping a load of frames
[22:42] <tyho> 2360 frames dropped
[22:42] <tyho> and it finished
[22:42] <tyho> btw i am doing this on a mobo with dual socket top xenons
[22:42] <tyho> so it will be fast
[22:43] <tyho> frame=    1 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/s dup=91 drop=2360
[22:43] <tyho> video:3117kB audio:0kB global headers:0kB muxing overhead -100.000000%
[22:43] <tyho> final line ^
[22:47] <tyho> burek, ^
[22:48] <burek> that's fine
[22:48] <burek> your cpu is slow
[22:49] <burek> wait it finished in 4 seconds?
[22:49] <burek> what's the problem then?
[22:49] <tyho> if i wanted to take a screenshot at the end of the video
[22:49] <tyho> it would have to decode the whole video
[22:49] <tyho> so it is not seeking
[22:50] <burek> it's not decoding
[22:50] <tyho> http://ffmpeg.org/trac/ffmpeg/ticket/389
[22:50] <burek> it's skiping frames using keyframes
[22:50] <tyho> mabey something to do witht hat
[22:50] <burek> how much time did it take
[22:50] <burek> for -ss 1000
[22:50] <tyho> ill time it
[22:51] <tyho> may be a while
[22:51] <tyho> it is 35GB
[22:54] <tyho> 3 minuites
[22:54] <tyho> burek,
[22:54] <tyho> burek ^
[22:54] <burek> so, it's seeking that slow
[22:54] <burek> try moving -ss after -i ...
[22:54] <tyho> yeah
[22:54] <burek> and time that
[22:55] <tyho> burek, the drop=x part of the last bit has gone
[22:56] <burek> just time it
[22:56] <tyho> it is being timed
[22:57] <tyho> 2:24
[22:57] <tyho> around the same
[22:57] <burek> well, I guess your video is damaged
[22:58] <burek> or your cpu is slow
[22:58] <burek> or there is a bug :)
[22:58] <burek> seeking should be a lot faster then decoding
[22:58] <burek> so, one of those is probably true :)
[22:59] <tyho> tried another video
[23:00] <tyho> instant seek
[23:00] <tyho> is there a way i can repair it?
[23:01] <burek> how did you create it?
[23:02] <tyho> the video stream was created by paramount pictures
[23:02] <tyho> it is not trancoded
[23:03] <burek> I don't know :) I'm not an expert :)
[23:05] <taqattack> Okay I just tried to run FFmpeg with a different build using librtmp. It's still giving me the huge memory error
[23:05] <taqattack> http://pastebin.com/SgpttCAZ
[23:05] <taqattack> That's the output
[23:06] <taqattack> So I'm pretty sure its not the RTMP or Librtmp that's causing this.
[00:00] --- Wed Apr 18 2012


More information about the Ffmpeg-devel-irc mailing list