[Ffmpeg-devel-irc] ffmpeg.log.20111201
burek
burek021 at gmail.com
Fri Dec 2 02:05:02 CET 2011
[00:00] <Toux1> some one has the prob, when type "ffmpeg -filters" show an empty list?
[00:19] <pasteeater> Toux1: are they using ubuntu?
[00:20] <pasteeater> giany: you might get an answer if you give some more useful information
[00:20] <pasteeater> giany: use a pastebin site to show your ffmpeg command and the complete console output
[00:20] <Toux1> Hi pasteeater
[00:20] <Toux1> thank you for your reply
[00:20] <Toux1> no i'm using centos 5.6 with cpanel
[00:21] <pasteeater> pastebin the complete console output from the ffmpeg -filters command
[00:21] <pasteeater> i'm guessing your ffmpeg is too old
[00:22] <Toux1> http://pastebin.com/ccXAQRDq
[00:23] <giany> pasteeater: : http://pastebin.com/pj8GDBpi
[00:25] <pasteeater> Toux1: i believe your ffmpeg is too old
[00:26] <Toux1> jeje yes, but i don't know I can't install it from source compilling and installing, this is the yum install ffmpef and ffmpeg-devel .. i can't install a newest ffmpeg version....
[00:27] <pasteeater> giany: can you also show the output of "ffmpeg -i 'kb1_0.mp4' -f null /dev/null"
[00:27] <pasteeater> Toux1: why can't you compile it?
[00:28] <Toux1> it gives so much errors when I try to install
[00:28] <pasteeater> what kind of errors?
[00:29] <Toux1> let me do a pastebin for show you, thank you pasteeater :-)
[00:30] <giany> pasteeater: http://pastebin.com/u95BYKL5
[00:31] <pasteeater> giany: does your first command actually create an output?
[00:31] <giany> yes, it creates
[00:32] <pasteeater> if it sounds ok you can probably ignore those errors
[00:32] <giany> how can ignore those errors? things is that i run it through a php app
[00:32] <giany> and it stops due to that
[00:32] <pasteeater> but i recommend you pay attention to the other warning: WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
[00:33] <pasteeater> so change -b 250 to -b 250k and same for -ab
[00:33] <giany> let me test
[00:33] <pasteeater> it won't stop your aac decoing errors though
[00:34] <pasteeater> do you have a sample you can provide?
[00:34] <pasteeater> of an input that gives the decoding errors?
[00:34] <giany> you mean kb1_0?
[00:35] <pasteeater> yes
[00:36] <giany> it has aprox 300mb..
[00:37] <pasteeater> maybe you can isolate the audio stream to make a sample since it's the trouble maker.
[00:37] <giany> if i use a smaller mp4 those errors go away
[00:39] <giany> pasteeater: do drop=27671 mean those frames are dropped?
[00:39] <sacarasc> Yes.
[00:40] <giany> well..that sounds bad
[00:41] <Toux1> now no errors pasteeater, but when I type ffmpeg not output on my server
[00:41] <Toux1> http://pastebin.com/7Q1i7p6T
[00:42] <Toux1> I did, ./configure after make and after make install this is the make install output, and server says command not found...
[00:43] <Toux1> I don't know...
[00:43] <giany> Toux1: /usr/local/bin/ffmpeg
[00:43] <giany> probably its there if you did not specify --prefix in the ./configure
[00:43] <Toux1> directory not exists...
[00:44] <giany> updatedb && locate "bin/ffmpeg"
[00:44] <Toux1> and exists
[00:44] <Toux1> root at ns388770 [/usr/local/bin]# updatedb && locate "bin/ffmpeg"
[00:44] <Toux1> /usr/local/bin/ffmpeg
[00:45] <Toux1> root at ns388770 [/usr/local/bin]# ls
[00:45] <Toux1> ./ ffmpeg* ffprobe* flvtool2@ nasm@ peardev* perl@ php-config* qt-faststart@ yasm@
[00:45] <Toux1> ../ ffplay* ffserver* lame* pear* pecl* php* phpize* re2c@
[00:45] <Toux1> exists.. but
[00:45] <giany> but?
[00:45] <Toux1> Says is not a directory
[00:45] <Toux1> I can't enter
[00:46] <giany> just run : /usr/local/bin/ffmpeg
[00:46] <Toux1> ah yes
[00:46] <Toux1> I have output with 0.8.7 installed
[00:47] <Toux1> but when i try run my php script, says command no exists
[00:47] <giany> put the proper path in the script
[00:47] <giany> e.g : /usr/local/bin/ffmpeg
[00:47] <Toux1> how can I do it
[00:47] <giany> go #php :)
[00:48] <Toux1> i have not defined that, I only use exec() and ffmpeg -i and rest of command
[00:48] <giany> there its your problem
[00:48] <giany> instead of ffmpeg -i
[00:48] <giany> put /usr/local/bin/ffmpeg -i ...
[00:49] <Toux1> WOWOWOW, THANK YOU!!!!!!!!!!!!
[00:49] <Toux1> I stay so much hours thinking is not installed
[00:49] <giany> read about linux relative and absolute path
[00:50] <Toux1> Ok, thank you very much both, pasteeater, and you giany :-)
[00:50] <giany> yw
[00:50] <Toux1> I'll do ;-)
[01:01] <giany> pasteeater: any idea what this means : "[libvpx @ 0x8843aa0] Failed to initialize encoder: ABI version mismatch" ?
[01:03] <Toux1> Giany is obligatory have installed ffmpeg-devel?
[01:03] <giany> no, not really
[01:03] <Toux1> mm now says Unknown encoder 'libx264
[01:03] <giany> you need to install it too
[01:04] <Toux1> with yum?
[01:05] <giany> i'm not sure that is in the repos
[01:12] <Toux1> /usr/local/bin/x264: error while loading shared libraries: libavformat.so.52: cannot open shared object file: No such file or directory
[01:14] <giany> ldd /usr/local/bin/x264
[01:14] <giany> you might need to add /usr/local/lib to your ld.conf path and then run ldconfig
[01:14] <Toux1> http://pastebin.com/C17A4gQU
[01:16] <Toux1> where is ld.conf
[01:16] <giany> /etc/ld.so.conf
[01:17] <Toux1> so include /usr/local/lib
[01:17] <Toux1> and run ldconfig another time no?
[01:18] <giany> my ld.so.conf contains this :
[01:18] <giany> /usr/local/lib
[01:18] <giany> after you add that run :ldconfig
[01:19] <Toux1> yes with include not run
[01:21] <Toux1> when I run my ffmpeg command says the same error
[01:21] <Toux1> not found x264
[01:23] <Toux1> must I change the way to call -vcodec libx264 ?
[01:26] <relaxed> Toux1: yes
[01:28] <Toux1> Hi, relaxed
[01:28] <Toux1> actually i'm trying to call this lib with "-vcodec libx264"
[01:29] <Toux1> but says not found, do you know other way? sorry my english, If I type /usr/local/bin/x264 --fullhelp
[01:29] <Toux1> runs
[01:35] <relaxed> does `ffmpeg -codecs 2>&1| grep libx264` return anything?
[01:37] <Toux1> Nop, nothing
[01:37] <relaxed> then ffmpeg wasn't compiled with libx264 support
[01:38] <relaxed> Did you compile it? Distro and version?
[01:38] <Toux1> centos 5.6 , and ffmpeg 0.8.7
[01:39] <Toux1> when i try ./configure --enable-libvpx --enable-libx264 --enable-gpl
[01:39] <Toux1> says ERROR: libvpx decoder version must be >=0.9.1
[01:40] <relaxed> the version installed is too old
[01:40] <Toux1> ERROR: libx264 version must be >= 0.115. now
[01:40] <Toux1> pffff
[01:40] <relaxed> Toux1: uname -a
[01:41] <Toux1> Linux ovhserver 2.6.38.2-grsec-xxxx-grs-ipv6-64 #2 SMP Thu Aug 25 16:40:22 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
[01:42] <relaxed> Toux1: https://sites.google.com/site/linuxencoding/builds
[01:43] <Toux1> and for install how can I install them
[01:43] <Toux1> I download both?
[01:44] <JodaZ_> so i am compiling an old ffmeg (2.4.5) and i get the error "undefined reference to `x264_encoder_encode'" i tried compiling libx264 fresh and installed the debianmultimedia ones for squeeze, and i still get that error
[01:44] <relaxed> Toux1: download the ffmpeg link, unpack and run ./ffmpeg from the directory
[01:44] <Toux1> thank you relaxed for your time and help :-)
[01:44] <Toux1> I'll do now
[01:45] <JodaZ_> i asume an api breakage
[01:45] <JodaZ_> but when was it, and how do i get a version old enough ?
[01:46] <relaxed> JodaZ_: figure out when 2.4.5 was released and check out the source with git based on the date.
[01:46] <relaxed> for both projects
[01:47] <JodaZ_> how do i find out when 2.4.5 was released ?
[01:48] <relaxed> google.com
[01:48] <Toux1> uploading relaxed, by wget get me error
[01:49] <relaxed> what?
[01:50] <Toux1> i 'm uploading the packpage ffmpeg from the google code site you said 2 mins left :-)
[01:50] <relaxed> downloading?
[01:50] <relaxed> :-P
[01:50] <Toux1> hehe :-)
[01:53] <Toux1> mmm ./ffmpeg not runs
[02:07] <ZacS1234> Hi
[02:07] <ZacS1234> is there a list any where of the metadata keys that can be used with mp4 containers?
[02:17] <pasteeater> relaxed: is that your site?
[02:18] <relaxed> pasteeater: yes
[02:29] <pasteeater> relaxed: has anyone actually donated?
[02:29] <relaxed> yes
[02:29] <pasteeater> good
[02:30] <pasteeater> No more Old Milwaukee for you.
[02:31] <relaxed> Nothing's finer on a hot day :)
[02:32] <ZacS1234> how does one set the creation_time metadata value, I have built a string "2011-12-01 01:29:53Z" and I try to set the creation_time key in the Output Format Context Metadata struct but I still get the default timestamp
[02:35] <pasteeater> ZacS1234: i've only used '-timestamp now' to set creation_time
[02:42] <ZacS1234> isnt that deprecated?
[03:30] <kookykookie> is there any where i can get a 0.8.6 source?
[03:35] <Mista_D> How do I get json output from ffprobe? With `ffporbe -print_format json -i test.mp4`I get stdout + empty brackets ):
[03:45] <relaxed> Mista_D: ffprobe -print_format json -show_format -show_streams
[03:46] <Mista_D> relaxed: much obliged. Thank you.
[03:51] <kookykookie> im having trouble compiling a version of mplayer that uses ffmpeg source
[03:52] <kookykookie> it says there is something wrong with libmpdemux/mp_taglists.c
[03:53] <kookykookie> error: 'CODEC_ID_G723_1' undeclared here (not in a function)
[03:53] <kookykookie> error: 'CODEC_ID_G729' undeclared here (not in a function)
[03:59] <kcm1700> http://www.ffmpeg.org/releases/ffmpeg-0.8.6.tar.gz <- 0.8.6 source code?
[04:00] <kookykookie> Thanks =)
[05:01] <kookykookie> i just realize my question isnt really related to ffmpeg
[05:49] <jackyyll> hi i'm trying to configure ffmpeg with --enable-rtmp and it's saying ERROR: librtmp not found
[05:49] <jackyyll> --enable-librtmp*
[06:02] <teratorn> jackyyll: installed rtmpdump/librtmp?
[06:02] <jackyyll> yup
[06:11] <ZacS123> Hi
[06:12] <ZacS123> I can't seem to set the creation_time metadata value. my command is as follows: ffmpeg -i test.mov -vcodec libx264 -metadata creation_time="2011-12-01 16:12:05" output.mp4
[06:13] <ZacS123> the creation_time always comes out as 1970-01-01 00:00:00
[06:18] <relaxed> try date
[06:28] <relaxed> ZacS123: It works using libav
[06:28] <ZacS123> relaxed: does creation_time work for you in libav?
[06:29] <ZacS123> I am using Zeraone's ffmpeg builds
[06:29] <ZacS123> relaxed: also data & creation_time are meant to be used for different things. date does work
[06:30] <relaxed> Yes it does. Here are some builds to test with. http://win32.libav.org/
[06:31] <relaxed> creation_time : 2011-12-01 16:12:05
[06:32] <ZacS123> im just downloading it now
[06:33] <ZacS123> is one generally better off using ffmpeg/libavcodec or libav
[06:33] <relaxed> jackyyll: make sure you install librtmp-dev too
[06:37] <relaxed> ZacS123: I use libav (avconv) and Debian + Ubuntu have moved to libav as well.
[06:59] <ZacS123> relaxed: I get a warning strptime() unavailable on this system, cannot convert the date string.
[06:59] <ZacS123> and the creation_time with avprobe is still 1970
[07:01] <relaxed> ZacS123: Sorry to hear that. It works in linux.
[07:52] <h725> hi, how can i see what codecs are available for the -vcodec option?
[07:57] <kode54> ffmpeg -codecs
[07:57] <h725> ffmpeg: missing argument for option '-codecs'
[07:57] <kode54> huh
[07:57] <kode54> must be a new option
[07:57] <kode54> ffmpeg version 0.8.5.git-38a444e, Copyright (c) 2000-2011 the FFmpeg developers
[07:58] <h725> http://pastebin.com/jvdcDYMR
[07:58] <h725> hm I have 0.5.1
[07:58] <kode54> check the full help page, then
[08:00] <h725> I know it's off topic but how do i get a newer ffmpeg on ubuntu?
[08:01] <kode54> I got this version by installing a devel package instead of the regular flavor of ffmpeg
[08:01] <kode54> but there's probably no such package in ubuntu
[08:02] <relaxed> h725: http://bit.ly/3xSE5
[08:06] <h725> relaxed: thx I'll try that
[08:06] <h725> will take ages on that atom processro
[08:08] <relaxed> h725: Maybe it's time to install a more recent version of ubuntu. Might be faster :)
[08:08] <h725> hm I'm tempted
[08:08] <h725> and I fear that the whole thing does not work anyways :-/
[08:09] <relaxed> the netbook?
[08:10] <h725> no it's an eeepc
[08:28] <ZacS123> what swsScale flag should one use?
[08:32] <relaxed> ZacS123: lanczos or spline
[09:05] <ZacS123> relaxed: in what case would one use one over the ovther?
[09:05] <ZacS123> *other
[09:52] <phpmvc> is there a convenient way to get a newer ffmpeg for my debian distro
[10:00] <cryptopsy> how to convert vob to mp3 ?
[10:00] <cryptopsy> ffmpeg -i my.vob -ab 320 -ac 2 -f mp3 test.mp3 , doesn't work, file is 0 bytes
[10:06] <sacarasc> cryptopsy: Pastebin the complete output.
[10:18] <cryptopsy> sacarasc: http://pastebin.com/ssG2pzfv
[10:19] <sacarasc> WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
[10:19] <sacarasc> Add a k after 320.
[10:19] <sacarasc> So it's -ab 320k
[10:21] <cryptopsy> not necessary
[10:21] <cryptopsy> also doesn't work
[10:21] <cryptopsy> same error
[10:21] <cryptopsy> warnings aren't errors
[10:21] <cryptopsy> i also tried ithout the entire statement
[10:21] <cryptopsy> taken from a command that worked for avi to mp3
[10:21] <cryptopsy> the difference is that theres many vobs here, but there was only one avi
[10:21] <sacarasc> Might need -sn too.
[10:22] <cryptopsy> it doesn't matter
[10:22] <cryptopsy> im extracting audio,
[10:22] <cryptopsy> subtitles don't mean shit
[10:22] <relaxed> cryptopsy: your build lacks libmp3lame support
[10:22] <cryptopsy> what's that supposed to mean?
[10:22] <cryptopsy> that it can't produce mp3's ?
[10:22] <cryptopsy> because it can
[10:22] <sacarasc> Wait a minute... There is no audio stream in that file...
[10:22] <cryptopsy> file ancient-skin.mp3
[10:22] <cryptopsy> ancient-skin.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 48 kbps, 44.1 kHz, Stereo
[10:22] <sacarasc> Just video and 2 subs it looks like.
[10:23] <cryptopsy> there's audio in it because i can listen to it with mplayer
[10:23] <cryptopsy> whatever a 'stream' means
[10:26] <cryptopsy> so what now ...
[10:26] <cryptopsy> mplayer pipe to ffmpeg?
[10:32] <relaxed> cryptopsy: grab the ffmpeg build here. https://sites.google.com/site/linuxencoding/builds , unpack and run ./ffmpeg -i input.vob -sn -vn -acodec libmp3lame -aq 0 output.mp3
[10:35] <relaxed> add -ac 2
[11:12] <cryptopsy> You can use FFmpeg to convert in a terminal window. According to the FFmpeg documentation, you can convert VOB to AVI with "ffmpeg -i snatch_1.vob -f avi -vcodec mpeg4 -b 800k -g 300 -bf 2 -acodec libmp3lame -ab 128k snatch.avi" where "snatch_1.vob" is your VOB file and "snatch.avi" will be your AVI file. You can install FFmpeg by typing "sudo apt-get install ffmpeg" in the terminal.
[11:13] <cryptopsy> by that, the mp3 command will be ffmpeg -i my.vob -f mp3 acodec copy -test.mp3
[11:15] <relaxed> cryptopsy: did you download my build?
[11:15] <cryptopsy> relaxed: no
[11:15] <cryptopsy> didn't see your reply
[11:16] <cryptopsy> what does your build do different?
[11:16] <relaxed> it's build with libmp3lame support which you need to encode the vob's audio to mp3.
[11:17] <relaxed> built*
[11:17] <cryptopsy> i'll just install it with my distro
[11:18] <cryptopsy> relaxed: ffmpeg is built with mp3 support
[11:18] <cryptopsy> + - mp3 : Add support for reading mp3 files
[11:18] <cryptopsy> thanks
[11:18] <cryptopsy> i'll check it out when i get desperate
[11:21] <relaxed> 1) your ffmpeg only has decoding support. 2) my build is a static binary, you don't have to install anything.
[11:21] <relaxed> good luck
[11:26] <cryptopsy> it is compiled with mp3 encoding support
[11:26] <cryptopsy> it works on avi files
[13:08] <kim0> Hi folks .. I have a seemingly corrupted mp4 video file. VLC and mplayer are not able to play it. Is there any magic ffmpeg can do to recover it please ?
[13:09] <relaxed> kim0: try, ffmpeg -i input.mp4 -vcodec copy -acodec copy output.mp4
[13:10] <kim0> relaxed: the main error seems to be: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1879540] stream 0, missing mandatory atoms, broken header
[13:12] <JEEB> well, more than corrupt it looks like you're missing whole chunks of the file then
[13:12] <JEEB> although it doesn't say that you're specifically missing the index part
[13:12] <kim0> umm
[13:13] <JEEB> automatical recovery might be hard
[13:13] <relaxed> maybe add -er 0 in there?
[13:14] <relaxed> ^^ if that works it would be magical
[13:14] <kim0> :) ok trying
[13:15] <kim0> hmm no luck yet
[13:15] <kim0> JEEB: relaxed .. I have similar files recorded by the same cell phone ..
[13:15] <kim0> can I just dd the header from good file to bad file ?
[13:15] <JEEB> not copypasta style, no
[13:15] <kim0> if I know its offset that is
[13:16] <JEEB> you might want to check with l-smash's boxdumper or a similar tool the parse'able parts of the file
[13:16] <JEEB> and compare
[13:16] <JEEB> to a non-broken file
[13:16] <JEEB> the boxdumper pretty much outputs all the container-wise parse'able spots it can find. Positions etc.
[13:17] <kim0> JEEB: does it output it to a "repaired" file ? or am I expected to manually utilize the output data
[13:17] <JEEB> nothing magical
[13:17] <JEEB> it's just a parser
[13:17] <JEEB> it outputs the parse'able information about the file into stdout
[13:17] <kim0> how's that helpful afterwards
[13:17] <JEEB> then you use that information to learn how much if anything is salvage'able
[13:18] <JEEB> kim0, if it can't parse for shit you're pretty much out of luck
[13:18] <JEEB> :V
[13:18] <JEEB> and you can compare the parsing output to a non-broken file from the same encoder/muxer
[13:18] <JEEB> which in this case is your phone (?)
[13:19] <kim0> JEEB: and then .. how do I fix the header
[13:19] <kim0> hexedit ?
[13:19] <JEEB> something along those lines
[13:21] <kim0> JEEB: I just built boxdumper .. ran it .. here's the output: http://paste.ubuntu.com/755945/
[13:21] <kim0> looks good ?
[13:22] <JEEB> the [] []s at the end look pretty non-convincing, but it does seem to have a nice amount of data
[13:22] <JEEB> what was the name of the index box?
[13:22] <kim0> JEEB: where do I see that ?
[13:23] <JEEB> uhh, I'm just generally asking because I don't remember its name
[13:23] <JEEB> having it relatively safe would be a GoodThing
[13:24] <JEEB> you do seem to have the moov and trak boxes tho
[13:24] <JEEB> you should compare to a non-broken file >_>
[13:24] <kim0> any written guide into which bytes to copy .. what data is interesting is much appreciated
[13:25] <kim0> I'm a techie .. but this is all foreign to me
[13:25] <JEEB> you've not even compared the output of that file to a full file >_>
[13:25] <JEEB> also, it all depends on what exactly is broken and if it's lethal
[13:26] <JEEB> I mean, if the index box is borked you're just SoOutOfLuck
[13:27] <JEEB> tl;dr in any case it means effort, and unless it's a really needed file I'd say you just try to make the file not go corrupt :3
[13:27] <JEEB> (and most probably poking the file format's specs as well, in no way this stuff is automated, unless the remuxer app in L-SMASH magically can remux your file)
[13:29] <JEEB> since output from a similar device should be similar (in theory), that is why checking the parse'able output of both the file and a non-borked counterpart is a relatively good idea
[13:30] <JEEB> unless you want to learn parsing the format yourself first completely -.-
[13:30] <kim0> remuxer segfaults :)
[13:30] <JEEB> sounds good
[13:30] <kim0> damn! never thought it'd be THAT hard to recover a video
[13:31] <kim0> I wouldn't mind loosing a few seconds of corruption
[13:31] <kim0> but why loose everything
[13:31] <kim0> it's a 200Mb file
[13:31] <JEEB> depends on what exactly went awry
[13:32] <JEEB> if it was the actual video stream part that got corrupted -- sure that would be something the parser doesn't even care about since it just feeds stuff to the decoder (put very simply, it's not always like that)
[13:34] <kim0> JEEB: are you familiar with: http://vcg.isti.cnr.it/~ponchio/untrunc.php
[13:34] <kim0> does that do what I'm trying to achieve ?
[13:34] <kim0> I built the software .. but it seems to want two files, a bad one and a good one
[13:35] <kim0> no idea where am I supposed to get the good one from
[13:35] <JEEB> which is not surprising
[13:35] <JEEB> you can't just draw conclusions off of a bad file and fix it :P
[13:35] <JEEB> <JEEB> since output from a similar device should be similar (in theory), that is why checking the parse'able output of both the file and a non-borked counterpart is a relatively good idea
[13:36] <JEEB> also, that thing seems to decode the video and audio tracks?
[13:36] <kim0> JEEB: so would you expect that second file it needs, to be just another mp4 from the same device ?
[13:36] <JEEB> -.-
[13:36] <kim0> sorry .. just checking :)
[13:37] <kim0> they're different sizes ..etc
[13:37] <kim0> JEEB: ok will try with that tool, passing it another good file
[13:37] <kim0> JEEB: thanks a lot for the guidance
[13:37] <JEEB> depends on how robust that app is
[13:38] <JEEB> I mean, you can't possibly fix everything there
[13:38] <JEEB> also, you at least had a partial moov
[13:39] <kim0> moov is what contains the actual video (+audio) right ?
[13:39] <JEEB> no, I think it describes how streams etc. are layed out through the file
[15:45] <Abhay1> y question is specific. When I use FFmpeg-5.2 for encoding multichannel audio ac3 it doesnot give me channel layout error, but when i encode ac3 using FFmpeg-8.7 it gives me channel layout error, why?
[17:39] <chrisshattuck> Hi folks, any tips on adding subtitles with ffmpeg? I have SRT files for the subtitles and MP4 video files.
[17:46] <GomGom> when using -preset or -profile for x264 encoding, ffmpeg or avconv complains that the option is invalid, how can i specify that this option really is for x264 and not any other avcodec class with such an option ?
[17:53] <teratorn> hi I have a little program that is just supposed to transcode an input video file to a webm output... but it's not working exactly.. the output plays waaaay too fast, and I was hoping someone could point me in the right direction by looking at the ffprobe output: http://codepad.org/Wtnhh21w
[18:27] <oschonrock> Hi. having trouble with ffmpeg & x11grab after upgrading to ubuntu 11.10 and the new nvidia 280.13 driver. All works brilliantly, except that when capturing a browser session the drop on <select> widgets is captured "erractically" without the backgrond layer. In the resulting video the drop down is not readable. ffmpeg version is latest git, command line is
[18:27] <oschonrock> ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i "$screen_no" -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 "$filename".mkv
[18:27] <oschonrock> anyone seen this before?
[18:28] <konr> Can you recommend me some good libraries to write video manipulation programs?
[18:29] <teratorn> konr: ffmpeg?
[18:30] <konr> teratorn: interesting...
[18:30] <konr> haha
[18:30] <oschonrock> I am seening this symptom using both firefox 8 and chrome 14
[18:32] <oschonrock> have googled around like mad, and can't find anything on it myself....feels like some re-paint event/ sync issue somewhere between the nvidia-driver/X11 and ffmpeg
[18:33] <konr> teratorn: can I change the pixels and do things like creating a a box around the subtitle characters?
[18:34] <teratorn> you can certainly change pixels... I'm unsure about subtitle effects
[18:34] <teratorn> can anyone see what I'm doing wrong that the output webm plays too fast? http://codepad.org/StC97578
[18:42] <SMJ> how do I capture video at hd1080 and scale it down to hd720?
[18:43] <SMJ> okay, I think I found it
[19:26] <pasteeater> SMJ: 'ffmpeg -i input -vf scale=-1:720 output' if you didnt figure it out
[20:04] <teratorn> do players get a "starting" pts value from headers or just from the first packet?
[21:20] <ralinux> why it does not works "ffmpeg -i x.mp4 y.mp3"??
[21:20] <ralinux> hello,
[21:21] <ralinux> is this really ffmpeg channel?
[21:22] <relaxed> no, I created this channel and filled it with bots
[21:22] <relaxed> paste your command and output to pastebin.com and maybe on of the bots will help you.
[21:23] <relaxed> one*
[21:25] <ralinux> http://pastebin.com/pKKK58ch
[21:25] <ralinux> come on bots come on, plz
[21:26] <pasteeater> hello. this is bot #15.
[21:26] <sacarasc> Beep. No MP3 encoder. Beep.
[21:26] <pasteeater> bot #27 is a faster typer than bot #15.
[21:27] <hi117> oh wow, fancy
[21:27] <pasteeater> ralinux: if you're too lazy to fix your ffmpeg, then pipe to lame: ffmpeg -i input -f wav - | lame - output.mp3
[21:28] <ralinux> Beep Beep
[21:28] <ralinux> I'd like to fix my ffmpeg but I don't know how.
[21:28] Action: relaxed answers in r2d2 nosies
[21:28] <pasteeater> did you compile ffmpeg, or is it from your distro repo?
[21:29] <ralinux> from my distro repo tgz slackware
[21:29] <sacarasc> Slackware, easy to compile for!
[21:29] <pasteeater> and they don't --enable-libmp3lame?
[21:30] <sacarasc> ralinux: Do you have lame installed?
[21:30] <hi117> or maybe he didnt have mp3lame installed at compiletime
[21:30] <pasteeater> oh...--enable-memalign-hack. that tells me the maintainer doesn't know what he's doing because that's an option for windows, IIRC.
[21:30] <ralinux> yes in /usr/bin/
[21:31] <ralinux> curiosly under puppylinux this works perfectly
[21:31] <pasteeater> go find andrew.46 in slack irc and ask for a better slackbuild script.
[21:32] <relaxed> Is andrew slacking again?
[21:32] <relaxed> har har :)
[21:33] <pasteeater> or you could be lazy and use relaxed static build
[21:34] <relaxed> I'm going to write a bash script that asks a few questions and compiles ffmpeg git. Then collect millions...
[21:34] <sacarasc> Will it use something like checkinstall to make packages for various distros?
[21:35] <relaxed> No. It will be distro agnostic and install to the users home dir with a wrapper script for the libs.
[21:36] <ralinux> finally the ffmpeg keeps ko
[21:38] <relaxed> Hmm, I'll also have it ask if you want ffmpeg or libav (or both ;-)
[21:39] <ralinux> libav??
[21:39] <pasteeater> that would just confuse users. and i don't see much of an advantage of doing that anyway
[21:42] <relaxed> sacarasc pasteeater will you guys test it and give feedback?
[21:42] <pasteeater> sure
[21:42] <sacarasc> I could, sure.
[21:43] <relaxed> I'll start writing then.
[21:44] <pasteeater> and i'll finally get off my ass and do a centos compile guide and add it to the ffmpeg compile wiki section
[21:44] <pasteeater> https://ffmpeg.org/trac/ffmpeg/wiki/CompilationGuide
[21:44] <pasteeater> also the filtering guide is new. you guys should contribute to that if you like
[21:44] <pasteeater> https://ffmpeg.org/trac/ffmpeg/wiki/FilteringGuide
[21:44] <pasteeater> it's a bit disorganized, but it's better than nothing
[21:53] <brontosaurusrex> pasteeater, very nice, does it matter where scaling filter is in the chain? (like before input or before output)
[21:55] <pasteeater> i think it is ignored if you apply it as an input option
[21:55] <brontosaurusrex> ok
[21:58] <brontosaurusrex> uf, and volume is no longer 0-265 ?
[22:11] <j_off> does ffmpeg support joining video files
[22:17] <sacarasc> Yes, but it's not very good at it.
[22:19] <j_off> how is it not good
[22:20] <sacarasc> It doesn't work with all file types. It is basically cat file1 file2 | ffmpeg -i -
[22:28] <j_off> cat ?
[22:28] <j_off> what does that have to do with ffmpeg
[22:28] <sacarasc> That's basically how ffmpeg joins files.
[22:29] <j_off> what is cat
[22:29] <sacarasc> cat - concatenate files and print on the standard output
[22:29] <j_off> does ffmpeg support cutting out commercials
[22:30] <brontosaurusrex> sacarasc, so i guess ffmpeg is there only to rewrite headers
[22:30] <sacarasc> You can cut out parts of a file with ffmpeg, but there are better tools for the job.
[22:30] <j_off> what tool
[22:52] <j_off> what is best tool to cut out commercials
[23:02] <beandog> probably avidemux
[23:02] <beandog> j_off
[00:00] --- Fri Dec 2 2011
More information about the Ffmpeg-devel-irc
mailing list