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

burek burek021 at gmail.com
Fri Nov 11 02:05:01 CET 2011


[00:34] <bgmarete_> Hello. I want to capture a particular raw pcm format and just write it to a file as is: `ffmpeg -acodec pcm_f32be -ar 48000 -ac 2 -f alsa -i plughw:0,0 -acodec copy -y /tmp/test.raw'  But I get the error: `Unable to find a suitable output format for '/tmp/test.raw'' Any ideas please?
[00:34] <sacarasc> Add -f raw
[00:34] <bgmarete_> sacarasc: Thanks.
[00:34] <Freakshow> anyone recently tried to use ffmpeg => rtmp to wowza?
[00:35] <Freakshow> continuously coming up with this error
[00:35] <Freakshow> 2011-11-09 06:45:43 ERROR server comment - Zero sized function (client:2123036580:FMLE/3.0 (compatible; Lavf52.64.2)): type:20 size:0:
[00:35] <Freakshow> on the wowza side...
[00:35] <Freakshow> on every version of ffmpeg from 0.6.3 up to 0.8.2
[00:36] <Freakshow> I've got a tcpdump of this occurring, still digging through it; was curious if there was anything 'anyone' could suggest that I look for
[00:36] <bgmarete_> sacarasc: Now I get `Requested output format 'raw' is not a suitable output format
[00:36] <bgmarete_> /tmp/test.raw: Invalid argument' with `-f raw'.
[00:37] <relaxed> bgmarete_: you probably want rawvideo
[00:38] <bgmarete_> relaxed: Ah, I see. Let me try that (Did not imagine it could apply to audio :) )
[00:39] <relaxed> oh, look at `ffmpeg -formats | less` for a complete list.
[00:39] <bgmarete_> relaxed: Ah, I see the correct format now. Thanks!
[01:07] <pasteeater> Freakshow: did you try Git head?
[01:58] <Freakshow> pasteeater: no I have not tried from head yet
[02:03] <Freakshow> judging by these dumps it would seem that the rtmp video header is getting munged
[02:04] <Freakshow> pasteeater: do you think that updating to head will have some positive effect?
[02:12] <burek> hm, i need some suggestions
[02:12] <burek> i have a flv file that ffmpeg cannot quite read in whole
[02:12] <burek> because of
[02:12] <burek> [flv @ 0x17b2b00] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 17303808 >= 3668967
[02:12] <burek> and i just tried a simple remux, not even remux
[02:13] <burek> ffmpeg -i original.flv -acodec copy -vcodec copy x.flv
[02:13] <burek> so it cannot read it for some reason, so i figured i could decompress entire thing and recompress it again to become valid
[02:13] <burek> ffmpeg -i original.flv -vcodec rawvideo -acodec pcm_s16le 1.mkv   <- that works
[02:14] <burek> ffmpeg -i 1.mkv -vcodec libx264 -crf 20 -acodec libaacplus -ab 32k -ac 2 -ar 44100 1.flv   <- this works also
[06:42] <Freakshow> pasteeater: you around?
[06:43] <Freakshow> just wanted to circle back on my previous inquiry... do you think that using head will help remedy the issue?
[08:32] <setkeh> hey guys im havin some issues with ffmpg streaming to justin.tv http://pastebin.com/RwfYgs7r i have sound but no video and no errors afaik
[08:33] <setkeh> http://justin.tv/setkeh
[08:38] <setkeh> any idea's
[08:38] <systemchip> not a clue
[08:39] <setkeh> oh i forgot to mention im running archlinux with dual head setup using propriotry nvidia drivers 
[08:40] <setkeh> but im only trying to stream my 1280x1024 screen
[10:29] <fj_> Hi everyone : )
[14:32] <mattiasr> howdy
[14:33] <mattiasr> I'm trying to create a clip out of one image, that will have the same settings as: http://pastebin.com/Eya9mV9x could anyone help me?
[14:55] <burek> ffmpeg -i image.png -loop_input -r 30 -vcodec libx264 -crf 20 -threads 0 -t <duration_in_seconds> out.mp4
[14:55] <burek> http://ffmpeg.org/ffmpeg.html
[15:00] <mattiasr> burek, ty ill try that
[15:04] <mattiasr> didn't work though, http://pastebin.com/evdLu1L2
[15:05] <mattiasr> added -vpre default and it created something unplayable
[15:33] <mikey_> hey, is there a way add an image to end of avi file ?
[16:17] <konr> I'm trying to create a movie with images with  'ffmpeg -i /tmp/parte-%02d.pbm -r 1000 -b 1800 comeco.mp4' but the first image is only briefly shown. Any idea why?
[16:20] <konr> erhm
[16:26] <konr> apparently I was using the wrong option, but how can I make each image last for N miliseconds in the video?
[17:39] <relaxed> konr: put the correct fps before the input
[17:40] <konr> relaxed: -r 1 actually displays only the first image
[17:42] <relaxed> pastebin your command and output
[17:44] <burek> mattiasr your ffmpeg is old
[17:45] <burek> konr -r 1000 means that the resulting video will display 1000 frames per second
[17:46] <burek> that only makes sense if you use hi-speed camera, for slow motions and stuff
[17:46] <burek> 25/30 fps is enough for regular videos
[17:46] <konr> burek: yes, I misread the example
[17:46] <konr> I just want a picture for second
[17:46] <konr> here's what I tried: http://132f5e4acc38038e.paste.se/
[17:47] <konr> per second, I guess
[17:47] <burek> yes
[17:47] <burek> also try
[17:47] <burek> putting -r before -i
[17:47] <burek> # The primary network interface
[17:47] <burek> sorry, mistake
[17:48] <burek> ffmpeg -r 1 -i /tmp/parte-%02d.pbm parte.mp4
[17:48] <burek> try that
[17:48] <konr> yes, that did work! Thanks!
[17:48] <burek> :beer: :)
[17:48] <burek> just to clarify
[17:49] <burek> -r before -i makes ffmpeg read that input at that given rate
[17:49] <burek> and if you put -r after -i
[17:49] <burek> it makes ffmpeg output the stream at that rate
[17:49] <burek> (meaning it can ignore other input frames in that period if they are not needed)
[17:49] <konr> hmmm
[17:50] <burek> i hope you get the point
[17:50] <konr> yes, thanks!
[17:50] <relaxed> output will be 25 fps with the 1 frame being duplicated
[17:51] <burek> yes
[17:51] <burek> with -r before -i
[17:51] <burek> anyway, glad it works :)
[17:51] <relaxed> if you scroll up that's exactly what I told him :)
[17:51] Action: burek sets mode: +beer relaxed
[17:51] <burek> :)
[17:54] <konr> another question: how can I merge two videos? Isn't it just ffmpeg -i one.mp4 -i two.mp4 final.mp4 ?
[17:54] <burek> no
[17:54] <burek> that makes two inputs with output that has 2 paralel videos
[17:54] <burek> like paralel audio channels (synchronization of the movie to different languages)
[17:55] <konr> hmm
[17:55] <burek> what you want is probably concat filter
[17:55] <burek> but it works only with mpeg video
[17:55] <burek> so i would suggest you use some video editting tool for that
[17:55] <burek> doom9.org
[18:10] <richcollins> where can I find a list of acodec values?
[18:12] <alyawn> richcollins: ffmpeg -codecs
[18:13] <alyawn> look for A in the third column
[18:15] <richcollins_> alyawn: Thanks!
[18:15] <alyawn> richcollins_: np
[18:19] <richcollins> alyawn: sry disc'd
[20:00] <magic_1> hi all, hoping some one can help, after doing a update (updater came up and said there were some updates available, which i then selected) im having issues with video conversion, i get the following error when running ffmpeg(my base OS is Ubuntu Linux 10.04.2)
[20:00] <magic_1> ffmpeg
[20:00] <magic_1> FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
[20:00] <magic_1>   built on Jun 17 2011 00:17:40 with gcc 4.4.3
[20:00] <magic_1>   configuration: --prefix=/usr --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libx264 --enable-libtheora --enable-libdc1394 --enable-nonfree --disable-stripping --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger 
[20:00] <magic_1> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libtheora
[20:00] <magic_1> ffmpeg: relocation error: ffmpeg: symbol postproc_configuration, version LIBPOSTPROC_51 not defined in file libpostproc.so.51 with link time reference
[20:00] <magic_1> apologies for the paste
[20:01] <magic_1> hoping i dont have to do a re-install
[20:45] <pasteeater> magic_1: ubuntuforums.org/showthread.php?t=786095
[21:59] <fritsch> hi, i have a very speficic question concerning implementation of direct xvba support in ffmpeg
[21:59] <fritsch> i have done a lot but can only get a "real green" screen in my output
[22:00] <fritsch> does anybody know - which "button" :-) i could press
[22:00] <fritsch> https://github.com/fritsch/xbmc/blob/28cbc48a4e8df0a380dc08f10f094f9347326318/lib/ffmpeg/libavcodec/xvba_vc1.c
[22:00] <fritsch> this is our current point of work
[22:00] <fritsch> i think i got something wrong, when setting the attributes, but cannot find out which one
[22:01] <fritsch> i looked into dxva, vdpau and vaapi stuff - which pretty do same things
[22:08] <fritsch> any help is really appreciated
[22:10] <kanzure> http://diyhpl.us/~bryan/irc/ffmpeg.out.txt how can i convert a video into this exact format?
[22:10] <kanzure> i've been trying: ffmpeg06 -i $input_file$ -vcodec x264 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -bf 0 -flags2 +mixed_refs -coder 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -acodec libfaac -vb $video_bitrate$k -ab $audio_bitrate$k -ac 1 -r 13 -y $output_file$
[22:10] <kanzure> oops, -vcodec libx264
[22:12] <cbsrobot> fritsch: in pic_descriptor->width_in_mb                             = avctx->coded_width;
[22:12] <cbsrobot> fritsch: isn't it: pic_descriptor->width_in_mb                             = s->avctx->coded_width;
[22:12] <cbsrobot> ?
[22:12] <cbsrobot> same with height
[22:14] <fritsch> cbsrobot: thx for your suggestion, will try it. i am very new to this - what is the difference? s is from the mpeg context and v vrom vc1?
[22:14] <cbsrobot> fritsch: and join #ffmpeg-devel
[22:15] <fritsch> ah okay, thx
[22:34] <kanzure> what does "480x360 [PAR 1:1 DAR 4:3]" mean?
[22:34] <kanzure> i have two videos, one where [PAR 1:1 DAR 4:3] is present
[22:34] <kanzure> what encoding parameters set this?
[22:36] <cbsrobot> par = pixel aspect ratio
[22:36] <cbsrobot> dar = display ^ ^ 
[22:36] <cbsrobot> to set it: -vf setdar=16:9
[22:39] <kanzure> compatible_brands: isomavc1 <-- this one plays on lg optimus v
[22:39] <kanzure> compatible_brands: isomiso2avc1mp41 <-- does not
[22:39] <kanzure> this second one is encoded by Lavf53.0.0, perhaps that's problematic (can't figure out what encoded the first one)
[22:55] <pasteeater> kanzure: you should be using the x264 encoding presets, not manually declaring each and every option
[23:00] <pasteeater> an approximation could be
[23:00] <pasteeater> ffmpeg -i input -vcodec libx264 -preset medium -vprofile baseline -crf 24 -s 480x360 -acodec aac -strict experimental -ar 44100 -ac 1 output.mp4
[23:11] <kanzure> pasteeater: i've been having problems with -vprofile baseline :/
[23:11] <kanzure> but thanks, i'll try this
[23:11] <kanzure> [NULL @ 0x8565a00] Unable to parse option value "baseline"
[23:11] <kanzure> [NULL @ 0x8565a00] [Eval @ 0xffb00a9c] Undefined constant or missing '(' in 'baseline'
[23:23] <cbsrobot> kanzure: update ffmpeg
[23:40] <systemchip> how about yum update ffmpeg
[00:00] --- Fri Nov 11 2011


More information about the Ffmpeg-devel-irc mailing list