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

burek burek021 at gmail.com
Tue Apr 2 02:05:01 CEST 2013


[00:25] <stqn> viric: youre not testing if f is null, thats the only obvious thing& but I have never used those libs and couldnt find the documentation.
[04:06] <zipper> Looking to join 2 videos together end on end,  ffmpeg -i G:\recordings\1.avi -i G:\recordings\2.avi  -acodec copy -vcodec libx264 -crf 28 -preset ultrafast G:\recordings\ploo.mkv re-encodes 1.avi but does no joining
[04:06] <zipper> how can I join the two videos together
[04:14] <sacarasc> http://ffmpeg.org/faq.html#How-can-I-join-video-files_003f
[04:38] <zipper> sacarasc: So I've now got that working but now I've got a really strange issue. I've got two files which look identical in notepad (http://i.imgur.com/46Pf9mw.png) but one works (the one I handwrote) and the other (generated by Visual Basic) doesn't. FFMPEG gives the following error :( http://i.imgur.com/3IvKKUf.png
[04:39] <zipper> I'm guessing it's something to do with the encoding of the text, but I have no idea how to test that
[04:40] <sacarasc> Looks like you have an invisible character at the start of the line.
[04:40] <sacarasc> Also, text is preferable to images when it comes to errors.
[04:40] <zipper> sacarasc: I'm sorry, I just didn't want to copypaste multiline text
[04:41] <zipper> noted
[04:48] <zipper> sacarasc: Okay, this isn't strictly FFMPEG related but this is extremely strange, I've enabled showing all symbols in notepad++ and there are no hidden symbols in front of file, and the file is identical to the one that works, yet both produce different outputs
[04:49] <sacarasc> I don't know, then.
[04:51] <zipper> sacarasc: Thanks for your help, either way. This is weird
[04:54] <zipper> even the MD5s are different, whyyyyy
[04:57] <zipper> For future reference, it was the encoding of the file. Stupid Microsoft can't standardise on how to write a bloody text file.
[09:36] <Catoptromancy> moo
[10:00] <Fjorgynn> moo
[10:18] <voltagex> Hi, I'm trying to select a specific PID out of a DVB-T TS file, and ffmpeg refuses to copy the stream because of the DVB subtitle stream
[10:19] <voltagex> I get Encoder (codec none) not found for output stream #0:2
[10:20] <voltagex> I can drop the subtitles out of the output, but is there a way to copy them or dump them to text?
[10:25] <voltagex> ah, it looks like it might be the EPG data
[10:29] <voltagex> so what can I do with an unsupported stream type?
[10:44] <mudkipz> Hello, I have a question about -crf. Are we still supposed to be passing it through the command line directly or is there some other way?
[10:44] <mudkipz> I was asking because I noticed it's not listed in the documentation.
[10:45] <mudkipz> I'm asking in the context of encoding in x264, by the way.
[10:45] <Mavrik> um, just how would you pass it in another way?
[10:46] <mudkipz> Well, I have absolutely no understanding how "profiles" work, so I kind of figured it could be through those.
[10:46] <Mavrik> also, it is listed in documentation: http://ffmpeg.org/ffmpeg-codecs.html#libx264
[10:46] <Mavrik> no.
[10:46] <Mavrik> crf is your quality setting
[10:47] <mudkipz> ohhh, I searched for "-crf" instead of just "crf", my bad.
[10:47] <Mavrik> there's no other way of passing it besides you telling ffmpeg exactly how big / which quality your video is :9
[10:47] <Mavrik> :)
[10:47] <Mavrik> mudkipz, it's actually x264 specific, that's why it's in codec doc ;)
[10:47] <mudkipz> actually no wait I was searching in the wrong section.
[10:47] <mudkipz> I see
[10:47] <mudkipz> thanks a lot.
[10:47] <Mavrik> you use either crf or you pass target bitrate
[10:48] <viric_> hm question from yesterday... this my code segfaults, on decode audio, and I don't know why: http://sprunge.us/IRjU
[10:48] <mudkipz> right, or crf with vbv ratecontrol stuff.
[10:48] <viric_> I used the doxygen documentation, and I don't know what I am doing wrong
[10:48] <viric_> can anyone spot the obvious?
[10:49] <Mavrik> viric_, you're not initializing (or finding, or opening, or selecting) your decoder anywhere
[10:50] <Mavrik> mudkipz, "profile" determines how "complex" your output stream is (since some devices have limitations)
[10:50] <Mavrik> mudkipz, and "preset" determines just how much CPU x264 will use... usually slower preset means more quality at same bitrate/crf
[10:51] <mudkipz> oh, I see
[10:51] <mudkipz> is there some documentation I can look at to try and gain an intuition for how to choose a profile?
[10:52] <mudkipz> oh wait, I see there aren't that many.
[10:53] <Mavrik> mudkipz, there's only three profiles
[10:53] <Mavrik> baseline, main, high
[10:53] <Mavrik> rule of thumb is - don't pass the profile
[10:54] <mudkipz> hahaha, I see.
[10:54] <Mavrik> unless you know people will be watching your video on a device that only supports baseline (or main if you're doing HD)
[10:54] <Mavrik> setting profile to baseline does terrible things with video quality :)
[10:54] <Mavrik> sadly, it's necessary for some older phones :)
[10:54] <mudkipz> oh, I suppose that makes sense.
[10:56] <Mavrik> <shameless self-promotion> https://www.virag.si/2012/01/web-video-encoding-tutorial-with-ffmpeg-0-9/
[10:56] <Mavrik> maybe that can help you ;)
[10:57] <mudkipz> Thanks
[12:34] <kippi> hey
[13:02] <kippi> will ffmpeg do silence detection? I have found a couple of examples but they are not working, http://pastebin.com/5C4d1bMQ
[13:06] <ubitux> ffmpeg -i in.mp3 -af silencedetect -f null - will work with a recent ffmpeg
[13:14] <kippi> going to get ffmpeg
[13:18] <Mavrik> kippi, there are static builds available if you need them :)
[13:21] <viric> Mavrik: oh thank you!
[13:21] <viric> Mavrik: can you point me to what function does that?
[13:21] <viric> initialise the decoder
[13:22] <Mavrik> viric, check the decoding example in doc/eamples :)
[13:22] <Mavrik> you need to find decoder and open it
[13:22] <Mavrik> after you find the stream you're interested in
[13:23] <viric> ah ok
[13:23] <viric> I checked the audio decoding
[13:23] <viric> example
[13:23] <viric> but it doesn't involve demuxing
[13:24] <Mavrik> ah :)
[13:25] <Mavrik> viric, check the code under "find the mpeg audio decoder"
[13:26] <Mavrik> viric, you just need to replace AV_CODEC_ID_MP2 with AVStream's codec_id
[13:26] <Mavrik> so you get the right decoder for your stream
[13:26] <Mavrik> basically you just need to call avcodec_find_decoder(stream->codec_id);
[13:26] <Mavrik> and then avcodec_open2(context, codec, NULL)
[13:27] <viric> how do I get the stream I want?
[13:27] <viric> av_find_best_stream?
[13:28] <Mavrik> yeah
[13:28] <viric> so I've to replace only avcodec_alloc_context3 to avcodec_open2
[13:28] <Mavrik> um no, you still need to allocate the context :)
[13:28] <viric> ah ok
[13:28] <Mavrik> you just need to pass that allocated context to avcodec_open2 which will fill it with right data for decoder :)
[13:29] <viric> ok! No crash
[13:29] <viric> but:
[13:29] <viric> [pcm_s16le @ 0xa17e20] PCM channels out of bounds
[13:29] <viric> failed avcodec_open2
[13:29] <Mavrik> huh
[13:29] <Mavrik> interesting :)
[13:29] <Mavrik> viric, can you do a ffprobe on your input and paste the output here? :)
[13:30] <viric> Input #0, alsa, from 'default':
[13:30] <viric>   Duration: N/A, start: 1364815806.552495, bitrate: 1536 kb/s
[13:30] <viric>     Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[13:30] <Mavrik> oh.
[13:30] <Mavrik> that's raw audio.
[13:30] <viric> yes
[13:31] <viric> bad?
[13:31] <Mavrik> not really, it seems your code doesn't detect number of channels properly
[13:31] <Mavrik> can you set channels = 2 and sample_rate = 48000 before opening decoder?
[13:32] <viric> my code is: http://sprunge.us/DCcM
[13:32] <viric> how to set that? in the AVDictionary?
[13:32] <Mavrik> viric, on dctx after you allocate it
[13:33] <viric> ok, now I get error in decode_audio4
[13:34] <viric> (4096)
[13:34] <viric> #define FF_BUG_DC_CLIP          4096
[13:35] <Mavrik> viric, um, is it a positive number you get from decode_audio4?
[13:36] <viric> yes
[13:36] <viric> positive
[13:36] <Mavrik> viric, that's not an error :)
[13:37] <Mavrik> it returns the amount of bytes it decoded from input
[13:37] <Mavrik> (in case you need to call it several times to decode full packet)
[13:37] <viric> ahhh
[13:37] <viric> nice
[13:37] <viric> How can I get the number of channels and rate from the demuxer?
[13:38] <Mavrik> hmm, sec :)
[13:38] <viric> thank you!
[13:39] <Mavrik> viric, AVStream->codec fields should be populated
[13:39] <viric> hm so?
[13:40] <viric> what is AVStream?
[13:40] <Mavrik> structure representing the stream you chose?
[13:40] <viric> and why 'av_find_best_Stream' doesn't populate the codec I give to it?
[13:40] <viric> I choose it with av_find_best_stream :)
[13:40] <Mavrik> and?
[13:40] <viric> that doesn't give me AVStream
[13:40] <Mavrik> your input has several streams represented with AVStream structure
[13:41] <Mavrik> and those AVStreams actuall have codec contexts initialized
[13:41] <viric> Ah
[13:41] <Mavrik> so as I see here you don't even have to allocate them
[13:41] <viric> where can I get an AVStream from?
[13:41] <Mavrik> format context :)
[13:41] <viric> ah is it a public structure?
[13:41] <Mavrik> yep
[13:41] <Mavrik> in your code
[13:41] <Mavrik> fctx->nb_streams (number of streams)
[13:42] <Mavrik> fctx->stream[stream_number]
[13:42] <viric> ahh
[13:42] <Mavrik> viric, and av_find_best_stream doesn't return an error
[13:42] <Mavrik> it returns the stream number of the stream it chose
[13:42] <Mavrik> you'll need to read the docs on returns more carefully :)
[13:43] <viric> perfect!
[13:43] <viric> It works
[13:43] <viric> ah, we all know the solution 'read more carefully' :)
[13:43] <viric> I didn't expect all functions to return integers in different patterns
[13:43] <viric> thank you a lot Mavrik
[13:44] <viric> Now I'll definitely care more on the return values.
[13:44] <Mavrik> yeah, sadly the return values aren't consistent usually
[13:44] <Mavrik> even though, they all return <0 when there's an error
[13:44] <viric> ok
[13:44] <viric> some say "when not 0"
[13:44] <viric> ok
[13:45] <viric> I'm trying to use ffmpeg for portable audio input, portable audio output...
[13:45] <viric> And then I'll do a bit of speex echo cancellation in the middle.
[13:45] <viric> but it's the first time I write an audio thing
[13:45] <viric> or media, in fact. So let's see how it goes.
[13:45] <Mavrik> hehe yeah, not easy to start with the API :\
[13:45] <viric> so far so good.
[15:16] <ServerCrash> hi, whats the best method to encrypt a video file, read a chunk encrypt it and write it file, then read again a chunk and append to outfile, or just use any encrypter tool or command and encrypt the entire file using them
[15:17] <ServerCrash> i have encrypted a file uses av_aes_crypt using chunk by chunk
[15:17] <ServerCrash> and then read back the same file chunk by chunk (same size chunks)
[15:17] <ServerCrash> i found that some of the information are getting lost
[15:18] <ServerCrash> what should be a good chunk size ?
[15:18] <kippi> where does the public log of this channel get stored?
[15:19] <Mavrik> ServerCrash, that depends on the encryption  algorithm
[15:19] <Mavrik> ServerCrash, AES (which you're using) uses block sizes of 128bits
[15:19] <ServerCrash> Mavrik, i am using plain av_aes_crypt with 256bit key
[15:19] <Mavrik> if you're using CBC mode
[15:19] <Mavrik> you need to structure your read/write to 128bit (or multiples) blocks
[15:19] <ServerCrash> no its not CBC mode as of now
[15:21] <ServerCrash> ok let me try with buf_size=256
[15:27] <kippi> someone gave me a command for silence detection but my irc crashed could someone copy it to me please
[15:28] <Fjorgynn> kippi: when?
[15:29] <Fjorgynn> 13:06:21 <@ubitux> ffmpeg -i in.mp3 -af silencedetect -f null - will work with a recent ffmpeg
[15:29] <Fjorgynn> 13:05:48 < fflogger> http://stackoverflow.com/a/9477756/1109017
[15:30] <kippi> Fjorgynn, your a star!
[15:31] <Fjorgynn> :)
[15:31] <Fjorgynn> what does that command do `?
[15:32] <kippi> not sure yet, having to build ffmpeg as i am using ubuntu and it's not real ffmpeg
[15:33] <Fjorgynn> why do you want to detect silence?
[15:50] <kippi> want to check a stream i have
[15:53] <Fjorgynn> kippi: ok.
[15:53] <kippi> will ffmpeg detect motion?
[17:22] Last message repeated 1 time(s).
[18:04] <viric> mh
[18:05] <viric> is it normal to have to adapt frame sizes from one input to one output?
[18:05] <viric> can ffmpeg decoders provide me with the frame size *I want* ?
[18:26] <param> hello guys.. I am working on integrating Ffmpeg in Android
[18:26] <param> is it possiable for crop the video in android using ffmpeg?
[18:26] <param> please let me know
[18:42] <viric> param: I guess there are ffmpeg filters for that, yes
[18:44] <param> ffmpeg filters .. in android ?
[18:44] <param> viric: ping
[18:44] <viric> how does it matter, android?
[18:47] <param> i am making mob app android version
[18:48] <param> so i found the only way of cropping video is on Ffmpeg android version
[18:48] <param> so you have any idea about that  viric
[18:48] <relaxed> there needs to be an android/ffmpeg forum or something.
[18:48] <relaxed> Because I fear you guys keep reinventing the wheel
[18:49] <viric> I don't know what's special in android, about ffmpeg
[18:49] <relaxed> well, I doubt most are using ffmpeg specifically
[18:50] <relaxed> but I guess using the libs is the same despite the platform
[18:51] <viric> hm
[18:51] <viric> ok, question about the libs
[18:51] <viric> I want to use ffmpeg as an output device
[18:52] <viric> ehem
[18:52] <viric> I mean opening an encoder+muxer to pcm (format ALSA), and feed it
[18:53] <viric> but I don't know what functions will block, for realtime
[18:53] <viric> or is it a bad idea?
[19:05] <itsme306> hey
[19:06] <itsme306> is it possible to convert to a output ftp-path?
[19:09] <itsme306> no?
[19:15] <burek> no
[19:18] <relaxed> you could probably pipe to sftp or somesuch
[19:19] <relaxed> burek: I think we need to update the !pb message
[19:19] <burek> how
[19:21] <relaxed> how what?
[19:21] <burek> in what way :)
[19:21] <burek> what needs to be updated
[19:22] <relaxed> well, I think it should add we're not here to debug your scripts that use ffmpeg
[19:23] <relaxed> and we need to drive home that they should post the whole command and all the console output
[19:23] <relaxed> maybe add some CAPS
[19:23] <burek> would it be better to add !scripts instead
[19:23] <relaxed> Because people still fail to follow the simple directions.
[19:23] <burek> because not all !pb need that additional info imho
[19:26] <relaxed> Well, as someone who is channel quite a bit helping users I would disagree. No worries, though, I'll write a short text doc and paste them that.
[19:28] <burek> no, it's not a problem for me to update the trigger
[19:28] <burek> that's the easiest part
[19:28] <burek> im just asking if it would be better to separate it with another trigger
[19:28] <burek> since not all users, that are requested to provide their pastebins
[19:28] <burek> are asking for help with their scripts
[19:29] <burek> also, for using CAPS, i agree things could be stressed out to draw more attention
[19:29] <burek> if you could provide a sample message, that would be great
[19:29] <relaxed> They're lumped together most of the time. Users paste a bash/python script filled with $vars and then the console output.
[19:30] <burek> for example, maybe something like this: please use a pastebin site (like www.pastie.org or www.pastebin.com) to show your EXACT ffmpeg command and the COMPLETE console output.
[19:31] <relaxed> Then we're left explaining they need to dig out the actual command or try to decypher their, often horrible written, scripts.
[19:32] <burek> would you be so kind to propose the exact solution :)
[19:33] <relaxed> That's good. Maybe add the next sentence, "Please don't paste scripts, just the ffmpeg command from the console.", or something similar.
[19:34] <burek> ok
[19:35] <relaxed> We don't want a wall of text, but on the other hand you have to tell some people exactly what to do or the pastebin the output of `ffmpeg`
[19:35] <relaxed> they*
[19:37] <burek> there
[19:37] <relaxed> much better, thanks!
[19:37] <burek> :beer: :)
[19:42] <relaxed> of course they'll still paste scripts, but now I can point and yell
[19:43] <Mavrik> SOI protocol
[19:45] <burek> :)
[20:15] <kippi> is there away I can send video to vlc and do somthing with the audio with ffmpeg
[20:16] <relaxed> copy the video stream, encode the audio stream and pipe to vlc?
[20:16] <Mavrik> hmm, anyone has any idea of a piece of software that could write an MP4 track header?
[20:18] <relaxed> is the index damaged?
[20:18] <Mavrik> nope, I just wanna play with the transformation matrix
[20:18] <Mavrik> to test some players
[20:18] <Mavrik> hard to find any doc / tests of that
[20:19] <relaxed> JEEB might know
[20:19] <kippi> video to vlc and audio keep within ffmpeg
[20:20] <relaxed> kippi: explain your goal, because I don't get what you're after.
[20:36] <kippi> relaxed, what i am doing, I am using ffmpeg with silence detection, and having to use vlc for motion, the link is a rtmp video
[20:37] <kippi> as I believe ffmpeg with not do motion
[20:45] <saste> kippi, ffmpeg is fast forward, it obviously does motion
[20:48] <kippi> saste, it can detect motion?
[20:48] <saste> kippi: check select filter
[20:49] <kippi> saste, will this do motion then :)
[20:50] <ubitux> what do you mean by "do motion"?
[20:51] <kippi> I need to be able to tell when there is motion or no motion, eg: the video has frozen
[20:52] <ubitux> select and the scene detection maybe then
[21:44] <kippi> looks like i might be able to do somthing with yuvdiff
[21:45] <ubitux> you can do some diff with blend filter for instance
[21:46] <ubitux> and maybe use a blackdetect filter after this
[21:46] <ubitux> you have all kind of possibilities
[21:46] <kippi> yeah, it's all a shame it's so out of my depth, reading reading, seems like no one has done this before
[21:47] <kippi> would love to use ffmpeg and not vlc
[21:49] <ubitux> the documentation on these filters is pretty complete
[22:12] <pagios> hello
[22:13] <pagios> anyone got ffmpeg working on a raspberry?
[22:13] <ubitux> https://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20compile%20FFmpeg%20for%20Raspberry%20Pi%20%28Raspbian%29 ?
[22:15] <pagios> ubitux: but i understand some people were able to encode on the RPi
[22:16] <ubitux> encoding will likely work
[22:16] <ubitux> it will just be very slow
[22:16] <pagios> using omx h264 hardware?
[22:16] <pagios> does ffmpeg use it by default?
[22:17] <ubitux> i don't own a rpi myself, but afaik the hw accel on it is a binary blob
[22:17] <ubitux> which ffmpeg doesn't exploit afaik
[22:19] <Mavrik> hmm, afaik there's no HW support for encoding on ffmpeg
[22:20] <Mavrik> also, I havent found anyone making any use of that OMX encoder on RPi
[22:23] <pagios> check this article
[22:23] <pagios> http://www.slickstreamer.info/2012/11/using-raspberry-pi-to-live-stream-video.html
[22:24] <pagios> and the second comment : http://bambuser.com/v/3137396
[22:24] <pagios> he did it and its great i dont know if that is true
[22:25] <Mavrik> well, it's probably possible to encode flv @ 320x240 with CPU only
[22:25] <pagios> ok so thats something good then
[22:36] <pagios> i am getting this error when trying to stream: [video4linux2 @ 0x1395660] Cannot find a proper format for codec_id 0, pix_fmt -1.
[22:36] <pagios> command issued: ffmpeg -f video4linux2 -s 320x240 -r 10 -i /dev/video0 -metadata title="my awesome video"  -f flv rtmp://1234.fme.bambuser.com/b-fme/133713371337133713371337
[22:37] <Mavrik> why aren't you reading the rest of error messages up to the point where it says what's wrong? ;)
[22:38] <pagios> this is the whole message Mavrik http://pastie.org/7272269
[22:38] <Mavrik> your ffmpeg is ancient
[22:39] <Mavrik> and it's not ffmpeg at all while we're at it ;)
[22:39] <pagios> thats debian :) i will try to install the newest version
[22:40] <Mavrik> also, the error seems connected to v4l2 :)
[23:07] <pagios> Mavrik: ffmpeg version 0.8.6-6:0.8.6-1+rpi1,
[23:07] <pagios> is that considered old too?
[23:07] <ubitux> sounds like a version from the fork
[23:07] <ubitux> basically, not ffmpeg
[23:08] <pagios> hmmm
[23:08] <ubitux> pagios: fyi last ffmpeg version is1.2
[23:10] <craigruks> Hi, I'm trying to encode an mp4 with key frames every 5 seconds. I followed the docs but keep getting a response of 'Invalid duration specification for force_key_frames: expr:gte(t'. Does anyone know why this is occurring?
[23:11] <craigruks> I've tried putting the expression expr:gte(t,n_forced*5) in quotes, double quotes, escaping the parenthesis, nothing is working...
[23:11] <ubitux> craigruks: escape the comma
[23:12] <Mavrik> that looks like a... wrong way to force key-frames for a codec O.o
[23:13] <craigruks> fflogger: Thanks for the tip, here's the pastebin of my ffmpeg command http://pastebin.com/b5Ad2Cr3
[23:13] <No_Miaus> hello.. ffmpeg has a lenght limit for each metadata tag?
[23:13] <ubitux> craigruks: again, escape the comma: 'expr:gte(t\,n_forced*5)' (also, fflogger is a bot)
[23:15] <craigruks> ubitux: THANK YOU, is working now, I was escaping the parens as well as the comma after what you said, removed the escaping of the parens and it worked!
[23:16] <craigruks> ubitux: scratch that, didn't do the trick...
[23:17] <craigruks> Mavrik: I was following the expr portion of -force_key_frames under http://ffmpeg.org/ffmpeg.html#Advanced-Video-Options , but is that not the way to go?
[23:18] <Mavrik> I usually force that with x264 parameters
[23:18] <Mavrik> and never use ffmpeg so it chooses its own encoding params ;)
[23:18] <craigruks> Mavrik: do you have an example, or a link to docs on doing that?
[23:19] <craigruks> do I only need -c:v libx264?
[23:21] <craigruks> Mavrik: do I need x264?  am doing an mpegtv m3u8 export and am just trying to make the original video have more frequent keyframes for better seeking.
[23:21] <Mavrik> um
[23:21] <Mavrik> yeah well
[23:21] <relaxed> just set -g $value
[23:21] <Mavrik> you didn't give enough information about what you have and what do you want to have
[23:21] <relaxed> or am I missing something?
[23:21] <Mavrik> relaxed, you also need to pass scenecut if you want exact spacing :=
[23:22] <Mavrik> craigruks, what you're trying to do requires reencode of the video
[23:22] <Mavrik> and since you're not passing any parameters ffmpeg is choosing something for you
[23:22] <Mavrik> but since you didn't read the instructions we gave you and pasted full ffmpeg output
[23:22] <Mavrik> we can't give you better advice.
[23:22] <craigruks> Got it, ok.
[23:31] <craigruks> Mavrik: Here's the full line, and it works without the force_key_frames parameter http://pastebin.com/TbJHTVkp . I tried the escaping of the comma but to no avail, still says "Invalid duration specification for force_key_frames: expr:gte(t\ . Any ideas, or am I still off base from what you were talking about before?
[23:33] <saste> craigruks, why are you escaping  \,?
[23:34] <craigruks> saste: ubitux suggested it. I tried without as well to no avail. Ideas?
[23:34] <saste> craigruks, and the output is?
[23:35] <saste> ubitux, don't give wrong suggestions to users!
[23:35] <craigruks> Hahaha it was a good try, I tried escaping the parentheses as well, didn't work either.
[23:35] <saste> they are already confused
[23:36] <ubitux> saste: i'm pretty sure the escape worked
[23:36] <ubitux> if the command doesn't do what's expected that's another problem
[23:36] <craigruks> saste: In red the response is 'Invalid duration specification for force_key_frames: expr:gte(t\'
[23:36] <ubitux> looks like you double escape it
[23:37] <saste> craigruks, complete output, without that we can't help
[23:37] <craigruks> OK
[23:37] <saste> escaping is not needed, that's not filtergraph syntax
[23:37] <ubitux> saste: the original error was 'Invalid duration specification for force_key_frames: expr:gte(t'
[23:37] <ubitux> if that's not a comma escaping i wonder what is it :p
[23:37] <craigruks> saste, ubitux: Here's the full output http://pastebin.com/JXfavPN6
[23:38] <ubitux> craigruks: can you pastebin the result with the comma escaped?
[23:38] <craigruks> sure
[23:38] <craigruks> ubitux: with comma escaped it's http://pastebin.com/zQKqPn5b
[23:39] <saste> craigruks, 0.11.1 Copyright (c) 2000-2012, old
[23:39] <relaxed> expr:gte\(t,n_forced*5\) works
[23:40] <ubitux> @_@
[23:40] <saste> relaxed, escaping is not involved at all
[23:40] Action: ubitux wonders what's going on
[23:40] <relaxed> oh right
[23:40] <saste> it's too old in case it was not clear
[23:40] <relaxed> crystal
[23:41] <saste> craigruks, refer to local documentation, which matches your installed version
[23:41] <saste> webdocs is updated to git of the day
[23:42] <craigruks> Oh man :-/ Sorry for the trouble then, I'll see how it flies after running 1.2, thanks guys.
[00:00] --- Tue Apr  2 2013


More information about the Ffmpeg-devel-irc mailing list