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

burek burek021 at gmail.com
Fri Feb 17 02:05:01 CET 2012


[00:11] <quebre> hello
[00:11] <quebre> i want to convert RAW format that i've recorded using Fraps to 720p quality so i can put it on youtube
[00:11] <quebre> i tried few times but it's always not full screen and it's always ugly
[00:12] <quebre> so the last syntax i have tried is: ffmpeg -i bf3-2012-02-13-21-53-53-84.avi -vcodec libx264 -vpre 720p bf3-4.mp4
[00:12] <quebre> but it says:
[00:12] <quebre> File for preset '720p' not found
[00:12] <quebre> can someone point me to good way of encoding RAW to 720p ?
[00:14] <quebre> Noone? :)
[00:14] <quebre> oh.. come on... it can't be THAT hard?
[00:19] <vadim> quebre: try '-fpre' followed with the full path to the presset file
[00:20] <quebre> hmm
[00:20] <quebre> and if i dont have the preset file? where i can get good preset for 720p ?
[00:23] <relaxed> quebre: ffmpeg -i bf3-2012-02-13-21-53-53-84.avi -vcodec libx264 -preset slow -crf 18 bf3-4.mp4
[00:24] <quebre> relaxed: Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[00:25] <relaxed> pastebin.com the full output
[00:25] <quebre> ok
[00:26] <quebre> http://pastebin.com/qYwfWwDe
[00:28] <quebre> getting such errors since two days
[00:28] <quebre> no idea what's wrong
[00:29] <relaxed> quebre: ffmpeg -i bf3-2012-02-13-21-53-53-84.avi -vcodec libx264 -preset slow -crf 18 -acodec libfaac -ac 2 -ab 128k bf3-4.mp4
[00:29] <quebre> lets try
[00:29] <pasteeater> the important message is: libaacplus doesn't support this output format!
[00:30] <relaxed> seems like that should have been the last message: "ERROR: libaacplus doesn't support this output format!"
[00:30] <pasteeater> so use settings that work with libaacplus or use a different aac encoder. such as libvo-aacenc or libfaac, both of which your ffmpeg supports
[00:30] <quebre> relaxed: now it works
[00:30] <quebre> but what changed ?
[00:30] <quebre> mhm
[00:30] <relaxed> pasteeater just explained why
[00:30] <quebre> yes just noticed
[00:31] <quebre> so it will be now GOOD quality ?
[00:31] <quebre> i mean video
[00:31] <quebre> dont care much for audio..
[00:31] <pasteeater> take a look. you probably won't see a difference between source and output with relaxed's example
[00:32] <quebre> great !
[00:32] <relaxed> you can encode a 10 second sample if you add "-t 10" to the command
[00:32] <quebre> oh
[00:32] <quebre> coz im encoding 4gb portion
[00:32] <quebre> would take looong to test it
[00:34] <quebre> looks identical
[00:34] <quebre> :}
[00:34] <pasteeater> good, because youtube will poop on it when they re-encode it
[00:35] <quebre> what do you mean ?
[00:35] <quebre> they will make it look ugly ?
[00:37] <quebre> i wonder what soft youtube is using to re-encode
[00:37] <quebre> maybe it's ffmpeg ;p
[00:37] <pasteeater> i mean that they re-encode anything you give it so it's best to give them something nice looking to begin with
[00:39] <quebre> ah
[01:44] <quebre> pasteeater: are you here ?
[02:42] <relaxed> CodeH3x: pastebin.com the output of "ffmpeg -i video.mp4 -i input.mkv"
[02:59] <mininessie> i need a command to capture multiple screencaps of a video at the same time meaning when i use the command it will every 2 seconds take a capture of said video without having to manually change the command every 2 seconds
[03:01] <mininessie> aynone here
[03:01] <smj> what happened to -vf pp? it says "No such filter: pp" is there a new way to use it?
[03:02] <mininessie> smj: can you help me
[03:04] <smj> maybe
[03:05] <mininessie> okay did you see what i said earlier
[03:05] <smj> what does multiple screencaps of a video at the same time mean?
[03:08] <mininessie> i mean the video i want i need multiple screen caps of it but i do not want to manually type in a command and change the time in the video the capture is taken and run the command once and ever 2 seconds takes a capture so at 2 seconds capture one 4 seconds capture 2 and so on until video is done
[03:08] <pixeldonor> i'm trying to compile ffmpeg with mp3lame using the --enable-libmp3lame. i've downloaded and compiled mp3lame, but it doesn't seem to be able to find it when i use ./configure.
[03:08] <pixeldonor> any way to tell it where to look?
[03:12] <smj> mininessie: I'll try that
[03:17] <smj> I guess he got the help somewhere else
[03:23] <VooDooNOFX_> is there a better way to add metadata tags to a video file other than ffmpeg -i inputfile -metadata title="Movie Title" -metadata year="2010" outputfile ?
[03:48] <Randy_T> Is it possible use deblock with a zones option with x264. For example, "-x264opts zones=0,1000,b=2,deblock=-1:-1". The problem here is that ffmpeg separates x264 options with ":" colon and the x264 zones option separates it's own options with "," comma.
[03:49] <relaxed> VooDooNOFX_: inputfile doesn't have any metadata set?
[03:49] <VooDooNOFX_> relaxed, it has some, but i'm trying to bake in more to the file
[03:50] <relaxed> Randy_T: use -deblock
[03:51] <relaxed> VooDooNOFX_: then I guess that's the only way
[03:52] <Randy_T> I want to use that deblock option in that particular zone. if I substitute a comma there than it causes a problem with the zone option, and if i leave it as-is, it's an ffmpeg error
[03:53] <relaxed> if you need that type of control I would use x264 directly
[03:53] <relaxed> did you try quoting the colon? \:
[03:54] <relaxed> or -x264opts 'zones=0,1000,b=2,deblock=-1:-1'
[03:55] <Randy_T> Thanx, but both those didnt work.
[03:55] <Randy_T> Maybe somethign with profiles..
[04:13] <jshanab_win7> I have a large application that uses both live555 and libavcodec. As I am researching adding RTMP protocols to my server I ran across mention that ffmpeg also does streaminces in the two streaming libraries,. Can soomeone tell me the difference between to 2 libs, Can I maybe eliminate live555 from my app?
[04:17] <smj> Randy_T: does x264opts zones=0,1000,b=2,deblock=-1;-1 do the trick?
[04:19] <Randy_T> hallelujah, it worked!
[04:19] <smj> :)
[04:22] <Randy_T> I was gona try to make an ffmpeg preset, but i was guessing ffmpeg just takes the options in the preset and plops them on the command line anyway. Didn't think to try a semi-colon, Thank you.
[04:34] <Randy_T> fyi. It still needs to be in quotes too. so '-x264opts zones=0,1000,b=2,deblock=-1;-1'
[04:34] <Randy_T> oops. i mean quotes for 'zones=0,1000,b=2,deblock=-1;-1
[07:05] <darkstarbyte> What do I have to install to convert wmv files?
[07:16] <overflow_0f8b> guessing, wmv codec?
[09:10] <zap0> darkstarbyte, ffmpeg
[11:46] <CodeH3x> hey
[11:46] <CodeH3x> anyone here?
[12:02] <jensverwiebe> hi relaxed , thx for your supply to help looking into ffv1 prob
[12:03] <jensverwiebe> relaxed: turned out it is just a breaking change making use of latest version in the procuction pieline nessecary
[12:04] <jensverwiebe> relaxed: all fine now, just near all players around are a bit outdated in ffmpeg regards, so son´t support ffv1 transparency yet
[12:04] <jensverwiebe> cya´s folks, go on with great work :)
[12:31] <Guest23090> hi. I just found http://www.ogg-converter.net which charges for a frontend to (a statically linked) ffmpeg without attributing ffmpeg.
[12:31] <Guest23090> This seems to be in conflict with the LGPL. Is there an established procedure for such cases?
[12:32] <Mavrik> hm
[12:32] <Mavrik> it seems hall of shame page is offline
[12:37] <raphman> http://web.archive.org/web/20101003203602/http://ffmpeg.org/shame.html
[12:39] <raphman> hmm, ok, I'll have a look at the bug tracker.
[16:11] <huglester> Guys, I get: Error initializing filter 'movie' with args 'watermark_video.png'
[16:11] <huglester> Segmentation fault
[16:12] <huglester> but If I replace with .jpg iamge (same image just saved as jpg) - it works fine
[16:51] <MindSpark> hello, can anyone help me out with good oss to convert/transcode rtsp to rtmp?
[17:12] <gingerling> hello
[17:12] <gingerling> trying to convert a gif animation from commons to movie format to work in pitivi
[17:13] <gingerling> anyone know how to do this. I am a gui user really
[17:17] <gingerling> i found a ton of terminal manuals but dont understand what they mean, can anyone spare a sec to teach me?
[17:21] <MindSpark> gingerling, ffmpeg takes an input files specified by -i
[17:21] <MindSpark> and an output file
[17:21] <MindSpark> you can add options to it
[17:21] <MindSpark> if you're under *nix, simply do man ffmpeg
[17:22] <gingerling> i have seen
[17:22] <gingerling> http://www.linuxquestions.org/questions/linux-software-2/converting-animated-gif-to-avi-ffmpeg-549839/
[17:22] <gingerling> i have messed arround a bit
[17:22] <gingerling> but just get the first image in the gif
[17:22] <gingerling> people talk about frame rate
[17:22] <gingerling> i have changed this in gui but dosnt seem to help (using winff)
[17:31] <MindSpark> sorry dc
[17:32] <gingerling> np
[17:33] <MindSpark> so you tried something very basic such as ffmpeg -i file.gif file.avi ?
[17:35] <gingerling> i dont understand how to use this in terminal, sorry, i know its a pain. I am a real gui user
[17:35] <gingerling> i tried using winff, which is the gui ffmpeg, and tried all the obvious things
[17:35] <gingerling> but it just outputs the first frame of the giff
[17:43] <MindSpark> then try to cli
[17:43] <MindSpark> commandline
[17:43] <MindSpark> type the command I told you
[17:46] <gingerling> putting my file name inthere?
[17:49] <gingerling> dosnt do anything, lots of no such file or directorys
[17:56] <T3mp3sT> Hi, was wondering if there is something wrong with this cmd. ffmpeg -i videoIn.avi -vcodec copy -acodec libfaac -ab 128k -ac 2 -sn videoOut.mkv
[17:56] <T3mp3sT> This use to work for me all the time.
[18:02] <KyranBe> T3mp3sT, it would help if you could specify what is not working
[18:02] <T3mp3sT> KyranBe sure, one sec. My bad.
[18:04] <T3mp3sT> Stream mapping:
[18:04] <T3mp3sT>   Stream #0:0 -> #0:0 (copy)
[18:04] <T3mp3sT>   Stream #0:1 -> #0:1 (ac3 -> libfaac)
[18:04] <T3mp3sT> Press [matroska @ 0x30640e0] Can't write packet with unknown timestamp
[18:04] <T3mp3sT> av_interleaved_write_frame(): Invalid argument
[18:05] <T3mp3sT> KyranBe thats the error I am getting. Weird. I recompile everything again from git last night but it did not help.
[18:07] <T3mp3sT> whats the stuff about "unknown timestamp" ?
[18:07] <KyranBe> T3mp3sT I'm no expert, so I'm afraid I can't help you out with this, but now at least someone more knowledgeable than me can see what's wrong
[18:08] <T3mp3sT> KyranBe appreciate you attempting to help me out with this issue.
[18:08] <KyranBe> you could try to demux the audio, convert the audio stream separately and then remux everything in an mkv
[18:09] <T3mp3sT> KyranBe to avoid all that I just did the -sn to get rid of any fluffy streams. But Ill try anything.
[18:11] <T3mp3sT> hmmm.... might might have an idea what this is about. I use a SSD and in fstab one of the statements is noatime. This is commonly done with SSDs to prevent ware. Maybe ffmpeg is using time in some weird way.
[18:12] <KyranBe> I doubt it, I have noatime for all my drives
[18:12] <T3mp3sT> KyranBe good to know.
[18:14] <KyranBe> I get the same error here btw
[18:15] <KyranBe> even with acodec copy
[18:15] <T3mp3sT> @@
[18:15] <KyranBe> instead of the mkv container use the mp4 container
[18:16] <KyranBe> then remux the mp4 file to an mkv file
[18:16] <KyranBe> that works
[18:16] <KyranBe> (for me at least)
[18:17] <T3mp3sT> Ill give it a try.
[18:18] <T3mp3sT> So "-vcodec copy" does now work for you??
[18:18] <KyranBe> yeah
[18:18] <KyranBe> I did this
[18:19] <KyranBe> ffmpeg -i input.avi -vcodec copy -acodec faac -ab 128k -ac 2 temp.mp4
[18:19] <KyranBe> then
[18:19] <KyranBe> ffmpeg -i temp.mp4 -vcodec copy -acodec copy out.mkv
[18:20] <KyranBe> those two should produce the same output, but don't give the error
[18:20] <KyranBe> it's just a workaround
[18:20] <T3mp3sT> lol, sure why not. Your only changing the container around in the last cmd there. Could just drop in a && between them
[18:20] <T3mp3sT> a workaround that works
[18:21] <T3mp3sT> KyranBe thx you have been more then helpful.
[18:22] <KyranBe> no problem
[18:24] <T3mp3sT> Nice works just fine now.
[18:43] <MindSpark> hello, can anyone help me out with good oss to convert/transcode rtsp to rtmp?
[19:38] <burek> MindSpark,
[19:38] <burek> can you please use pastebin.com, to show your command line and its output?
[19:40] <MindSpark> burek, I have no cl and no output, I was asking about what I could do if I have an rtmp url which I want to convert to rtsp
[19:41] <burek> I'm really not familiar with rtsp.. if it's a container, use -f if it's a vcodec use -vcodec
[19:41] <burek> for ex.
[19:41] <burek> ffmpeg -i input.rtmp -f rtsp output.rtsp
[19:41] <burek> or
[19:41] <burek> ffmpeg -i input.rtmp -vcodec rtsp output.rtsp
[19:44] <MindSpark> burek, rtmp is not a container as far as I understand. It's a protocol
[19:44] <MindSpark> I mean rtsp
[19:44] <MindSpark> both
[19:44] <MindSpark> lol
[19:44] <burek> oh :D
[19:44] <burek> ^^
[19:45] <burek> well, take a look at ffserver then
[19:45] <burek> also this
[19:46] <MindSpark> burek, thanks! will look into that!
[19:46] <burek> :beer: :)
[19:47] <MindSpark> haha, my pleasure, you just come pick it up
[19:47] <MindSpark> Egypt ;)
[19:47] <burek> ^^ :) I will one day :) I will :)
[19:48] <burek> It's just across 1 sea :D
[19:49] <MindSpark> :)
[20:04] <slackyman> hi
[20:04] <slackyman> I have a little problem cross compiling ffmpeg
[20:04] <slackyman> with mingw-64
[20:05] <slackyman> mingw64 on Ubuntu 11.10 comes without winpthreads
[20:05] <slackyman> if I compile pthreads I get an error
[20:07] <huglester> guys, I'm getting the: " Could not find codec parameters (Video: png)" .. how do I enable png support? I want to have watermark (png) on my images
[20:08] <relaxed> pastebin.com your command and all output
[20:08] <huglester> I tried recompiling to newest version.. added: --enable-decoder=png but still no luck
[20:09] <relaxed> you shouldn't need to do that
[20:10] <huglester> relaxed: maybe you have any other ideas on what is needed to be done?
[20:10] <huglester> if I replace png iamge with jpg image - everything works
[20:11] <relaxed> how about you pastebin.com your command and all output
[20:14] <pasteeater> png decoder and encoder requires zlib
[20:14] <pasteeater> but we can only guess until you supply command and output as relaxed asked several times
[20:15] <burek> apt-get install libpng12-dev
[20:16] <huglester> hm.. wait I'll just tried toisntall zlib dev
[20:16] <huglester> recompiling ffmpeg
[20:25] <huglester> thanks relaxed, pasteeater, burek. I have installed zlib1g-dev (on debian squeeze) and now it worsk:)!
[20:26] <huglester> thanks for kind support :)
[20:37] <slackyman> can I use mingw64 zeranoe build integrating it with my mingw64 pre-existent tool-chain?
[20:53] <tiglionabbit> I want to use ffmpeg with libfaac on ubuntu.  I'm pretty sure I have all the relevant packages installed, but still I get "Unknown encoder 'libfaac'" http://friendpaste.com/2CWsETlwpNrGze42uL30DB
[20:53] <tiglionabbit> it works on my mac though, where I compiled ffmpeg using brew
[20:55] <pasteeater> tiglionabbit: what ubuntu version?
[20:55] <tiglionabbit> oneiric
[20:56] <pasteeater> see option C here: http://ubuntuforums.org/showthread.php?t=1117283
[20:56] <pasteeater> (or A if you don't mind compiling)
[20:57] <tiglionabbit> also, I noticed that if I just say -acodec aac, it suggests I use libvo_aacenc, but if I do that, this happens: http://friendpaste.com/42H2NmDBxjWq6AzqY9M8gm
[20:58] <pasteeater> i suppose it doesn't like 6 channel audio.
[20:59] <tiglionabbit> I tried passing -channels 2 but it didn't help
[21:00] <pasteeater> the option is -ac, not -channels
[21:00] <tiglionabbit> on my mac it's -channels
[21:00] <pasteeater> ok
[21:00] <tiglionabbit> ok I passed -ac 2 and it segfaulted
[21:00] <pasteeater> you're using ffmpeg libav, not ffmpeg from FFmpeg by the way
[21:01] <tiglionabbit> ok
[21:01] <pasteeater> *ffmpeg from libav
[21:01] <tiglionabbit> I'll install the medibuntu one then
[21:02] <pasteeater> it shouldn't segfault. i wonder if recent ffmpeg from FFmpeg does the same
[21:02] <tiglionabbit> still segfaults on that command
[21:03] <tiglionabbit> http://friendpaste.com/Zq4PP8rZgQtilE3zYIuKW
[21:03] <tiglionabbit> but with that new package, I now have libfaac
[21:03] <tiglionabbit> so I'm good =]
[21:04] <pasteeater> alternatively you could copy the audio instead of re-encoding it
[21:04] <tiglionabbit> yeah, but I was just using this file as an example.  Not all of em have aac audio
[21:05] <pasteeater> if you have the time you could follow option A which will install recent ffmpeg, and test the command. if it seg faults i'd like to know.
[21:05] <tiglionabbit> ok
[21:05] <pasteeater> ...i forgot that guies doesn't install libvo-aacenc, but i can help you with that if you are interested
[21:06] <pasteeater> or simply provide a small sample that causes the issue
[21:06] <pasteeater> and i'll test
[21:06] <tiglionabbit> ok
[21:36] <pasteeater> ffmpeg works fine here. i'll blame ubuntu/libav.
[21:38] <vadim_> pasteeater: what is the theme? )
[21:39] <pasteeater> the theme? sorry, i don't understand your question.
[21:41] <vadim_> pasteeater: you told "ffmpeg works fine here. i'll blame ubuntu/libav."... what are you talking about? :)
[21:42] <pasteeater> libvo_aacenc seg faulting when going from 6 channel input to 2 channel output as shown by tiglionabbit about 30 minutes ago
[21:43] <pasteeater> libavffmpeg from ubuntu repo seg faulted, but ffmpeg from git does not, so good-enough-for-me
[21:44] <vadim_> pasteeater: ah, i see... anyway, just came in, and do not have the entire log...
[22:07] <mgeary> hey folks
[22:08] <mgeary> i've got a conversion running (batched via a bash script), and it's maxing out the CPU. When i log into the screen session, it appears to be unresponsive. The AAC i'm converting is ~90 minutes. It's been running for ~20 minutes. Is there any chance it's still converting, or do i kill it?
[22:11] <mgeary> killed it
[22:14] <relaxed> mgeary: you don't redirect ffmpeg's output anywhere?
[22:15] <mgeary> just to stdout
[22:15] <mgeary> but it stopped updating
[22:15] <relaxed> which aac encoder were you using?
[22:16] <relaxed> hmm, screen session
[22:17] <relaxed> there is a key combo in screen that will freeze the terminal.
[22:18] <relaxed> iirc, ctrl+q will fix it
[22:19] <tiglionabbit> how do you scale down video without breaking the aspect ratio?  Is there a way to set a max height and max width?
[22:19] <relaxed> tiglionabbit: -vf scale=720:-1
[22:20] <tiglionabbit> whoa where is that described?
[22:20] <relaxed> the man page and website
[22:20] <mgeary> relaxed: i just killed the process and my shell script moved on to the next file
[22:24] <tiglionabbit> so scale=720 -- what does that do?  Do I really have to do something like this example to preserve the aspect ratio but make the video smaller than a certain size?  scale='min(500\, iw*3/2):-1'
[22:25] <relaxed> scales the width to 720 and the height to whatever is need to maintain the original aspect ratio
[22:25] <relaxed> scale=720:-1
[22:25] <tiglionabbit> relaxed: why can't I specify both the max width and the max height?
[22:26] <relaxed> that should be possible
[22:26] <tiglionabbit> and not scale it up if it's already small
[22:27] <mgeary> hrm. another conversion is pegging the CPU and not updating the stdout
[22:28] <relaxed> mgeary: can you pastebin the command running and output?
[22:28] <mgeary> the command is just: ffmpeg -i foo.aac foo.aac.mp4
[22:29] <mgeary> the output is: http://pastebin.com/0SmmJhC9
[22:31] <relaxed> mgeary: SVN-r26402, ffmpeg hasn't used svn for some time now.
[22:31] <relaxed> you should really build the latest version from git along with libvo-aacenc for aac encoding.
[22:31] <mgeary> hrm. i just downloaded this and compiled on Feb 10
[22:32] <mgeary> yeah, i'm pretty sure i used git to get it
[22:32] <relaxed> compiling an old version from svn still leaves you with an old version
[22:33] <mgeary> hrm. maybe i'm confusing my local machine with this one on this server
[22:33] <relaxed> my last build shows: git-2012-01-25-247d30a
[22:34] <relaxed> tiglionabbit: I think you'll have to script it.
[22:51] <tiglionabbit> hm, when I try to use -vf scale options it says Error opening filters!
[22:54] <relaxed> tiglionabbit: command?
[22:57] <Freakshow> I think I may have asked this before... but
[22:57] <tiglionabbit> ffmpeg -i output.mp4 -vf scale=200:10 output-squished.mp4
[22:58] <tiglionabbit> was just trying to test it
[22:58] <Freakshow> nm... I'm not going to bring it up... older version
[23:00] <mgeary> how big a deal is it if i compile x264 without asm?
[23:00] <relaxed> huge
[23:01] <mgeary> ok. looks like i need to manually upgrade yasm :S
[23:01] <mgeary> this server must be on a pretty old CentOS release :(
[23:01] <Freakshow> yeah, that's pretty big
[23:02] <relaxed> mgeary: servers usually have old version of everything
[23:02] <mgeary> i know, story of my life
[23:02] <mgeary> CentOS release 5.7 (Final)
[23:02] <mgeary> sigh
[23:04] <relaxed> grab the yasm source, compile with the prefix pointed to $HOME/yasm-temp, then: export PATH=$HOME/yasm-temp/bin:$PATH
[23:04] <mgeary> already done, though i just compiled to /usr/local
[23:10] <pasteeater> mgeary: you might find this use(ful|less) http://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[23:10] <mgeary> oh, nice
[23:10] <mgeary> i'm "make"-ing ffmpeg now, but if i hit a snag, i'll use that
[23:11] <mgeary> i'm realizing i forgot ogg support, but that might be okay
[23:12] <pasteeater> libogg is requited if you compile libtheora and libvorbis, IIRC
[23:23] <mgeary> hrm. now i'm getting this:
[23:23] <mgeary> ffmpeg: error while loading shared libraries: libx264.so.120: cannot open shared object file: No such file or directory
[23:23] <mgeary> but it's there in /usr/local/lib/
[23:23] <Mavrik> you're missing x264 and/or you forgot to run sudo ldconfig
[23:24] <mgeary> when/where do i run ldconfig? i didn't do that
[23:24] <mgeary> i do have x264, but i don't seem to have ldconfig in my path
[23:25] <relaxed> sudo /sbin/ldconfig
[23:25] <Mavrik> if you're on linux it refreshes the shared library loader database
[23:25] <mgeary> what directory should i be in ? ffmpeg's?
[23:25] <mgeary> and do i need to recompile after doing that?
[23:26] <relaxed> nope
[23:26] <mgeary> then something is wrong
[23:26] <mgeary> ran it, got no output, still getting that error
[23:26] <Mavrik> then your library path is broken
[23:26] <mgeary> in my env?
[23:27] <mgeary> or in the configure of ffmpeg?
[23:27] <Mavrik> in your env
[23:27] <relaxed> mgeary: do you have the file /etc/ld.so.conf
[23:27] <mgeary> shouldn't my configure have broken?
[23:27] <Mavrik> what you're seeing is the shared library loader error
[23:27] <Mavrik> not ffmpeg configuration
[23:27] <mgeary> relaxed: i do
[23:27] <Mavrik> meaning - when loading ffmpeg binary, the shared loader can't find libx264.so.120
[23:28] <Mavrik> do ld.so.conf or LD_LIBRARY_PATH is wrong
[23:28] <relaxed> mgeary: sudo echo "/usr/local/lib" >> /etc/ld.so.conf; sudo ldconfig
[23:28] <Mavrik> or something else (use ldd to see which libs aren't found)
[23:32] <mgeary> bingo. thanks, guys
[23:34] <mgeary> hrm. shoot. now i'm getting this:
[23:34] <mgeary> http://dpaste.com/704152/
[23:34] <mgeary> "libfaac doesn't support this output format"
[23:35] <Mavrik> IIRC libfaac has problems with mono output
[23:35] <mgeary> simple fix?
[23:36] <Mavrik> switch to stereo.
[23:36] <mgeary> -ac 2 ?
[23:37] <mgeary> sure enough
[23:37] <mgeary> of course, that's bulking up my file unnecessarily, isn't it?
[23:38] <Mavrik> yeah but you don't really have much choice :)
[23:38] <Mavrik> you can try using internal experimental aac encoder, but that one was pretty broken last time I tried it
[23:41] <mgeary> should i worry about "could not find codec parameters" messages?
[23:43] <Mavrik> yep. :)
[23:44] <mgeary> how do i get the info i need to fix whatever is going on there?
[23:46] <Mavrik> it's usually all in the output info
[23:46] <Mavrik> just look few lines up :)
[23:46] <mgeary> hrm. 0 channels
[23:47] <mgeary> ah
[23:47] <mgeary> source file is zero byes
[23:47] <mgeary> that'll do it, i suppose :)
[23:54] <burzum> hi
[23:55] <burzum> is there a way to autodetect how many channels (audio files only) a file has and set the output file to have the same channels?
[23:56] <Mavrik> that should be done automatically when you don't pass channel number to encoder
[23:57] <burzum> ok cool thanks
[00:00] --- Fri Feb 17 2012


More information about the Ffmpeg-devel-irc mailing list