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

burek burek021 at gmail.com
Mon Oct 1 02:05:01 CEST 2012


[00:02] <tapout> is there a way to batch files up?   ffmpeg -i * -vcodec libx264 *.avi ?  and it will output the same filename with *.avi
[00:15] <ubitux> for f in *.wmv; do ffmpeg -i $f -c:v libx264 ${f%.wmv}.mp4; done
[00:15] <ubitux> or something like this
[00:15] <ubitux> there is no builtin for what you are looking for
[02:13] <AR__> why is there no -probesize argument on my windows install of ffplay?
[02:13] <AR__> wtf
[03:03] <Lns> How do you find out the pxl_fmt of a certain usb camera? Is there a way to probe it?
[03:07] <creep> Lns<< v4l2-ctl --all
[03:20] <Lns> ty creep
[03:53] <jankarlitos> Hello, in order to synchronize my live stream, should i map audio to video or video to audio?
[04:09] <hotwings> i compile ffmpeg git on debian testing linux.. anyone know how to make it compile using ccache?
[06:42] <grepper> hotwings: put /usr/lib/ccache/ at the front of your PATH
[06:56] <hotwings> grepper - thanks for the help
[07:09] <grepper> np
[08:36] <UnderSampled> Hello?
[08:36] <UnderSampled> what is RTV1?
[08:38] <UnderSampled> anyway, I have a video that I want to resize and then upload to youtube
[08:40] <UnderSampled> it's currently 2440x540 mjpeg, but I want it to be 1920x360 before I upload
[08:41] <UnderSampled> when I simply ran -s 1920x360, it recompressed it with a really low quality mpeg4
[08:41] <UnderSampled> what settings should I use for uploading to youtube?
[08:43] <UnderSampled> eh?
[09:26] <perrth> I tried ffmpeg 1.0 with x264-snapshot-20120929-2245-stable and encoding become very slow, anyone experience this? version 0.11.1 works fine
[09:32] <UnderSampled> is anyone around?
[12:05] <Simex> Hello there :)
[12:05] <Simex> Does FFmpeg support MPI?
[12:05] <Simex> So I can share the load between multiple machines?
[12:12] <Tjoppen> no
[12:13] <Tjoppen> just run multiple ffmpegs
[12:14] <Simex> damn
[16:00] <tcurdt> Hey folks, I am trying "ffmpeg -i GOPR%04d.JPG -b 3000 -r 12 video.mp4" but I get a "No such file or dir" & I presume because the filename pattern does not start at 1 (or 0?) is there a way to specify the sequence start?
[16:04] <tcurdt> Found in the docs the blobbing pattern support "ffmpeg -f image2 -pattern_type glob -i 'GOPR*.JPG'  -b 3000 -r 12 video.mp4"
[16:05] <tcurdt> but seems my ffmpeg (that I just compiled with brew) doesn't know about it :-( ffmpeg version 0.11.2
[16:05] <ubitux> you need -f image2 before -i
[16:05] <ubitux> otherwise the globbing won't work
[16:05] <ubitux> btw, we are in ffmpeg 1.0
[16:07] <tcurdt> @ubitux: urgh & I am shocked that the homebrew version is that behind & let me do some digging
[16:08] <tcurdt> @ubitux: is -pattern_type glob 1.0 only?
[16:08] <ubitux> you don't need that option for your need afaict
[16:10] <tcurdt> hm & but with "ffmpeg -f image2 -i GOPR%04d.JPG  -b 3000 -r 12 video.mp4" I am still getting the "no such file" while clearly the first file in the dir is GOPR0685.JPG
[16:11] <ubitux> ah, strange
[16:11] <ubitux> well then try to upgrade yeah
[16:14] <tcurdt> grrr & waiting for pull request https://github.com/mxcl/homebrew/pull/15187
[16:14] <ubitux> :)
[16:19] <tcurdt> locally hacked the formula & now I feel dirty
[16:25] <tcurdt> @ubitux: yay & 1.0 seems to work fine with the globbing
[16:26] <tcurdt> thx!
[16:27] <ubitux> np :)
[16:30] <tcurdt> @ubitux: maybe one more question & it prints "frame=  361 fps=1.3 q=69.0 size=    1702kB time=00:00:26.00 bitrate= 536.3kbits/s dup=0 drop=388"
[16:30] <tcurdt> what is the drop?
[16:30] <tcurdt> is that OK?
[16:32] <ubitux> shoudn't matter with still images input, but i may be wrong
[16:32] <ubitux> you'll see if the output is correct
[16:49] <tcurdt> @ubitux: wait & -b 3000 means bitrate of 3kb/s? I wanted a little more :)
[16:50] <tcurdt> but why does it say bitrate= 597.3kbits/s
[16:50] <tcurdt> that's what is actually found?
[16:50] <tcurdt> needed?
[16:52] <tcurdt> @ubitux: crap - it's 13MB in size and all just black?!
[16:59] <relaxed> -b 3000k
[17:00] <tcurdt> relaxed: yeah & running that right now & but it still should not have been all black
[17:01] <tcurdt> maybe the "drop" really meant that all frames where dropped & for whatever reason
[17:01] <relaxed> pastebin your command and output for more help
[17:03] <jafa> hi guys, I looking to get ffmpeg to encode video using dirac (libschroedinger). I am testing with a pre-build windows build of ffmpeg that has --enable-libschroeding set. ffmpeg reports "Unsupported codec id in stream "Unsupported codec id in stream 0"
[17:03] <tcurdt> relaxed: https://gist.github.com/3248b91eab9ed33bfd69
[17:05] <relaxed> specify the frame rate before the input
[17:05] <relaxed> I believe the default is 25fps and your output is 12, thus frame are dropped
[17:08] <severnaya> i'm trying to specify a start position for an input video and it's not working.  i've tried ffmpeg -i video.mov -ss 15 bla bla and it gets ignored and always starts at the beginning. i also tried -ss 00:00:15 to no avail
[17:08] <severnaya> anyone know what im doing wrong?
[17:09] <severnaya> i also tried putting -ss before -i
[17:09] <jafa> http://pastebin.com/9WbUBPpj
[17:09] <tcurdt> relaxed: nice & using "ffmpeg -r 12 -b:v 3000k -f image2 -pattern_type glob -i 'GOPR*.JPG' ../video.mp4" stdout looks much saner now
[17:09] <jafa> if i change "dirac" to "theora" it creates a video file ok
[17:10] <severnaya> wait nvm i figured it out
[17:10] <severnaya> lol
[17:10] <severnaya> thx anyway
[17:12] <relaxed> jafa: ffmpeg -codecs 2>&1| grep -i dirac
[17:12] <jafa>  DEV.LS dirac                Dirac (decoders: dirac libschroedinger ) (encoders: libschroedinger )
[17:13] <relaxed> jafa: add -pix_fmt yuv420p
[17:14] <tomy> If I have a mpg with mp2 audio, what is the correct way when I want to put a delay on the audio, because in the original the audio is async to the video.
[17:14] <jafa> relaxed: it reported yuv420p for the output stream, then same error
[17:14] <jafa> Stream #0:0: Video: dirac, yuv420p, 960x720, q=2-31, 448 kb/s, 10 tbn, 10 tbc
[17:14] <relaxed> remove -r 10
[17:15] <jafa> changed to 25fps, same error
[17:15] <jafa> (removed, reported as 25fps)
[17:17] <jafa> Stream #0:0: Video: dirac, yuv420p, 960x720, q=2-31, 448 kb/s, 25 tbn, 25 tbc
[17:17] <relaxed> -f mpegts output.ts
[17:18] <jafa> that worked
[17:18] <jafa> can't pacakge dirac as ogg?
[17:19] <relaxed> yeah, this may be a ffmpeg bug but I'm not sure.
[17:20] <jafa> ok, might be able to remux as a separate step
[17:20] <jafa> thanks
[17:22] <jafa> interesting, audio now works as well
[17:22] <jafa> source file is a opus ogg file, using -acodec copy
[17:22] <jafa> was getting the same error with outputting to a ogg container
[19:43] <sine_> hi guys. im tring to do a project using various tools and at hte moment im trying to use a camera tracker software whjich requires the clip to be in frames. say i have a h.264 avi/mov clip that is 24/25/29.blah how can i seperate that into the frames maybe PNG without any loss
[19:45] <relaxed> sine_: ffmpeg -i input %04d.png
[19:46] <relaxed> Would give you 0001.png, 0002.png ...
[19:46] <sine_> how will it know what FPS to use
[19:46] <sine_> or would it not matter
[19:46] <sine_> because it will just be the frames and the fps is something i need to tell the other softweare
[19:47] <relaxed> That command will simply output the frames.
[19:49] <relaxed> Using ffprobe you could save the framerate somewhere.
[19:53] <sine_> how can i do that to a specific point in a movie. so dump the frames of 10 seconds half way through a film etc
[19:54] <relaxed> ffmpeg -ss 00:30:00 -i input -t 10 %04d.png
[19:55] <relaxed> (30 minutes in, 10 seconds of frames)
[20:01] <sine_> thanks
[20:02] <sine_> however the first 10 frames are the same frame
[20:03] <relaxed> try, ffmpeg -i input -ss 00:30:00 -t 10 %04d.png
[20:27] <DelphiWorld> Hey :-)
[20:28] <sine_> thanks relaxed
[20:52] <DelphiWorld> hey relaxed !
[20:52] <DelphiWorld> ffmpeg -i test.ts input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title "AD Nat Geo - Chimp Diaries_ Ep 5" final_video.mp4
[20:52] <DelphiWorld> give me error:
[20:52] <DelphiWorld> Unable to find a suitable output format for 'input'
[21:05] <DelphiWorld> anyone please?
[21:07] <DelphiWorld> cbreak: :P
[21:07] <cbsrobot_> DelphiWorld: dont ping random people :)
[21:07] Action: DelphiWorld slaps cbsrobot_ around a bit with a large trout
[21:07] <DelphiWorld> cbsrobot_: was you, sory cbreak :P
[21:07] <cbreak> DelphiWorld: get a mac
[21:07] <DelphiWorld> HAHA
[21:08] <DelphiWorld> cbreak: i do have my dude... issue is i'm a beginer on it while i am a blind person
[21:08] <DelphiWorld> transition from windows accessibility to mac accessibility cant be easy
[21:08] <cbreak> then don't get an iMac. Worthless big screen :/
[21:09] <DelphiWorld> :)
[21:09] <DelphiWorld> cbreak, i have a mbp
[21:09] <DelphiWorld> ffmpeg -y -i test.ts -vcodec libx264 -acodec libfaac -ab 128k -ac 2 -b 640k -threads 4 -flags +loop -cmp +chroma -partitions 0 -me epzs -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -maxrate 10M -bufsize 10M -rc_eq \’blurCplx^(1-qComp)\’ -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 out.mp4
[21:09] <DelphiWorld> that's my line now
[21:09] <DelphiWorld> but fail
[21:10] <cbsrobot_> DelphiWorld: it still fails after what I've told you ?
[21:12] <DelphiWorld> cbsrobot_: pastebin?
[21:12] <cbsrobot_> sure
[21:14] <cbsrobot_> DelphiWorld: are you encoding for a special device or just following a random old tutorial from the inet ?
[21:20] <DelphiWorld> cbsrobot_: old tuto
[21:20] <DelphiWorld> cbsrobot_: i'm encoding for my iPhone
[21:20] <JEEB> which iphone?
[21:20] <JEEB> 3GS or newer?
[21:20] <JEEB> or older?
[21:20] <DelphiWorld> JEEB: 4S -)
[21:20] <JEEB> ok
[21:20] <JEEB> so newer than 3GS
[21:21] <DelphiWorld> yes
[21:21] <DelphiWorld> i saw lot of gui apps but i hate them. i prefer cmd
[21:21] <JEEB> and I guess you will be uploading stuff via itunes?
[21:21] <JEEB> so it has to be "itunes-compatible"
[21:21] <DelphiWorld> JEEB: true
[21:22] <JEEB> ffmpeg -i derp.input -c:v libx264 -profile:v main -level 30 -x264opts ref=3 -crf 23 -maxrate 10M -bufsize 10M -c:a libfaac -ab 128k out.mp4
[21:22] <JEEB> test this
[21:25] <DelphiWorld> JEEB, -c:v didnt recognise it. should i remove -c ?
[21:25] <JEEB> umm
[21:25] <JEEB> sounds like you've got an old ffmpeg :)
[21:25] <JEEB> it's a newer way of saying vcodec
[21:25] <DelphiWorld> shit
[21:25] <DelphiWorld> hold JEEB;)
[21:25] <DelphiWorld> JEEB: apt-get i should fuck it!
[21:26] <DelphiWorld> always apt-get upgrade mine to the older one, so that's a downgrade:-P
[21:26] <cbsrobot_> apt-get lol
[21:26] <DelphiWorld> cbsrobot_: otherwise yum ?
[21:26] <JEEB> if you're on a relatively new ubuntu or debian, it's probably a libav package in reality, the newer command there is avconv. Just noting this.
[21:26] <JEEB> of course if you've got a newer ffmpeg there as well, feel free to use that too
[21:27] <DelphiWorld> JEEB: i'm setting up the new deb package built by myself.
[21:27] <JEEB> k
[21:27] <DelphiWorld> and JEEB thank you the big Geek for reminding me
[21:30] <DelphiWorld> updated
[21:32] <DelphiWorld> JEEB: ok, the new unmissable travel is begining;-)
[21:34] <DelphiWorld> JEEB: it's converting now
[22:02] <DelphiWorld> convertion take time right JEEB ?
[22:03] <JEEB> yes
[22:34] <DelphiWorld> JEEB: working dude
[22:34] <DelphiWorld> vlc can play it, i'lle try iTunes
[22:52] <jafa> hi guys, is there a way to get ffmpeg to invoke "convert" (imagemagick) after decoding but before encoding a frame?
[22:52] <jafa> (or a similar custom image processing command)
[22:57] <jafa> oooh - just found smartblur - that might do it
[23:31] <DelphiWorld> night all
[23:31] <DelphiWorld> cbreak cbsrobot_ JEEB thank you DUDES
[23:31] <cbreak> I did something?
[23:31] <cbreak> well, night :)
[23:32] <cbsrobot_> DelphiWorld: np and cu soon
[23:32] <DelphiWorld> :P
[23:32] <DelphiWorld> cbreak: you talked and assisted. thanking is free, so thank ;-)
[23:33] <cbsrobot_> cbreak: maybe it's because youre from ch too
[00:00] --- Mon Oct  1 2012


More information about the Ffmpeg-devel-irc mailing list