[Ffmpeg-devel-irc] ffmpeg.log.20131125
burek
burek021 at gmail.com
Tue Nov 26 02:05:01 CET 2013
[05:35] <muteboy> hi, I want to rotate a video 90 clockwise, but i ca't get it to work
[06:31] <SSlater> I'm having trouble selecting the right settings for recording a security camera stream.
[06:32] <SSlater> I have tried various formats, codecs and containers with mixed success.
[06:34] <SSlater> At the moment the quality is acceptable but the video pauses, then goes quicker to catch up, but the audio is fine.
[06:35] <SSlater> I am using ffmpeg-0.6.5-1.el6.rf.x86_64 and the output is at http://pastebin.com/dgVqKyPq
[06:36] <SSlater> If someone could offer advice or direction, it would greatly appreciated.
[06:54] <SSlater> There are a few other curious happenings that have caused dismay.
[06:56] <SSlater> On the same stream, using copy audio and video codecs and mp4 container, the terminating error message is :st:1 error, non monotone timestamps ; av_interleaved_write_frame(): Operation not permitted
[06:57] <SSlater> Yet changing only the container to mkv the terminating error is: Can't write packet with unknown timestamp ;av_interleaved_write_frame(): Invalid data found when processing input
[07:02] <SSlater> At other times the error for a mp4 container is: st:0 error, pts < dts ; av_interleaved_write_frame(): Operation not permitted
[08:42] <cbsrobot> SSlater: ffmpeg-0.6.5 seems to be from stoneage (at least 3 years old)
[09:06] <SSlater> cbsrobot: G'day. It is from the latest update. I'll check though.
[09:07] <SSlater> I wondered why it had different options to the F19 version.
[09:19] <SSlater> cbsrobot: Once I get the version sorted out, what would the optimal codecs and container be to maintain best quality and smooth video with keep audio in sync?
[10:21] <brontosaurusrex> trying to burn srt subs into video and this is what i get https://dl.dropboxusercontent.com/u/79532365/ffmpeg-20131125-101509.log.zip , no specific errors spoted, only subs are not burned at all, clues? (warning, big log file)
[10:49] <Logicgate> hey guys
[10:49] <Logicgate> Requested output format 'ffmetadata' is not a suitable output format
[10:50] <Logicgate> I get this error when trying to run this command on an mp4: ffmpeg -i test.mp4 -f ffmetadata metadata.txt
[10:50] <Logicgate> any reason for that
[11:06] <brontosaurusrex> added export FONTCONFIG_PATH=/opt/X11/Lib/X11/fontconfig
[11:07] <brontosaurusrex> before ffmpeg call and victory
[11:13] <saste> Logicgate, ffmeta?
[16:11] <Logicgate> ffmeta yes
[16:56] <Logicgate> Is anyone here
[17:00] <Bombo> Logicgate: nope
[17:01] <Logicgate> Bombo, when I try extracting the metadata using the -f ffmetadata i get an error saying the format doesn't exist
[17:01] <Logicgate> Is there a way to install other formats?
[17:01] <Logicgate> I thought ffmetadata came standard with ffmpeg
[17:02] <Bombo> Logicgate: ffmpeg -formats|grep meta
[17:03] <Logicgate> it's not in there
[17:03] <Bombo> Logicgate: maybe just your ffmpeg version doesn't have it then
[17:03] <Bombo> try newer version
[17:03] <sacarasc> Logicgate: What version are you using?
[17:15] <Logicgate> sacarasc, I'm reinstalling give me a sec
[18:59] <Logicgate> undefined reference to `x264_encoder_open_140'
[18:59] <Logicgate> i give up
[18:59] <Logicgate> tried recompiling 50 times and reinstalling
[19:00] <Logicgate> i have the latest x264 from git
[19:00] <klaxa> do you have the latest ffmpeg from git?
[19:00] <JEEB> that means your headers are from that one
[19:00] <JEEB> but whatever you're doing now couldn't find the library
[19:00] <Logicgate> klaxa, yes I do.
[19:01] <JEEB> do you get that during configure or does configure pass?
[19:01] <Logicgate> configure passes.
[19:01] <JEEB> so it is during linking? or during running?
[19:01] <Logicgate> during make
[19:01] <JEEB> thus linking
[19:02] <Logicgate> http://pastebin.com/UtT6St5C
[19:02] <JEEB> (and yeah, if it was at runtime it would just complain that it didn't find the library instead of herping a derp at a specific function)
[19:02] <JEEB> funky
[19:02] <JEEB> libavcodec got linked but ffmpeg can't?
[19:02] <JEEB> does that still happen like that if you make clean and make again?
[19:03] <JEEB> or does it fail at linking libavcodec at that point?
[19:03] <JEEB> (you can use make -jNUMBER where NUMBER is the amount of cores you want to use for compilation if you want it to go faster)
[19:04] <klaxa> is it looking in the right places for libx264 ?
[19:04] <Logicgate> let me try
[19:04] <klaxa> maybe configure found libx264 but a different version
[19:04] <Logicgate> klaxa how do i verify the paths?
[19:04] <JEEB> yes klaxa -- something like that most probably
[19:04] <JEEB> but let's see if libavcodec links for whatever reason first
[19:05] <Logicgate> remaking JEEB, just did make clean, and make distclean and reconfigured
[19:06] <Logicgate> a lot faster with 8 cores doing the work
[19:06] <JEEB> yeah
[19:06] <JEEB> you only need one of those cleans, distclean also cleans up the configuration
[19:07] <Logicgate> same crap
[19:07] <JEEB> ok, where does it fail?
[19:07] <Logicgate> http://pastebin.com/mcQiakUV
[19:08] <Logicgate> am I not linking x264 right?
[19:08] <JEEB> now that is weird as hell, those libs are supposed to have libx264 linked into them as they're supposed to be usable
[19:08] <Logicgate> i did ldconfig and all
[19:08] <Logicgate> http://cumulusclips.org/docs/install-ffmpeg-x264-on-centos/
[19:08] <Logicgate> i used this tut to install
[19:08] <JEEB> yes, basically means that you aren't linking in a lib that has the current version of that define
[19:08] <JEEB> pastebin config.log
[19:08] <Logicgate> right
[19:09] <Logicgate> k hold up
[19:10] <JEEB> also I never like it when I have to look at some random who-knows-how-old "tutorials" about ffmpeg compilation :V
[19:10] <JEEB> you never know what kind of derps you'll find
[19:11] <Logicgate> http://pastebin.com/
[19:11] <Logicgate> http://pastebin.com/AKmHLsuj
[19:14] <JEEB> the check_func x264_encoder_encode -lx264 check is supposed to check for this... yet it passes :s
[19:15] <Logicgate> hmmm
[19:16] <JEEB> do you have any other libx264.so or libx264.a files?
[19:16] <Logicgate> humm i don't believe so
[19:16] <Logicgate> let me do a quick seartch
[19:17] <JEEB> or well, libx264* files because the API version is there too
[19:18] <Logicgate> libx264.a no such file or directory
[19:19] <Logicgate> why the hell isn't my find command working
[19:19] <Logicgate> those files exist
[19:19] <klaxa> where do they exist?
[19:21] <Logicgate> they actually don't
[19:21] <Logicgate> i did locate *libx264* and nothing comes up
[19:21] <JEEB> how did you configure x264 and pastebin its config.log
[19:21] <Logicgate> libx264.a is in the x264 directory
[19:22] <Logicgate> http://pastebin.com/zd8FnHGK
[19:23] <Logicgate> says undefined reference to a bunch of things
[19:23] <JEEB> well, those are a bunch of things you need for the command line app only, not for the library
[19:24] <Logicgate> right
[19:24] <Logicgate> why is it adding a double slash to this path
[19:24] <JEEB> it's just picking up your randomly built libav* libraries there
[19:24] <JEEB> no ideae
[19:24] <Logicgate> /usr/bin/ld: warning: libx264.so.107, needed by /usr/local/lib//libavcodec.so.54, not found (try using -rpath or -rpath-link)
[19:24] <JEEB> *idea
[19:25] <JEEB> anyways, x264 seems to have configured correctly
[19:25] <Logicgate> libavcodec.so is in /usr/local/lib
[19:25] <JEEB> and the library should have been built
[19:25] <JEEB> now the question is why it didn't install it with make install :P
[19:25] <Logicgate> libx264.a is in /usr/local/lib
[19:27] <Logicgate> wrong version of x264 you think?
[19:28] <JEEB> possibly, yes. see its last changed date or equivalent?
[19:32] <Logicgate> JEEB, i changed the path for libs, checking it out
[19:33] <JEEB> I have a bad feeling about this...
[19:33] <JEEB> since that is not what you should do
[19:33] <JEEB> as in, I don't see it helping at all
[19:33] <Logicgate> hmmm
[19:33] <JEEB> unless you indeed had a x264 lib somewhere else
[19:33] <Logicgate> yeah it didn't work
[19:34] <relaxed> Logicgate: OS?
[19:34] <JEEB> anyways, remove all of x264 libs and headers and re-compile and install it
[19:34] <JEEB> to make sure all matches
[19:34] <Logicgate> maybe the library needs to be shared?
[19:34] <JEEB> and make sure no other x264 libraries or headers are available to the compiler
[19:34] <JEEB> no, it does not
[19:35] <relaxed> find /usr -name "*x264*"
[19:35] <JEEB> it should give you a different derp if it needed something like that
[19:35] <Logicgate> http://pastebin.com/qUVvpDdG
[19:35] <JEEB> ooh-kay
[19:35] <JEEB> now that looks more like it
[19:36] <JEEB> remove all of the libx264 files from /usr/loca/lib
[19:36] <JEEB> and the pkgconfig file
[19:36] <JEEB> as well as the headers
[19:36] <JEEB> from /user/local/include
[19:36] <JEEB> then re-build x264 and install
[19:36] <JEEB> with --disable-cli since you only care about the library for ffmpeg
[19:37] <relaxed> a cli is fine too
[19:38] <JEEB> yes, but he doesn't seem to need it and it disables the lavf/etc. checks
[19:38] <JEEB> methinks
[19:39] <Logicgate> so do I make with --disable-cli or not
[19:39] <JEEB> with the enable-static and disable-cli
[19:39] <JEEB> you don't need the cli :P
[19:40] <JEEB> since you are only building x264 for the library, which will be then used via libavcodec->ffmpeg
[19:40] <relaxed> you can have both and `x264 --longhelp` is a good read
[19:40] <Logicgate> rebuilding...
[19:41] <relaxed> but you don't need it
[19:41] <JEEB> generally what people need is in http://mewiki.project357.com/wiki/X264_Settings#preset
[19:41] <JEEB> s/in/on/
[19:43] <relaxed> I've had to revert to using x264 for AVCHDs because for whatever reason tsmuxer does not handle ffmpeg's or libav's output at all now.
[19:43] <Logicgate> new error this time
[19:43] <Logicgate> http://pastebin.com/wQ4tQBbh
[19:43] <relaxed> --extra-ldflags="-ldl"
[19:43] <JEEB> ahaha, that thing
[19:43] <JEEB> yup
[19:43] <relaxed> pass that to ffmpeg's ./configure
[19:44] <relaxed> and stab however decided it should be enabled by default.
[19:44] <relaxed> whoever*
[19:44] <JEEB> there's nothing bad with building it by default
[19:44] <JEEB> and it isn't enabled in the library/cli by default
[19:44] <Logicgate> remaking...
[19:45] <Logicgate> lol why is this so complicated to build anyway?
[19:45] <JEEB> this is relatively simple
[19:45] <relaxed> JEEB: I believe it is
[19:45] <JEEB> relaxed, nope
[19:45] <JEEB> opencl lookahead is NOT and will NEVER be enabled by default
[19:45] <JEEB> *me lookahead
[19:46] <Logicgate> IT WORKED
[19:46] <JEEB> Logicgate, also ask yourself if you needed all those external libraries :P Because most of them are encoders, and I bet you won't be encoding most of those formats any time soon
[19:47] <Logicgate> JEEB, do I need those encoders to convert from that though
[19:47] <JEEB> no
[19:47] <Logicgate> because I'm going to be converting everything to mp4
[19:47] <Logicgate> lol
[19:47] <JEEB> you need DEcoders
[19:47] <Logicgate> gosh darn it.
[19:47] <JEEB> and those are in 99% of all cases inside libavcodec itself
[19:47] <Logicgate> -bash: /usr/bin/ffmpeg: No such file or directory
[19:47] <Logicgate> ??
[19:47] <Logicgate> the install worked and all
[19:47] <Logicgate> did I not do something
[19:47] <JEEB> echo $PATH and see if /usr/local/bin is in it
[19:48] <Logicgate> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[19:48] <relaxed> x264's configure has --disable-opencl, wouldn't that imply it's enabled by default and why it requires --extra-ldflags="-ldl" ?
[19:48] <JEEB> and what did you try to run?
[19:48] <Logicgate> ffmpeg
[19:48] <JEEB> relaxed, it's built by default where possible, yes
[19:48] <JEEB> it's not used
[19:48] <relaxed> that's exactly what I said.
[19:48] <JEEB> no, you implied it was enabled as in enabled while encoding
[19:48] <JEEB> at least that's how it came out
[19:48] <relaxed> no, that's what you assumed.
[19:49] <Logicgate> lol
[19:49] <JEEB> sure
[19:49] <Logicgate> so what do I do now??
[19:49] <JEEB> anyways, I'm pretty sure the .pc file contains -ldl
[19:49] <JEEB> if it doesn't, then that's a bug
[19:49] <JEEB> and dynamic load is needed to load the system's opencl library while not needing it to run
[19:50] <Logicgate> So what went wrong here JEEB
[19:50] <Logicgate> why can't i use FFMPEG?
[19:50] <Logicgate> in cli
[19:50] <relaxed> /usr/local/bin/ffmpeg
[19:51] <relaxed> use the absolute path
[19:51] <Logicgate> can I rig it up so I can use it just as ffmpeg instead ion the cli
[19:52] <Logicgate> do i need to link it?
[19:53] <relaxed> try `reset` or look at `help hash`
[19:55] <relaxed> bash still thinks there's /usr/bin/ffmpeg, which comes before /usr/local/bin/ffmpeg
[19:55] <relaxed> in your $PATH
[19:56] <Logicgate> okay
[19:56] <Logicgate> I did reset
[19:56] <Logicgate> and it didn't work
[19:56] <Logicgate> how can I fix this
[19:56] <Logicgate> can I create a link?
[19:57] <relaxed> just close and reopen your terminal
[19:58] <Logicgate> annnd it works
[19:58] <Logicgate> thanks
[20:07] <Logicgate> all right so new question
[20:10] <Logicgate> http://i.imgur.com/oBsI2e1.png
[20:10] <Logicgate> see the "
[20:10] <Logicgate> the container information and general information
[20:10] <Logicgate> how does one get that with FFMPEG
[20:10] <Logicgate> is that metadata
[20:11] <relaxed> ffprobe -show_streams test.mp4
[20:11] <Logicgate> it has "Performer" "Encoded Data"
[20:13] <Logicgate> doesn't show that no.
[20:14] <relaxed> -show_format
[20:15] <Logicgate> nope
[20:24] <Logicgate> any other idea relaxed??
[21:43] <Rabbitt> hey guys, is there any support coming to C500 raw video?
[21:44] <Rabbitt> and would anyone like samples?
[21:44] <JEEB> poking the issue tracker about that would be a good idea
[21:45] <Rabbitt> sounds good to me
[21:46] <Rabbitt> issue tracker for ffmpeg or libav?
[21:46] <JEEB> you asked on #ffmpeg thus the ffmpeg trac
[21:55] <brontosaurusrex> Rabbitt, what do you record on? just courious ...
[21:55] <brontosaurusrex> (i'am still with my good old 7d)
[21:55] <Rabbitt> I usually just use my T3i
[21:56] <Rabbitt> but I'm adventuring with raw video lately, so it's the t3i + MLdev
[21:56] <brontosaurusrex> i mean c500 raw?
[21:56] <Rabbitt> but I got the opportunity to be involved with a blogger who was working for Canon and setup a C500 to shoot at 120fps
[21:56] <Rabbitt> so I got some very minor sample footage
[21:57] <brontosaurusrex> ok, thanks
[21:57] <Rabbitt> beautiful camera, would prefer a red to it though for how insane it was to setup and do post
[21:57] <brontosaurusrex> red would be easier?
[21:57] <Rabbitt> yeah, the post production software isn't stupidly primitive
[21:58] <Rabbitt> I would prefer simply that the Black Magic cameras would record at higher frame rates
[21:59] <Rabbitt> we had to use external recorders, synced to record 120fps, so that the frames would round robin between the external recorders, then use the Canon raw tool to merge them together again. Frankly I could write a script that's easier to use than the buggy software Canon ships with it.
[21:59] <brontosaurusrex> looking at canon site they think one should edit proxies and push raw directly to grading for conforming
[22:01] <brontosaurusrex> but honestly too really construct a final red camera should be lots more moneys than c500, would that even be in the same rang?
[22:06] <brontosaurusrex> oh well " The Canon C500 still uses a rolling shutter like on the C300 and DSLRs" < no thanks
[22:07] <Rabbitt> https://www.dropbox.com/sh/gsqjxbbabz8th5j/ZrtIZGbfFG Files are still uploading, but some samples are already there, along with the wav & xml
[22:07] <llogan> you could record a bowl of fruit well
[22:11] <brontosaurusrex> A $25.000 camera with rolling shutter, thats *** amazing, lol.
[22:13] <brontosaurusrex> and external raw recorder must be around > $10.000 ?
[22:13] <brontosaurusrex> I think i'll stick with 7d for a while.
[00:00] --- Tue Nov 26 2013
More information about the Ffmpeg-devel-irc
mailing list