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

burek burek021 at gmail.com
Sat Jun 8 02:05:01 CEST 2013


[00:17] <mika_video> how do I do this: I have video files: a.mpg and b.mp4 - I want to produce c.mp4 where the video comes only from b.mp4 but the audio comes only from a.mpg - for info: b.mp4 was produced by ffmpeg from a.mpg, but aq 5 caused dummy audio - it takes 128 kbps but there is no sound. However, sound on the original a.mpg file audio is just fine but there it is 256 kbps mp2.
[00:20] <mika_video> I can see some info at http://ffmpeg.org/pipermail/ffmpeg-user/2011-October/002599.html but there one is a wav file (no video) and the other, I guess, is a video file without audio. But here both files have both video and audio, except that one of the files has odd kind of audio: takes 128 kbps space but the audio is silent.
[00:32] <jdolan> mika_video: i think you want to use -map to specify which streams to keep.
[00:32] <jdolan> pretty easy really.
[00:32] <llogan> mika_video: ffmpeg -i a.mpg -i b.mp4 -map 0:a:0 -map 1:v:0 -codec copy output.mkv
[00:33] <jdolan> ^ yup
[00:33] <llogan> or, if your streams are arranged how i assume, -map 0:1 -map 1:0
[00:33] <jdolan> yea, that's the less confusing syntax.
[00:33] <llogan> http://ffmpeg.org/ffmpeg.html#Advanced-options
[00:34] <jdolan> mika_video: you specify -map once for each output stream. in your case, you want just two streams (video and audio).
[00:34] <jdolan> mika_video: so, exactly what llogan's 2nd line has should work for you.
[00:35] <llogan> it's not too confusing if you try it a few times. -map 0:a:0 = first input:choose audio stream:first (audio) stream
[00:36] <jdolan> true. i guess the console output tends to favor the older syntax.
[00:36] <jdolan> so that's what i'm used to seeing / parsing mentally.
[00:36] <llogan> or -map 0:a -map 1:v if you want all streams of each specific type per input
[00:39] <jdolan> can i influence what ffmpeg does when it encounters dropped frames in .flv?
[00:39] <jdolan> i have an flv stream where audio or video may stop and resume throughout the stream.
[00:39] <jdolan> i'd like for ffmpeg to pad the missing video frames with alpha.
[00:39] <jdolan> is that possible?
[00:43] <mika_video> This gets even more odd! the video file with the problematic audio will be mute when played by kaffeine, but it's sound is just fine when played by dragon player
[00:43] <mika_video> Unfortunately, if I want to see it in full screen mode, kaffeine is the only one that can show the video with reasonable picture quality
[00:44] <jdolan> mika_video: you already got a couple answers. did they help you?
[00:45] <mika_video> Did I forget to specify some command line option to ffmpeg to deinterlace ? Maybe kaffeine has internal knowledge how to deinterlace on the fly while playing but most other players do not
[00:46] <mika_video> I did not test that yet... I did not realize that the audio problem is probably a bug in kaffeine
[00:49] <mika_video> when encoding to h.264, which is better: to use -deinterlace or to use -ilme ?
[01:01] <bparker> can anyone help me determine what format this file is in? it's part of a video that was saved as a sequence of images with audio embedded somehow (might be proprietary): http://184.73.239.56/test.alm
[01:49] <llogan> mika_video: use yadif to deinterlace
[02:17] <y34ojz09> ahoy
[04:12] <mika_video> Are video files produced by kaffeine 0.8.3 by recording DVB broadcasts somehow malformed? Kaffeine itself (at least that old version) plays them ok, but trying to play them with another player: either they do not play at all, or with some players either the picture is totally screwed (is this due to interlace?) and with some players the colors are definitely  not correct ?
[04:14] <bparker> can anyone help me determine what format this file is in? it's part of a video that was saved as a sequence of images with audio embedded somehow (might be proprietary): http://184.73.239.56/test.alm
[04:15] <mika_video> my thoughts: if the old kaffeine itself is the only player that can play correctly what it has previously recorded - probably the best way would be to use old kaffeine's source code to make a program that would "play" the file as fast as possible, but not to screen and sound card, but instead just reproduce every image just the same as it would when showing it on screen but use the picture as input to another program (ffmpeg maybe ?). Then do the
[04:15] <mika_video> same with audio.
[04:17] <mika_video> But kaffeine has been written mostly in C++ ... Isn't there some odd syntax change in C++ so that old C++ source code is not compilable with newest versions of gcc ?
[04:17] <mika_video> There really should exist something like g++-oldsyntax in addition to just plain g++
[04:18] <mika_video> At least g++ 4.4 should be able to compile old source code, but g++ 4.7 fails to do so
[04:24] <bindi> greetings, trying to stream a microsoft HD-3000 webcam using ffmpeg, getting segfaults.. :<
[04:25] <bindi> http://pastebin.com/3PN1MXkB
[04:27] <bindi> uhh
[04:27] Action: bindi builds from source
[04:28] <bindi> oh hey, ppa
[04:28] <ubitux> ppa are old
[04:28] <ubitux> way too old
[04:29] <ubitux> mmh
[04:29] <ubitux> this might help you ^
[04:29] <bindi> hmm
[04:29] <bindi> page sure loads slow :p
[04:31] <bindi> 1) doesn't seem to work
[04:34] <relaxed> 2) is best
[04:34] <bindi> but I have 3.2 something
[04:34] <sacarasc> relaxed: Is 2 yours?
[04:34] <relaxed> But I'm completely biased
[04:34] <relaxed> :)
[04:34] <relaxed> 2.6.26+ means anything above that version.
[04:35] <relaxed> which includes 3.x+
[04:37] <bindi> http://pastebin.com/Tf6tKx8L
[04:38] <ubitux> make sure you push to a matching ffserver too
[04:38] <bindi> derp
[04:38] <bindi> "--disable-ffserver"
[04:43] <relaxed> I'm not sure it can be built statically, so you're on your own.
[04:45] <bindi> FML :)
[07:55] <dinnertime>  Is there anyway to feed text overlay through my webcam stream, for sites like Omegle so I can have The current MPD song displayed at the bottom
[07:55] <dinnertime> #linux pointed me to this channel
[08:00] <relaxed> dinnertime: there's the drawtext filter
[08:01] <dinnertime> Ill try messing around with that... How would I make it so my webcam feed goes through ffmpeg before going to omegle?
[08:13] <thetruthisoutthe> Steve gets a Boner on live TV show - X FACTOR https://www.youtube.com/watch?v=ra-cEPTUQNs looks like girls like dat
[08:15] <relaxed> dinnertime: https://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20capture%20a%20webcam%20input
[08:18] <dinnertime> relaxed, i saw that, but is that acting as a proxy of sort to the stream, or will I have to capture it with that, then output it again to the site?
[08:19] <relaxed> You can probably stream it to the site. Look at "ffmpeg -protocols"
[08:24] <dinnertime> alright, much thanks
[08:37] <DeXa> hi everyone,
[08:37] <DeXa> can someone verify if
[08:37] <DeXa> ffmpeg -y -i input.mp4 -vf "color=color=red at .3:size=640x360 [over]; [in][over] overlay=x='if(gte(t\,2), -w+(t\-2)*20, NAN)':y=0 [out]" output.mp4
[08:37] <DeXa> works on his end?
[08:38] <DeXa> it's taken from the documentation but there is a syntax issue
[08:40] <cbsrobot> DeXa: works without problem
[08:40] <DeXa> version?
[08:40] <DeXa> I get Undefined constant or missing '(' in 't-2)*20,NAN)'
[08:41] <cbsrobot> DeXa: r u on windows ?
[08:41] <DeXa> nope, mac
[08:41] <cbsrobot> I think the "+" has a special meaning there
[08:41] <cbsrobot> hmm
[08:41] <cbsrobot> me too
[08:41] <cbsrobot> what shell ?
[08:41] <DeXa> bash
[08:41] <DeXa> weird...
[08:42] <cbsrobot> what happens if you escape the + ?
[08:42] <relaxed> mac's bash is usually an older version and its defaults are retarded.
[08:42] <cbsrobot> so + -> \+ ?
[08:43] <DeXa> same
[08:43] <cbsrobot> i ahve
[08:43] <cbsrobot> $ bash --version
[08:43] <cbsrobot> GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)
[08:43] <DeXa> GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)
[08:43] <DeXa> dafaq...
[08:43] <DeXa> :)
[08:44] <DeXa> the full error:
[08:44] <DeXa> [Parsed_overlay_1 @ 0x7f8ce1413500] [Eval @ 0x7fff5372f3d0] Undefined constant or missing '(' in 't-2)*20,NAN)'
[08:44] <DeXa> Error when evaluating the expression 'if(gte(t,2), -w+(t-2)*20, NAN)'
[08:44] <DeXa> [Parsed_color_0 @ 0x7f8ce1411cc0] Failed to configure input pad on Parsed_overlay_1
[08:45] <cbsrobot> DeXa: what version of ffmpeg ?
[08:45] <DeXa> ffmpeg version 1.1.2
[08:46] <cbsrobot> DeXa: self compied, macports  or brew ?
[08:46] <cbsrobot> *compiled
[08:47] <DeXa> brew
[08:47] <relaxed> the command runs fine with 4.2.45(1)-release on linux
[08:47] <DeXa> relaxed: thanks
[08:47] <cbsrobot> DeXa: can you upgrade ffmpeg ?
[08:48] <DeXa> sure
[08:48] <DeXa> latest?
[08:49] <cbsrobot> well you can ugrade with brew
[08:49] <cbsrobot> version 1.2.1 is available
[08:50] <DeXa> not available on brew...
[08:50] <cbsrobot> brew info ffmpeg
[08:50] <cbsrobot> ffmpeg: stable 1.2.1, HEAD
[08:50] <DeXa> oh. my bad. had to brew update
[08:50] <cbsrobot> np
[08:51] <cbsrobot> ofc if you want to give head a spin you can follow http://ffmpeg.org/trac/ffmpeg/wiki/MacOSXCompilationGuide
[08:51] <cbsrobot> it's mostly copy paste
[08:54] <DeXa> it's ok. i'm fine with brew  :)
[08:55] <DeXa> side note: brew on mac, best thing ever
[08:56] <cbsrobot> DeXa: best thing after ffmpeg :-)
[08:56] <DeXa> hah... yah
[08:57] <DeXa> same
[08:57] <cbsrobot> wtf
[08:57] <DeXa> maybe i'm doing something wrong
[08:57] <DeXa> ffmpeg -y -i input.mp4 -vf "color=color=red at .3:size=640x360 [over]; [in][over] overlay=x='if(gte(t\,2), -w+(t\-2)*20, NAN)':y=0 [out]" output.mp4
[08:58] <cbsrobot> I copy paste and it works
[08:59] <DeXa> lol
[09:00] <cbsrobot> try tcsh
[09:00] <cbsrobot> brb
[09:00] <DeXa> k
[09:00] <DeXa> http://pastebin.com/5MtW98A0
[09:49] <relaxed> DeXa: http://www.evermeet.cx/ffmpeg/
[09:49] <DeXa> k. checking
[09:52] <DeXa> same outcome...
[09:52] <DeXa> tried tcsh as well
[09:52] <DeXa> http://pastebin.com/Zjfqniu8
[09:54] <relaxed> did you try the latest snapshot?
[09:54] <DeXa> ffmpeg-1.2.1.7z
[09:55] <DeXa> it got to be a shell thing if it works on your machines
[09:56] <relaxed> no, click on the snapshot dir and try the one with the latest date.
[09:56] <DeXa> ok, trying
[09:56] <relaxed> you were using the same version as cbsrobot
[09:57] <relaxed> so the only difference could be the ffmpeg versions
[09:57] <DeXa> wow
[09:57] <DeXa> worked!
[09:58] <DeXa> any idea whats wrong with the brew version?
[10:00] <relaxed> There was probably a bug in it or it lacked a certain feature that's now included.
[10:00] <DeXa> i'm not sure... the documentation is pretty old
[10:01] <relaxed> With ffmpeg it's always better to use the latest version from git for this very reason.
[10:02] <DeXa> sure.
[10:05] <DeXa> relaxed: thanks!
[10:05] <DeXa> cbsrobot: thanks also
[10:05] <DeXa> :)
[11:07] <hackeron> hey, I'm trying to compile opencv against ffmpeg, I compiled ffmpeg with ./configure --enable-pic - but opencv make shows: /usr/local/lib/libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9' can not be used when making a shared object; recompile with -fPIC --- Does vc1 not build with pic? - Anyway to disable vc1 with ./configure options?
[11:09] <Mavrik> hmm
[11:09] <Mavrik> --enable-pic should take care of that, even though I did have problem with that before
[11:10] <Mavrik> hackeron, --disable-decoder="vc1" should disable that codec when compiling
[11:12] <hackeron> Mavrik: yeh, that's what I thought :/ - it did for everything else, there were a lot of pic errors not just for vc1dsp_mmx.o - let me try with --disable-decoder="vc1"
[11:12] <Mavrik> there's also mvc1 and vc1image decoders
[11:13] <hackeron> is this right? < --disable-decoder="vc1 mvc1 vc1image"
[11:14] <Mavrik> um, I think it's commas :)
[11:14] <hackeron> ah :)
[11:19] <hackeron> now it says: /usr/bin/ld: /usr/local/lib/libavcodec.a(cavsdsp.o): relocation R_X86_64_PC32 against symbol `ff_pw_42' can not be used when making a shared object; recompile with -fPIC
[11:20] <hackeron> what on earth is that, lol
[11:21] <hackeron> looks like --enable-pic doesn't do a very good job enabling pic. Is there any other way to force -fPIC?
[11:22] <Mavrik> yeah, you can manually set CFLAGS and LDFLAGS
[11:22] <Mavrik> --extra-cflags="-fPIC" --extra-ldflags="-fPIC"
[11:23] <Mavrik> however, you're having problem in ASM code which I'm not sure listens to that parameter
[11:23] <hackeron> hmm
[11:38] <hackeron> I added --enable-shared - full command is: ./configure --enable-pic --enable-shared --extra-ldflags=\"-ldl\" --disable-decoder=\"vc1,mvc1,vc1image\" --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 --extra-cflags=\"-fPIC\" --extra-ldflags=\"-fPIC\" --- now opencv goes past where ...
[11:38] <hackeron> ... it was stuck, lets see if it finishes compiling :D
[12:08] <relaxed> hackeron: why are you quoting the quotes?
[12:42] <thetruthisoutthe> ah, who knows the author of this cool song? http://www.youtube.com/watch?v=sXYo60tUrtA
[13:04] <hackeron> relaxed: it's running from capistrano
[13:04] <hackeron> finished compiling btw :D
[14:42] <jdolan> what the heck.. i was trying to get ffmpeg to read input from http://localhost/some.jpg, which is a perfectly valid and reachable URL on my environment.
[14:42] <jdolan> it errored with "Connection refused" -- odd, since my web server is not refusing the connection.
[14:42] <jdolan> so googling turns up this: http://superuser.com/questions/560511/ffmpeg-connection-refused
[14:43] <jdolan> and apparently s/localhost/127.0.0.1 fixes the problem (confirmed -- it does)
[14:43] <jdolan> so what the hell does that mean? can ffmpeg not resolve URIs?
[14:46] <jdolan> the web server is apache.
[15:37] <bparker> can anyone help me determine what format this file is in? it's part of a video that was saved as a sequence of images with audio embedded somehow (might be proprietary): http://184.73.239.56/test.alm
[15:49] <bunniefoofoo> bparker, might be indeo video 3.2, file starts with "frmh" which google found in indeo video 3.2 spec: http://multimedia.cx/mirror/indeo3.txt
[16:47] <JT2> compiled ffmpeg, everything worked yesterday, today getting this error: ffmpeg: error while loading shared libraries: libvpx.so.0: cannot open shared object file: No such file or directory
[16:48] <ubitux> that's because you upgraded your library without recompiling ffmpeg
[16:48] <Mavrik> you misplaced your libvpx <(
[16:48] <Mavrik> ;)
[16:48] <JT2> is there a way to fix without recompiling?
[16:48] <JT2> or just point to the upgraded lib?
[16:49] <ubitux> try to add a symlink
[16:49] <ubitux> might break violently though
[16:49] <JT2> in my /usr/local/lib I see libvpx.so.1.2.0
[16:49] <JT2> i tried the symlink lrwxrwxrwx 1 root root        15 Jun  7 10:37 libvpx.so.0 -> libvpx.so.1.2.0
[16:54] <JT2> is re-compiling the only/best option? If so, how can I remove everything and start over?
[17:08] <JT2> what is the best way to install ffmpeg with x264 libvorbis libtheora, libogg libvpx for centos 6.4
[17:08] <JT2> figure it is recompile time
[17:20] <jdolan> JT2: CentOS sucks like that.
[17:20] <jdolan> i had to compile ffmpeg and libfaac and libspeex from source just to get a useful ffmpeg on it.
[17:21] <jdolan> why anyone runs CentOS is beyond me.
[17:21] <JT2> i have it working great on my centos 5.8
[17:23] <Mavrik> um
[17:23] <Mavrik> there are static builds of ffmpeg btw :)
[17:23] <Mavrik> if you have a kernel that's not from stone age
[17:24] <JT2> i think my kernel version is stoneage 2.6.32-358.6.2.el6.x86_64
[17:25] <JT2> would the static builds work?
[17:46] <JT2> okay...recompiling everything. should i use --disable-shared or --enable-shared for ./configure with all the libs?
[17:47] <burek> if you want static
[17:51] <JT2> recompiled without libvpx, all working fine
[17:51] <JT2> libvpx seems to hate centos
[17:51] <JT2> or me
[19:16] <llogan> i guess he didn't know we had centos compile guide
[19:18] <llogan> burek: zeeflo was looking for you a day or two ago looking to help mirror your static builds
[19:18] <llogan> he claimes that gusari was down often, but it's never been down for me IIRC
[19:21] <Emmanuel_Chanel> Hello, all!
[19:21] <Mavrik> llogan, I might be able to help with hosting, what kind of access are we talking about?
[19:23] <Emmanuel_Chanel> I tried to encode Kenkaya Ukon S1EP09. But the latter part is inserted by L-form news bar for waring people of the change of railway schedule. (There was an unexploded bomb on the line.)
[19:24] <Emmanuel_Chanel> Do you know the way to crop such thing on ffmpeg?
[19:24] <llogan> Mavrik: i'm not sure. you'd have to ask burek. maybe no access would be required if it is a "lazy" mirror.
[19:25] <Mavrik> ok, I could probably get a 100/100 ulimited bandwith hosting with couple of tens GB of space here
[19:26] <llogan> sounds good to me
[19:26] <llogan> Emmanuel_Chanel: you could cover the bar with a colored box. simple, but ugly.
[19:28] <Mavrik> or you can crop the video
[19:28] <Mavrik> with crop filter and just keep the part without the ugly bar
[20:14] <burek> llogan, Mavrik, im checking stats for ffmpeg.gusari.org/static and it seems it's around 4-5 K per month
[20:14] <Mavrik> thats 4-5GB or TB?
[20:15] <burek> hits
[20:15] <burek> wait
[20:15] <burek> http://ffmpeg.gusari.org/stats/
[20:15] <burek> admin / eAIO5Ari2se
[20:17] <burek> as much as i can see the bandwidth is around < 300 GB per month tops
[20:18] <Mavrik> mhm
[20:18] <llogan> heh. webalizer. better keep that one up to date. a friends server was once compromized by neglecting updates.
[20:18] <llogan> but he was lazy
[20:19] <burek> i'll change the pass
[20:19] <burek> :)
[20:21] <relaxed> burek: Did you exceed your bandwidth?
[20:21] <llogan> looks like i'm allocated 4133 GB monthly, but i use about 10% of that. i can probably host.
[20:21] <burek> relaxed, no i didnt
[20:21] <burek> just some ridiculous power outages
[20:21] <relaxed> There can only be one!
[20:21] <llogan> i mean mirror.
[20:22] <burek> :)
[20:22] Action: relaxed ddoses burek's server
[20:22] <burek> bandwidth is not a problem really
[20:22] <robertzaccour> How do I capture sound from my speakers with avconv?
[20:22] <burek> just if we could avoid crazy electricians
[20:22] <burek> that would be sweet :)
[20:23] <llogan> my power is very unreliable too due to avalanches (but the server is in another state luckily).
[20:23] <relaxed> you live in Winterfell?
[20:24] <llogan> Winterkill
[20:24] <llogan> guess the game for 5 points
[20:25] <robertzaccour> How do I capture sound from my speakers with avconv?
[20:25] <relaxed> robertzaccour: You would have to use pulse as your input
[20:25] <llogan> robertzaccour: ask in #libav
[20:25] <llogan> we don't support avconv here because it's not from the FFmpeg project.
[20:26] <relaxed> llogan: I give up
[20:30] <llogan> relaxed: Might and Magic IV: The Clouds of Xeen
[20:37] <z_sat> I'm building FFmpeg 1.1 on mingw32 and not seeing any output when I try to run ffmpeg from the command line after build.
[20:38] <z_sat> any ideas on where to search for what's crashing?
[20:52] <robertzaccour> thanks
[21:07] <burek> z_sat, did you try zeranoe's website?
[21:33] <z_sat> burek
[21:34] <z_sat> burek, I wasn't using that but will try...thanks for the tip
[21:38] <JT2> is there something i should be looking at as ffmpeg works from command line but not from a bash script?
[21:39] <zap0> syntax of bash
[21:44] <loopymofo> Does anyone know of a good solution to constantly streaming a .sdp/.flv file to an rtmp:// address, while another instance of ffmpeg simultaneously takes care of converting video files to the said .sdp/.flv file?
[21:44] <loopymofo> http://pastebin.com/J83KM49d <- what I'm using to stream
[21:46] Action: loopymofo wonders if ffserver is what he needs
[21:47] <z_sat> the new build from zeranoe's website still doesn't produce output...config.log:  http://pastebin.com/xrsMs9Jq
[22:16] <JT2> when compiling, should i use --enable-share or --disable-share for the libraries
[22:32] <Mavrik> JT2, depends on what do you want to achieve
[22:32] <Mavrik> and which libraries are you building
[22:33] <JT2> i've been having issues with libvpx so leaving that out but building with libogg, libtheora, libvorbis, x264, etc
[22:34] <Mavrik> JT2, thing is, question is if you want to have split shared libraries (.so files) for each library
[22:35] <Mavrik> or if you want to package everything statically into one huge blob
[22:36] <JT2> which is better? I'm mainly running everything from a bash script called via webpage so user is apache
[22:36] <JT2> upload video, spits out 4 versions for html5 playback
[22:37] <JT2> worked great until this morning
[22:37] <Mavrik> compiling things statically means you don't have other libs to worry about at the expense of a larger binary
[22:37] <Mavrik> it's usually the preferred approach for projects like ffmpeg
[22:38] <Mavrik> basically, you have to make sure _all_ libraries are compiled with --enable-static --disable-shared
[22:38] <Mavrik> so you just get one huge ffmpeg binary that doesn't depend on anything
[22:38] <Mavrik> JT2, or, you can just download a prebuilt static ffmpeg where someone did that for you ;)
[22:39] <JT2> are there prebuilts online?
[22:39] <JT2> i've re-compiled 18 times now
[22:40] <Mavrik> which platform/kernel?
[22:40] <Mavrik> http://ffmpeg.org/download.html
[22:40] <Mavrik> ;)
[22:40] <JT2> centos 6.4 and i believe 2.6.x kernel
[22:40] <Mavrik> look for static builds.
[22:40] <JT2> 2.6.32-358.6.2
[22:41] <Mavrik> http://dl.dropboxusercontent.com/u/24633983/ffmpeg/index.html
[22:41] <Mavrik> for x64/2.6.26+
[22:52] <llogan> JT2: or if you want compile instructions: https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
[22:53] <llogan> but it sound slike that static builds should provide what you want
[22:53] <JT2> that's actually what I used to compile
[22:53] <llogan> and you followed it word-for-word and encountered issues?
[22:53] <JT2> for some reason it would work, then a day later, libvxp.so.0 would give errors
[22:54] <JT2> so i'd recompile...everything worked, then the same issue with libvpx again
[22:58] <llogan> it shouldn't create libvpx.so, IIRC
[23:00] <JT2> i was including it in the ./configure as I use webm conversion a lot
[23:03] <llogan> including what in which configure?
[23:04] <JT2> git clone --depth 1 http://git.chromium.org/webm/libvpx.git cd libvpx ./configure --prefix="$HOME/ffmpeg_build" --disable-examples
[23:15] <llogan> i can't duplicate the issue
[23:22] <Guest35974> Hi, I'm trying to date (aproximately) a video
[23:23] <llogan> Guest35974: sorry, I don't understand what you mean.
[23:23] <Guest35974> using ffprobe I find a metadata like this:
[23:24] <llogan> use a pastebin service (such as pastebin.com) to paste multiple lines.
[23:24] <Guest35974> Writing application: Lavf54.29.104
[23:24] <Guest35974> I thing that this is a lib from ffmpeg, right?
[23:25] <llogan> yes
[23:25] <Guest35974> I'm trying to find the date of this version of Lavf54 (more or less)
[23:25] <saste> Guest35974, and that's the only info you have?
[23:27] <Guest35974> ffprobe file.mp4
[23:27] <Guest35974> avprobe version 0.8.7-6:0.8.7-1, Copyright (c) 2007-2013 the Libav developers
[23:27] <Guest35974>   built on May 20 2013 12:25:19 with gcc 4.7.3
[23:27] <Guest35974> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.mp4':
[23:27] <Guest35974>   Metadata:
[23:27] <Guest35974>     major_brand     : isom
[23:27] <Guest35974>     minor_version   : 512
[23:27] <Guest35974>     compatible_brands: isomiso2avc1mp41
[23:27] <Guest35974>     encoder         : Lavf54.29.104
[23:27] <llogan> what's avprobe?
[23:27] <Guest35974> dunno, it seems that is a different name for ffprobe
[23:28] <saste> Guest35974, the video was encoded with ffmpeg (or libavformat from ffmpeg)
[23:28] <saste> since the micro is >= 100
[23:28] <saste> you should check the doc/APIchanges file
[23:28] <llogan> avprobe is not from the FFmpeg project
[23:29] <Guest35974> I am using the debian package of ffmpeg if this helps
[23:29] <saste> then you can do git log libavformat/version.h and you need to bisect the log until you find the revision which changed the version to 54.29.104
[23:29] <llogan> that package code does not originate from FFmpeg, but from a fork.
[23:29] <saste> then you know that your video is older than the date of the commit
[23:29] <Guest35974> good clue, many thanks
[23:30] <saste> otoh you only know the date of the encoded video, but the video content may have been recorded before, and transcoded then
[23:31] <Guest35974> yes is true, but I'm trying to put the video inside a date lapse at least
[00:00] --- Sat Jun  8 2013


More information about the Ffmpeg-devel-irc mailing list