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

burek burek021 at gmail.com
Sat Dec 15 02:05:01 CET 2012


[01:04] <xeberdee> Hi - I've got a syntax problem :) cat file1.mpg file2.mpg | ffmpeg -f mpeg -i - -vcodec prores profile 3  -acodec pcm_s24e output.mov - returns Unable to find a suitable output format for '-profile'. I tried lots of alternatives but kind find the solution. Anyone know if I can select the prores profile?
[01:08] <xeberdee> just reading the man for ffmbc
[01:08] <saste> xeberdee, -profile is not a valid ffmpeg option
[01:08] <saste> also this is ffmpeg, not ffmbc
[01:10] <xeberdee> This is also my point. I have seen the -profile option mentioned with ffmpeg commands, but have only seen documentation on ffmbc. I'll go there... thanks
[01:15] <doost1> Hello
[01:15] <doost1> I'm trying to install ffmpeg on ubuntu 12.10
[01:16] <doost1> I'm a total linux noob. I'm fallowing these instructions: http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
[01:18] <doost1> when I enter the fallowing command: ./configure --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame \   --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora \   --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree \   --enable-version3     ;;;
[01:18] <doost1> It tells me:
[01:18] <doost1> ./configure --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame \   --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora \   --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree \   --enable-version3
[01:19] <doost1> ERROR: libvpx decoder must be installed and version must be >=0.9.1
[01:19] <doost1> If you think configure made a mistake, make sure you are using the latest
[01:19] <doost1> version from Git.  If the latest version fails, report the problem to the
[01:19] <doost1> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
[01:19] <doost1> Include the log file "config.log" produced by configure as this will help
[01:19] <doost1> solving the problem.
[01:19] <doost1> farzad at bodhishokr:~/ffmpeg$ ./configure --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame   --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora   --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree   --enable-version3
[01:19] <doost1> ERROR: libvpx decoder must be installed and version must be >=0.9.1
[01:19] <doost1> If you think configure made a mistake, make sure you are using the latest
[01:19] <doost1> version from Git.  If the latest version fails, report the problem to the
[01:19] <doost1> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
[01:19] <doost1> Include the log file "config.log" produced by configure as this will help
[01:19] <doost1> solving the problem.
[01:19] <klaxa> use pastebin pleae
[01:19] <klaxa> *please
[01:19] <doost1> what is that?
[01:19] <doost1> sorry about this
[01:20] <klaxa> anywho, looks like you are missing libvpx
[01:20] <klaxa> what distro are you on? ubuntu?
[01:20] <doost1> yes
[01:21] <doost1> I fallowed the instructions. it already installed libvpx
[01:21] <klaxa> easiest would be to do "sudo apt-get install ffmpeg"
[01:21] <klaxa> did you install libvpx-dev?
[01:21] <klaxa> because you need that package for compilation
[01:21] <klaxa> *compiling
[01:21] <doost1> I don't know
[01:21] <doost1> how would I do that
[01:22] <klaxa> sudo apt-get install libvpx-dev
[01:22] <doost1> I'm doing it
[01:23] <doost1> do you think it'll work now?
[01:23] <klaxa> probably
[01:23] <klaxa> it is possible that there are other packages missing
[01:24] <doost1> I think it worked!
[01:24] <doost1> AWESOME!!!
[01:24] <doost1> I can't thank you enough
[01:25] <klaxa> actually, with time you will be able to understand error messages thrown at you
[01:26] <klaxa> it is hard if you use linux for the first time, i struggled with that too, but the more things you try out, the more you will be able to understand the thought of the programmer
[01:26] <klaxa> and most of the time error messages make sense and once you understand how they work, you can fix your setup accordingly
[01:26] <Stelpa> hello
[01:26] <doost1> I understand what you mean
[01:26] <doost1> hello :)
[01:28] <doost1> how do I run it after it's installed?
[01:28] <klaxa> first you run make
[01:28] <klaxa> then you run sudo make install
[01:28] <doost1> I need it for making screencasts
[01:28] <klaxa> then you cann call the program by just executing ffmpeg
[01:28] <Stelpa> i am trying to stream my desktop to twitch.tv (the gaming portion of justin.tv, basically) using an ffmpeg script i found. it has been working flawlessly for me for quite a while, but just recently now all that happens when i run the script is a black screen with no audio on my stream, even though it says i am streaming.
[01:28] <klaxa> i.e. open a terminal, type "ffmpeg" press enter
[01:28] <Stelpa> here is the script i am using http://pastebin.com/rZAywXbX
[01:28] <klaxa> it should print out compilation settings and an error because you didn't specify any parameters
[01:29] <Stelpa> the notes are not my own, they are from where i originally got it
[01:29] <doost1> I see
[01:30] <klaxa> Stelpa: looks actually fine to me, can you provide ffmpeg's output?
[01:30] <Stelpa> okey!
[01:30] <Stelpa> thank you klaxa
[01:31] <Stelpa> gahhh
[01:32] <Stelpa> now it isn't even streaming at all
[01:32] <Stelpa> its returning an error
[01:32] <Stelpa> one sec
[01:32] <Stelpa> http://pastebin.com/RwYjXa5d
[01:32] <Stelpa> i didn't change anything, i dont get what's going on
[01:33] <klaxa> that version is horribly outdated
[01:33] <Stelpa> it is?
[01:33] <klaxa> i'm using the latest (probably not anymore) version http://www.twitch.tv/klaxa
[01:34] <klaxa> i think i put that command line together myself
[01:34] <Stelpa> really? :O
[01:34] <Stelpa> you are probably the person i found it from, haha
[01:34] <klaxa> no
[01:34] <klaxa> i didn't publish that script, i took it and inserted my own commands only :P
[01:35] <Stelpa> awesome, i really like the script, its only last night that it started screwing up for no reason
[01:35] <klaxa> anyhow as you can see it should actually work
[01:35] <klaxa> well you could compile a newer version of ffmpeg
[01:35] <klaxa> the script itself should be fine actually
[01:36] <klaxa> i don't know about those errors at the end though
[01:36] <Stelpa> hm
[01:36] <Stelpa> i will try restarting i guess
[01:36] <Stelpa> this is really odd :\
[01:39] <Stelpa> gahhh
[01:39] <Stelpa> its still doing it
[01:39] <Stelpa> :(
[01:40] <klaxa> the same error messages?
[01:41] <klaxa> is it a virtual machine?
[01:41] <klaxa> oh
[01:41] <Stelpa> its the same error message, and no
[01:41] <klaxa> what is your screen resolution?
[01:42] <klaxa> is it greater than 800x800?
[01:42] <Stelpa> yes
[01:44] <klaxa> hmm... this is indeed weird...
[01:45] <Stelpa> ok, i changed it to 700x700
[01:45] <Stelpa> and now its doing what it was doing before
[01:45] <Stelpa> really weird
[01:45] <Stelpa> so lets forget that error for now i guess
[01:45] <klaxa> i think 800x800 is just not supported
[01:45] <klaxa> i tried on my machine and i get the same error
[01:46] <Stelpa> it seems to be streaming, it says "live" on my twitch page, but for some reason it is just a blank gray/black screen
[01:46] <Stelpa> one sec
[01:46] <Stelpa> http://pastebin.com/BgVR8P2H
[01:47] <klaxa> well that looks pretty valid
[01:48] <klaxa> can you link me to the stream and start the script?
[01:48] <Stelpa> okey klaxa
[01:48] <Stelpa> http://www.twitch.tv/stelpa6
[01:48] <Stelpa> starting now
[01:49] <klaxa> it says live, is your screen black by any chance? :P
[01:49] <Stelpa> no :\
[01:49] <klaxa> do you have multiple monitors?
[01:49] <Stelpa> nope
[01:50] <Stelpa> and i didn't change anything
[01:50] <klaxa> i assume you don't have multiple X servers?
[01:50] <Stelpa> i have no idea why it's doing this all of a sudden
[01:50] <Stelpa> nope, just a laptop
[01:50] <klaxa> hmm...
[01:50] <Stelpa> no audio?
[01:50] <klaxa> well if this isn't too privacy invading for you, i could take a look with teamviewer
[01:50] <Stelpa> teamviewer?
[01:51] <klaxa> it's a software for remote desktop control
[01:51] <Stelpa> gah
[01:51] <Stelpa> no thanks :X
[01:51] <klaxa> kk
[01:51] <Stelpa> sorry, just kinda scary
[01:51] <klaxa> yeah no problem
[01:51] <Stelpa> just stopped streaming
[01:51] <Stelpa> maybe its a resolution issue...
[01:52] <klaxa> maybe
[01:52] <klaxa> just change it to 800x600 or 640x480
[01:52] <klaxa> i.e. something reasonable :P
[01:52] <Stelpa> !!!
[01:52] <Stelpa> it worked!!!!!!!1
[01:52] <klaxa> seems like it
[01:53] <Stelpa> it must be that it doesn't accept a perfect square for some reason
[01:53] <Stelpa> odd
[01:53] <klaxa> probably
[01:53] <Stelpa> twitch must have changed it quietly last night, which is why it suddenly stopped working for me
[01:53] <klaxa> donkey kong country 2 isn't in 800x800 though, right? :P
[01:53] <klaxa> wasn't SNES something like 576p?
[01:54] <klaxa> at 4:3 aspect ratio?
[01:54] <klaxa> if it was PAL
[01:54] <Stelpa> hehe, i was using a square just because it was easy to visualize xD
[01:54] <Stelpa> but i guess it makes sense, since twitch player is a rectangle
[01:54] <klaxa> yeah
[01:54] <Stelpa> thank you very much for helping me think it through klaxa
[01:55] <klaxa> i'll be afk then, meant to take a shower half an hour ago :D
[01:55] <Stelpa> i will follow you :)
[01:55] <klaxa> i don't even stream :P
[01:55] <klaxa> but yeah no problem
[01:55] <Stelpa> haha, still xD
[01:55] <Stelpa> e
[01:55] <Stelpa> byebye :3
[02:06] <Stelpa> blahhh
[02:06] <Stelpa> its not working again
[02:06] <Stelpa> wtf :(
[02:06] <klaxa> lol
[02:07] <Stelpa> what now :(
[02:09] <klaxa> pastebin error messages
[02:09] <Stelpa> there aren't any error messages
[02:09] <Stelpa> that's the issue
[02:09] <klaxa> what resolution are you using?
[02:09] <Stelpa> 800x600
[02:10] <Stelpa> same as when it worked a moment ago
[02:10] <CoveGeek> Can anyone here offer advice on how to install the f4fpackager module into a linux server
[02:10] <klaxa> dunno then
[02:10] <klaxa> you should update your version anyways, maybe it's an old bug
[02:18] <Stelpa> klaxa: i upgraded
[02:18] <Stelpa> now it says: File for preset 'fast' not found
[02:19] <klaxa> heh, that's how old that script is, lol
[02:19] <klaxa> one sec
[02:19] <Stelpa> okey
[02:20] <klaxa> replace -vpre "$QUAL" with -preset "$QUAL" -profile:v high
[02:21] <Stelpa> Unrecognized option 'profile:v'
[02:22] <relaxed> your ffmpeg is too old
[02:22] <Stelpa> still? :\
[02:22] <relaxed> version?
[02:22] <Stelpa> 5:07
[02:23] <Stelpa> oops, 5:0.7.13
[02:23] <relaxed> Stelpa:  http://goo.gl/DPrRY
[02:24] <Stelpa> i am on a 32 bit system
[02:25] <relaxed> http://ffmpeg.gusari.org/static/
[02:28] <Stelpa> relaxed: alright, i installed that version
[02:28] <Stelpa> now it says Unknown input format: 'x11grab'
[02:28] <Stelpa> wow, this script is really outdated, lol
[02:28] <relaxed> ha! Well, I tried!
[02:29] <relaxed> There are guides on compiling ffmpeg by hand in the wiki
[02:29] <Stelpa> klaxa: any thoughts?
[02:29] <Stelpa> this version is definitely up to date, relaxed
[02:29] <klaxa> but you don't have x11grab in that version
[02:29] <klaxa> compile from source :D
[02:29] <Stelpa> oh...
[02:29] <Stelpa> blah :\
[02:30] <relaxed> it's not possible to compile ffmpeg statically with x11grab support, sorry.
[02:31] <relaxed> Therefore you're going to need to compile it yourself or learn to use the outdated version you have installed.
[02:31] <Stelpa> i am going to try and compile it
[02:31] <Stelpa> what sort of options should i use?
[02:32] <relaxed> Stelpa: read the wiki  https://ffmpeg.org/trac/ffmpeg
[02:55] <llogan> klaxa: "ffmpeg" from the ubuntu repository is from a fork, not from FFmpeg
[02:56] <klaxa> ah right...
[02:56] <klaxa> they should drop the alias and tell the users to install avconv if that is what the want
[02:56] <klaxa> and stop spreading confusion
[02:57] <klaxa> *they
[02:57] <Stelpa> finally done compiling
[02:57] <Stelpa> time for the moment of truth
[02:58] <Ruxton> Can anyone help me get a stable conversion with this file https://gist.github.com/6beb6f3d74e7b7612fca
[02:58] <Stelpa> klaxa: its working :D
[02:58] <klaxa> see :D
[02:58] <Ruxton> the ogv conversion of it is terrible and the x264/aac wont work due to AAC encoder probs
[02:59] <klaxa> the aac encoder tells you that you are using an incompatible sample rate, maybe add -ar 44100 or something?
[03:00] <Stelpa> thank you very much, klaxa and relaxed
[03:00] <klaxa> you're welcome :)
[03:01] <llogan> yes, the important message was "Unsupported sample rate 11024"
[03:02] <Ruxton> yeah i tried to set it with a different setting (not -ar) and it didn't work
[03:02] <Ruxton> now IM getting audio :)
[03:02] <Ruxton> but no video, which I'm guessing is due to the message about the pixel format switch
[03:04] <llogan> does ffplay show the video?
[03:04] <Ruxton> man you're like some secret wizard or something :P
[03:04] <Ruxton> works in VLC doesn't work in Quicktime
[03:05] <llogan> quicktime is quite limited in what it can playback
[03:06] <llogan> "-crf 0" is lossless for libx264 encoder.
[03:06] <Ruxton> yeah I'm probably going to have to come back a bit from 0, file size is twice what the original MJPG video was
[03:06] <Ruxton> so I'll keep trialling, cheers for your help klaxa and llogan
[03:06] <llogan> that is to be expected. lossless is huge.
[03:06] <Ruxton> yeap :)
[03:07] <llogan> see https://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
[03:07] <Ruxton> Figured i'd start at 0 and just keep going up until i'm happy with the balance, I was around 22 or so yesterday and that was the other end of the stick, too small and too crappy
[03:24] <gcr> Hey there! I'm kind of late to the party. How compatible (speaking of the ABI) are libav and ffmpeg? I'm thinking of writing some FFI bindings so Lisp can encode videos
[05:11] <valen_03> .
[05:46] <gcr`> Oh man I am giddy after discovering AVOptions. It's like introspection! This will probably make my life *so* much easier.
[06:23] <hyun_> Does P frame refers previous P frame in H264?
[07:23] <gcr``> ok, what happens when I call av_opt_get on an AV_OPT_TYPE_BINARY AVOption? What I'm getting back isn't a utf8 string, but I thought that it was supposed to print it out in hex?
[07:23] <gcr``> well, not print it out; snprintf, you know
[11:59] <CoveGeek> Can ffmpeg make a f4v segmented file that I can stream?
[13:04] <zmbmartin> Is it possible to create a video with ffmpeg from a datauri and audio file?
[13:21] <burek> what's datauri
[13:35] <Hfuy> What on earth is "icod" video?
[13:35] <Hfuy> VLC doesn't like it, mplayer doesn't like it.
[13:36] <Hfuy> Some sort of apple specific thing?
[13:46] <zmbmartin> burek: http://en.wikipedia.org/wiki/Data_URI_scheme
[14:14] <burek> zmbmartin, use pipes
[14:15] <burek> process the data and create a valid input for ffmpeg
[14:15] <burek> then do whatever you want with it
[14:17] <zmbmartin> burek: OK I will look into that thanks.
[15:26] <Romme> is there such a thing as a streamable container format supporting raw audio and video?
[15:26] <Romme> mkv probably fits the bill, but i'm looking for something easier to mux
[15:29] <Romme> s/mkv/Matroska/
[15:49] <lake> is it possible to detect volume of an live audio input stream?
[15:49] <lake> I notice that volumedetect doesn't appear to work with my internal mic.
[15:54] <lake> and by live i mean realtime
[16:03] <burek> Romme, mpegts
[16:04] <burek> lake http://ffmpeg.org/ffmpeg.html#volumedetect
[16:09] <lake> burek: i see. i was hoping that it would work on streaming input but it only works if the input is a file
[16:10] <burek> well it works for what it was intended to
[16:10] <burek> maybe you misunderstood its purpose?
[16:46] <Romme> mpegts looks like a complicated format to implement
[17:22] <nanooq> hello all. I extracted a WAV from a MTS file, normalized the WAV and would like to merge it back to the MTS file using the original MTS-acodec.
[17:23] <nanooq> Is there a way to say: ffmpeg, please copy acodec and vcodec from the original file and convert the WAV to the original acodec before merging them.
[17:23] <nanooq> or do I have to extract all the variables from the original acodec, save them externally and then, when merging back, input them again?
[17:39] <ubitux> nanooq: yes you can specify to which stream -c applies
[17:40] <ubitux> look at http://ffmpeg.org/ffmpeg.html#Main-options for the syntax
[17:40] <ubitux> and you need to map the streams from your mts file, and the audio stream from the wav file
[17:41] <lake> i have a list of mkv files that i would like to join into a mpg file. I was going try "ffmpeg -i *.mkv -target ntsc-dvd out.mpg" but that doesn't work.
[17:42] <lake> what a good way to join mkv files
[17:44] <ubitux> concat demuxer maybe
[17:45] <ubitux> http://ffmpeg.org/ffmpeg.html#concat
[17:45] <ubitux> maybe concat filter depending on your need
[17:46] <PMacDiggity> hello, has anyone successfully captured input from a BMD DeckLink with FFmpeg on Ubuntu? I am able to view the input with BMD Media Express, but when I try to capture using ffmpeg the closest I get is http://pastebin.com/VudvUUU5
[17:48] <ubitux> i don't think we have a decklink input device yet
[17:48] <ubitux> iirc, there are some patches lying around, but i may be wrong
[17:48] <ubitux> no one is working on it right now afaik
[17:49] <PMacDiggity> any recommended SDI capture cards?
[17:49] <ubitux> no idea, sorry
[17:49] <ubitux> you might be able to find a too to get rawvideo from your device
[17:49] <nanooq> ubitux: I am so sorry, I did not notice your reply and just sent an email to the mailinglist.
[17:50] <nanooq> ubitux: I ll make up with a follow-up post containing the solution. I ll have a look at your link, now.
[17:50] <ubitux> PMacDiggity: something like random-decklink-grab-tool | ffmpeg ...
[17:50] <ubitux> nanooq: sure, no worry
[17:50] <PMacDiggity> gotcha thanks
[18:13] <nanooq> ubitux: ffmpeg -i original.MTS -i audio.WAV -map 0 -map 1 -c:v:0 copy -c:a:0 copy output.MTS ?
[18:14] <ubitux> you need to specify the codec for audio.wav too now
[18:14] <ubitux> what do you want to do with it?
[18:22] <nanooq> the audio codec shall be the same as in the original.MTS. So, Audio:WAV has to be reencoded. I am reading http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20use%20-map%20option, hence: ffmpeg -i original.MTS -map 0:0 -c:v copy -i Audio.WAV -map 0:1 -c:a copy output.MTS ?
[18:23] <ubitux> you need to know the codec
[18:24] <ubitux> what's the codec in original.mts?
[18:24] <ubitux> (if you need automatization you can use ffprobe to extract it automatically)
[18:25] <nanooq> ubitux: some libfaac with standard parameters. I was hoping ffmpeg would take it from original.MTS in an automated way.
[18:25] <ubitux> you changed the volume
[18:25] <ubitux> you need to re-encode
[18:26] <ubitux> the exact settings can't be known
[18:27] <nanooq> so for a bash shell I use ffprobe on the original file, painfully string extract the parameters and use those in the reencoding process of my ffmpeg-one-liner?
[18:29] <saste> nanooq, painfully -> read the docs -> painlessly
[18:29] <ubitux> nanooq: ffprobe has different writers (json, xml, csv, etc) to ease extraction
[18:30] <ubitux> i'm not sure about what parameters you'll be able to extract though, except the codec
[18:30] <ubitux> and btw, you can change the volume with ffmpeg
[18:30] <ubitux> and do everything in one pass
[18:30] <ubitux> without an intermediate wav
[18:36] <nanooq> saste: painfully read docs :D
[18:37] <nanooq> ubitux: my understanding of -af 'volume=#' ... is that I have to know beforehand how much louder I want the audio to be.
[18:37] <nanooq> I do not know that beforehand.
[18:37] <ubitux> before what?
[18:38] <ubitux> can't you do an analysis from the the mts?
[18:38] <ubitux> our ebur128 filter can do that
[18:39] <ubitux> ./ffmpeg -i test.mts -map 0:0 -map 0:1 -map 0:1 -filter:a:1 volume=0.5 -c:v copy -c:a:0 copy -c:a:1 libfaac -y out.mts
[18:39] <ubitux> this is an example how to duplicate in-place one track, and change the volume of the dup
[18:39] <ubitux> one track ’ the audio track
[18:51] <teratorn> is AVPacket.pts the only timestamp that gets encoded/muxed in the final output stream? e.g. encoders don't take AVFrame.pts and stick it somewhere in the bitstream?
[18:51] <teratorn> (ignoring DTS's)
[19:24] <h31> Hello. How can I set a colorspace of the output movie? Which colorspace is the most widespread and compatible?
[20:15] <relaxed> h31: -pix_fmt yuv420p
[20:17] <relaxed> or -filter:v format=yuv420p
[20:19] <h31> relaxed: thank you!
[21:36] <rindolf> Hi all.
[21:37] <rindolf> ffmpeg -loop -f Nursery_Rhymes_pg_7.png -i music.wav -acodec copy -shortest -q:v 5 -s 640x480 yonqatan.ogv - why does this not work? I'm trying to create a video with an image background.
[21:37] <rindolf> From a .wav audio file.
[21:38] <rindolf> Most of the command lines I found were out-of-date and there are little meaningful examples/use-cases in "man ffmpeg" (there should be).
[21:42] <relaxed> try -loop 1
[21:43] <klaxa> does -f somefile.png even make sense at all?
[21:43] <relaxed> right, and -i Nursery_Rhymes_pg_7.png
[21:44] <emerica_> loop 1 and you'll need to add a vcodec
[21:45] <emerica_> after your wav input
[21:45] <relaxed> he doesn't need to but it's recommended.
[21:46] <emerica_> i needed to, just tryed withfairly recent git
[21:46] <a|3x> hi
[21:46] <emerica_> Stream #0:0 -> #0:0 (png -> ?)
[21:46] <emerica_> Encoder (codec none) not found for output stream #0:0
[21:46] <emerica_> so likley have to add the vcodec
[21:47] <rindolf> emerica_, relaxed , klaxa : vcodec with what?
[21:47] <ubitux> < klaxa> does -f somefile.png even make sense at all? // it doesn't.
[21:47] <rindolf> Can you give me the complete command line?
[21:47] <rindolf> Yes, I converted "-f .png" to "-i .png"
[21:47] <relaxed> specify the video codec you wish to use.
[21:48] <rindolf> ffmpeg -loop 1 -i Nursery_Rhymes_pg_7.png -i music.wav -acodec copy -vcodec copy -shortest -q:v 5 -s 640x480 yonqatan.ogv - here is my command line.
[21:48] <klaxa> use -f image2 i think instead of .png
[21:48] <relaxed> although I thought it would choose a default based on the container.
[21:49] <emerica_> ffmpeg  -loop 1 -i shiretokoFirefoxIcon-i8.png_large.png  -i wavecheck.wav  -vcodec mpeg2video -acodec copy -shortest -q:v 5 -s 640x480 yonqatan.ts    ( worked for me, dunno what fits in ogv)
[21:49] <rindolf> ffmpeg -loop 1 -i Nursery_Rhymes_pg_7.png -i music.wav -acodec vorbis -vcodec theora -shortest -q:v 5 -s 640x480 yonqatan.ogv - this seems to work.
[21:49] <klaxa> i don't think you can copy the video codec of a still image, i might be wrong
[21:50] <a|3x> i am trying to use ffserver for live streaming and i am having difficulties, it seems the 'AVOptionVideo preset fast' in ffserver.conf doesn't have any effect (libx264 complains about broken ffmpeg defaults or something), any ideas?
[21:51] <a|3x> when i set 'AVOptionVideo qmin 10' and AVOptionVideo qmax 51' it seems to work but with very poor resulting quality
[22:15] <bencahill> Hey guys...does anyone have a clue why ffmpeg would repeat the last 11 frames of a video? I'm converting from AVI/HuffYUV/Uncompressed audio to -target film-dvd. Same frame rate (24000/1001) both ways, but I get 11 extra frames at the end. Any ideas?
[22:16] <klaxa> try adding -shortest
[22:16] <klaxa> that will cut once the first stream ends
[22:18] <bencahill> klaxa: Thanks, I'll give it a try.
[22:29] <bencahill> klaxa: Nope, I still get 10,866 rather than 10,855 frames (and a visible loop at the end). :-/
[22:29] <klaxa> :/
[22:30] <emerica_> would it try to complete a gop or something?
[22:42] <bencahill> Sorry, I was on the phone...
[22:43] <bencahill> cbsrobot: Hmm, I'm using WinFF to run it for me...I can run it manually, but I don't know how to get the output (using Windows right now because I don't have any fast linux boxes atm)...Google to the rescue!
[22:44] <bencahill> Heh, looks similar to in bash ;-)
[22:54] <bencahill> Yay! It worked just running it manually in a shell using the latest version binaries. (I'm guessing that last part was probably the important one) Thanks all.
[00:00] --- Sat Dec 15 2012


More information about the Ffmpeg-devel-irc mailing list