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

burek burek021 at gmail.com
Fri Jan 11 02:05:02 CET 2013


[00:01] <beastd> was first committed to ffmpeg git-master on 30th of march last year.
[00:02] <beastd> anyway need to leave. bye...
[00:03] <brx_> How do I compile ffmpeg with amrnb support? I tried --enable-libamr-nb but get unkown option error
[00:08] <brx_> I tried --enable-libamr-nb but get unkown option error
[00:54] <mads-> Would it be possible for me to open an avi file with ffmpeg and check it for errors? I have some files which I can't play on my raspberry (Xbian) and some I can. I would like to check them for errors to see why I can't play them
[01:07] <relaxed> You could write a script that encodes to /dev/null and checks for a non-zero exit status.
[01:08] <relaxed> A few seconds would suffice: -t 5
[01:08] <mads-> makes sense.
[01:32] <brx_> anyone familiar with libopencore-amr ?
[01:32] <p1r473> hey guys. im trying to use ffmpeg to encode an mkv's ac3 channel that i converted from dts. im using the program avstodvd to do everything but by the time im ffmpeging, it tells me its guessing the channel layout, and i end up with a dvd with stereo instead of 5.1
[01:38] <p1r473> does anyone have any idea how i can get it to keep the 5.1 and recognize the channels?
[01:51] <jadams> so I'm unsure how to do point to point video streaming (local network for what it's worth) using tcp.  I can stream with udp just fine.  I'm really just trying to push video from ffmpeg into vlc over tcp localnetwork
[02:52] <jadams> so if I use ffmpeg for point to point tcp streaming (turns out I can use ffplay tcp://127.0.0.1?listen) then over time extra lag is introduced into the stream (using this for desktop streaming on localhost at present)
[08:42] <plavcik> I upgraded to ffmpeg 1.0.1 and I can't find, how to use czech audio and czech subtitles from VOB file (-slang -alang) how I can do that, please?
[08:56] <perise> q
[13:12] <alexavenger> Hi, How can I accelerate framerate ?
[13:14] <spaam> add -r 26  if you want 26 fps
[13:15] <spaam> -r 9001 for over 9000 fps.
[13:16] <spaam> for more nfo: https://ffmpeg.org/ffmpeg.html#Video-Options :)
[14:03] <elkng> is it possible to use ffmpeg to create sounds with mathematical expressions ?
[14:10] <cbsrobot> elkng: You really are lazy, aren't you? http://ffmpeg.org/ffmpeg-filters.html#aevalsrc
[14:18] <elkng> cbsrobot: you dont say
[14:18] <elkng> is there something ffmpeg can't do ?
[14:20] <cbsrobot> elkng: making omelettes - maybe
[14:22] <elkng> it says: "aevalsrc=0 Generate a sin signal with frequency of 440 Hz", but not sure how to use it, is the full command "ffmpeg aevalsrc=0" ?
[14:24] <cbsrobot> elkng: so you are lazy ?
[14:24] <cbsrobot> :-)
[14:25] <elkng> if it says "Unknown input format: 'lavfi'" that mean I need to recompile it ?
[14:27] <cbsrobot> do you use ffplay or ffmpeg ?
[14:27] <elkng> yes
[14:30] <elkng> I had --enable-avfilter when compilled 0.10.2 version
[14:35] <elkng> eny help ?
[14:41] <elkng> I want crash something
[14:43] <elkng>  should I use "--enable-filter=aevalsrc" and recompile or its enabled by default how to check ?
[14:47] <elkng> cbsrobot: "do you use ffplay or ffmpeg", you asked what exactly I use ? I though it was aggregate question  if I use any of them
[14:48] <elkng> cbsrobot: I tryed ffmpeg, I will try ffplay
[14:49] <elkng> the command "ffplay -vf aevalsrc=0" says: "Unrecognized option 'vf'"
[14:51] <elkng> thats in version 0.6.1
[14:54] <elkng> I tryed "ffmpeg -vf aevalsrc=0 -vn -ac 2 -ar 44100 -ab "192k" -y -f mp3" but it doesnt works
[14:55] <cbsrobot> elkng: update to git master
[15:18] <brx_> My question about ffmpeg + libopencore-amr support http://pastebin.com/v0nGni55
[15:47] <edrx> hello - I've been using this to create screencasts (note the "-r 5" for 5 frames/second)
[15:48] <edrx> avconv -loglevel quiet -r 5 -s 1024x600 -f x11grab -i $DISPLAY /tmp/out.mp4
[15:48] <sacarasc> Try #libav for avconv help.
[15:49] <edrx> ok, I didn't know the name of the channel, thanks =) I had tried #avconv
[15:53] <symtab> i try to compile ffmpeg 1.0.1 on centos 6 x86_64 and i get the following error: http://pastebin.com/VxLy1RLq
[15:53] <symtab> any ideas how i can fix?
[15:57] <symtab> nevermind
[15:58] <symtab> fixed
[16:42] <jacobs1> Hi, I need some help with ffserver streamin. I am trying to stream a video file via sftp but I have frame rate issues. this is the ffserver conf: http://pastebin.com/aJ9XBXC9 and this is the ffmpeg command and output: http://pastebin.com/Bs3CSYTU. I tried also to add -r 10 before the input but that caused AV to not be synced
[16:42] <jacobs1> I meant rtsp of cource :)
[17:28] <mads-> I have some files which might not have indexes (avi files). I want to convert them with ffmpeg in order to give them indexes. How can I tell ffmpeg to use the same audio quality and codecs and same video quality and codecs when converting?
[17:29] <JEEBsv> with re-encoding that is impossible because there are no thousand chinese kids sitting in your computer checking all of the possible values against your video and audio
[17:29] <JEEBsv> if you just want to remux, though, -map 0 -c copy should do it
[17:29] <JEEBsv> -map 0 selects all input streams
[17:30] <JEEBsv> -c copy sets audio and video codecs to 'copy'
[17:30] <JEEBsv> which is just remuxing
[17:35] <mads-> samethanks
[17:38] <DelphiWorld> Hi everyone
[17:38] <DelphiWorld> Thu Jan 10 11:37:01 2013 Application provided invalid, non monotonically increasing dts to muxer in stream 0: 122205223892563 >= 122205223892563
[17:38] <DelphiWorld> whzat this error ?
[17:38] <JEEBsv> it means that multiple frames have the exact same decoding time stamp
[17:39] <JEEBsv> which is of course an error
[17:40] <DelphiWorld> jbthen how do i debug it ?
[17:40] <DelphiWorld> JEEB: then how to debug that issue ,
[17:40] <JEEBsv> how do you get that in the first place is the first question. Please post your command line as well as the terminal output if possible in a pastebin
[17:40] <JEEBsv> which you then link here
[17:41] <DelphiWorld> lol JEEB ;-)
[17:42] <DelphiWorld> JEEB: http://dpaste.com/871139/
[17:43] <JEEBsv> sorry, I do not into ffserver configuration files ^^;
[17:43] <JEEBsv> also the terminal log?
[17:44] <DelphiWorld> JEEBsv: lol no log, just the one i posted you
[17:44] <JEEBsv> ...
[17:44] <JEEBsv> that's the only line?
[17:44] <JEEBsv> then there's no real way of finding out what went wrong :P
[17:46] <Yulth> Hi everyone!
[17:46] <DelphiWorld> JEEBsv: :P
[17:46] <DelphiWorld> hey Yulth
[17:46] <JEEBsv> hey, it's the unfortunate truth
[17:46] <JEEBsv> I am not an esper
[17:46] <Yulth> I'm using ffmpeg version 1.0.1 on FreeBSD 9.0. Is there any way to code to OPUS audio format? :D
[17:48] <DelphiWorld> Yulth: dreaming opus all the day like me ?
[17:48] <Yulth> DelphiWorld: hehehe, perhaps ;)
[17:49] <DelphiWorld> Yulth: i love flac
[17:49] <Yulth> It's amazing, and it's free...
[17:50] <Yulth> I've installed opus-tools, but it only permits to code using command 'opusenc'. Any way to integrate it with ffmpeg?
[17:52] <DelphiWorld> Yulth: dear, install libopus and use --enable-libopus for ./configure
[17:52] <JEEBsv> isn't that just decoding?
[17:52] <JEEBsv> ok, no -- both
[17:52] <Yulth> DelphiWorld: ok, let me try it
[17:52] <JEEBsv> so yeah, build with libopus
[18:02] <DelphiWorld> JEEBsv: issue fixed, git pull && make ;-)
[18:02] <JEEBsv> heh
[18:04] <Yulth> OMG it's amazing...... O_____O
[18:04] <DelphiWorld> lol Yulth is happy, best happyness ever:P
[18:05] <Yulth> :D
[18:05] <DelphiWorld> Where are you from Yulth ?
[18:06] <Yulth> spain
[18:07] <JEEBsv> too bad opus isn't really specified in many containers yet
[18:07] <DelphiWorld> Yulth: yay, 1meters away from me !
[18:07] <JEEBsv> they're working on it in matroska now
[18:07] <JEEBsv> but it's still not finished
[18:07] <Yulth> JEEBsv: interesting
[18:07] <Yulth> DelphiWorld: and Where are you from?
[18:07] <DelphiWorld> Yulth: yay, guess ?
[18:08] <DelphiWorld> Yulth: not far away from SPAIN
[18:08] <DelphiWorld> and spain is my radio enemy
[18:08] <DelphiWorld> JEEBsv: dear, please do you know how to encode a DVD into mkv?
[18:09] <Yulth> hehehe
[18:09] <DelphiWorld> Yulth: seriously, spain fm radio's make lot of noises here
[18:09] <Yulth> mmm
[18:09] <DelphiWorld> Yulth: forget portugal, i'm not from there:-P
[18:10] <Yulth> I didn't know this fact
[18:10] <Yulth> hehehe
[18:10] <DelphiWorld> LOL
[18:10] <DelphiWorld> Yulth: we sue spain in the ITU-R
[18:10] <Yulth> hence there are only a few possibilities:  Gibraltar France and UK ;)
[18:12] <DelphiWorld> Yulth: HAAAAAAAAAAAAA you forget algeria ? :-P
[18:12] <Yulth> woa, it's truth
[18:12] Action: DelphiWorld slaps Yulth around a bit with a large trout
[18:13] <Yulth> :)
[18:13] <DelphiWorld> JEEBsv ?
[18:17] <DelphiWorld> someone please please Guide me how to rip my DVD into MKV
[18:27] <espr3ss0> olla :-)
[18:27] <espr3ss0> i remember posting here too many times already :-S
[18:28] <espr3ss0> i have finally installed ffmpeg, using Homebrew, was much easier :-p
[18:28] <espr3ss0> but i still have a question ! ...
[18:28] <JEEBsv> yes, homebrew is the sanest package manager for OS X
[18:28] <espr3ss0> :-)
[18:28] <espr3ss0> to save my typing could someone pls read ... http://ffmpeg.gusari.org/viewtopic.php?f=16&t=783&p=1406#p1406
[18:29] <espr3ss0> i really can't figure what the problem is :-/
[18:29] <JEEBsv> which version of ffmpeg is it?
[18:29] <JEEBsv> btw
[18:30] <espr3ss0> which ever homebrew install JEEBsv
[18:30] <JEEBsv> just write ffmpeg and see what it tells you :P
[18:30] <espr3ss0> oh !, but OS X "Snow Leopard"
[18:31] <espr3ss0> it's an avi to mp4 "pts" problem
[18:31] <JEEBsv> I skimmed through the thread
[18:31] <JEEBsv> now please tell me what version of ffmpeg you have
[18:31] <JEEBsv> it is written there if you just run 'ffmpeg'
[18:31] <sacarasc> espr3ss0: Probably very few people here use OS X, so we won't know what version that is.
[18:31] <JEEBsv> :V
[18:32] <espr3ss0> i tried "-fflags +genpts" which nulls the error mention but still runs jumpy. and "-vf setpts..." but still same problem
[18:32] <espr3ss0> 1.0.1
[18:33] <espr3ss0> sacarasc: i wouldnt worry its 99% the same
[18:33] <sacarasc> But we needed to know the version!
[18:33] <JEEBsv> espr3ss0: try seeing if you can upgrade to 1.1
[18:34] <espr3ss0> ok, will do JEEBsv
[18:34] <JEEBsv> espr3ss0: try seeing if you can edit the homebrew rules to get 1.1
[18:34] <JEEBsv> or if it has been updated already
[18:37] <amiximac> Hello
[18:37] <amiximac> I need help
[18:39] <DelphiWorld> JEEBsv: any CLUE?
[18:40] <retard> os x cat animal
[18:40] <amiximac> I want to change udp://@214.1.1.15 to become http://10.0.0.103:9105 on Windows
[18:41] <amiximac> but seems like ffserver is not out for windows ;/
[18:42] <DelphiWorld> amiximac: install vmware
[18:49] <DelphiWorld> JEEBsv JEEBsv;)
[18:53] <espr3ss0> JEEBsv: have upgraded ffmpeg to 1.1
[18:53] <espr3ss0> now what ? o_O
[18:53] <JEEBsv> try if it still happens
[18:53] <luc4> Hi! I used this http://pastebin.com/wsvdUJmL to extract an aac stream from a mov file. Then, I tried to write a code that dumps all the AVPacket returned in the demuxing.c sample code. Why is the result completely different?
[18:53] <espr3ss0> ok
[18:54] <amiximac> DelphiWorld: ok. works with ubuntu?
[18:54] <DelphiWorld> amiximac: all linux's
[18:55] <amiximac> oki
[18:55] <amiximac> i download vmware
[18:55] <amiximac> and install ubuntu on it
[18:55] <amiximac> then ffmpeg
[18:55] <amiximac> and then ffserver
[18:55] <amiximac> or is it part of ffmpeg for linux?
[18:56] <espr3ss0> JEEBsv: "mp4 @ ... pts has no value"
[18:56] <JEEBsv> yay
[18:57] <JEEBsv> and even with the pts creation filter it fails?
[18:57] <espr3ss0> just checking, using --flags +genpts first
[18:59] <espr3ss0> no error displayed but still incredibly jumpy
[19:00] <espr3ss0> is this the right way of using "setpts" ? ... -vf setpts=2.0*PTS
[19:00] <amiximac> oki
[19:00] <amiximac> installing ubuntu now
[19:00] <amiximac> on vmware
[19:01] <JEEBsv> espr3ss0: try first demuxing the video track, and then remuxing it from a raw stream into mp4
[19:01] <amiximac> DelphiWorld: you will stay for few minutes?
[19:02] <DelphiWorld> amiximac: i'm here
[19:02] <espr3ss0> JEEBsv: r u meaning output as h264 ?
[19:03] <JEEBsv> if it's H.264, then yes -- but if it's H.264 then you'll have another problem
[19:03] <JEEBsv> because AFAIK muxing Annex B into "mp4" fails
[19:03] <amiximac> I want to change udp://@214.1.1.15 to become http://10.0.0.103:9105 in ffserver DelphiWorld
[19:03] <espr3ss0> i shall give u a heads up JEEBsv ... Mostly the avi formats are ... video "mpeg-4" (xvid), audio "mpeg audio layer 3"
[19:04] <amiximac> how would the string be like?
[19:04] <DelphiWorld> amiximac: is not simple
[19:05] <JEEBsv> espr3ss0: then it should be somewhat OK. Try ffmpeg -i derp.avi -an -c:v copy -f m4v out.m4v . Then try to make an "mp4" file out of it with ffmpeg -i out.m4v -c copy out.mp4
[19:05] <JEEBsv> :s
[19:12] <amiximac> DelphiWorld: ffmpeg -i udp://@214.1.1.15:1234 -acodec copy -vcodec copy http://10.0.0.103:9105/feed1.ffm
[19:12] <amiximac> i found this
[19:12] <amiximac> and need to install ffserver.conf
[19:19] <DelphiWorld> amiximac: is this a video or a audio?
[19:22] <amiximac> both
[19:22] <amiximac> ubuntu install failed
[19:22] <amiximac> hmm
[19:22] <amiximac> tried to use VLC
[19:22] <amiximac> but VLC's demux thing is broken
[19:25] <espr3ss0> JEEBsv: 2 problems ... "[m4v @ 0x10180e800] Estimating duration from bitrate, this may be inaccurate" & "pts (507600000) < dts (508608100) in stream 0 - av_interleaved_write_frame(): Invalid argument"
[19:26] <DelphiWorld> amiximac: what codecs
[19:27] <JEEBsv> espr3ss0: can you pastebin the full log and then link it here?
[19:28] <espr3ss0> who ?
[19:28] <amiximac> DelphiWorld: we use vplay
[19:28] <JEEBsv> ...
[19:28] <JEEBsv> I highlighted you
[19:28] <amiximac> broadcast automatation software
[19:28] <espr3ss0> brb
[19:28] <DelphiWorld> amiximac: the codec ?
[20:14] <DelphiWorld> sup saste
[20:15] <luc4> Hi! I used this http://pastebin.com/wsvdUJmL to extract an aac stream from a mov file. Then, I tried to write a code that dumps all the AVPacket returned in the demuxing.c sample code. Why is the result completely different for the same file?
[20:17] <Mavrik> probably because it's muxed into http://wiki.multimedia.cx/index.php?title=ADTS
[20:19] <luc4> Mavrik: sorry, can you explain this? I mean, the file from the command is 32MB, the file I dump from the AVPackets is 16MB.
[20:20] <Mavrik> hm, I really don't know how to explain this any simpler
[20:20] <Mavrik> when you're using AVPacket data that's just raw aac stream removed from container
[20:21] <Mavrik> here you have AAC data stored in ADTS frames
[20:22] <luc4> Mavrik: oh, so each frame is bigger because it contains something more?
[20:22] <Mavrik> yeah
[20:22] <Mavrik> http://ffmpeg.org/doxygen/trunk/adtsenc_8c-source.html
[20:22] <Mavrik> this is the muxer ffmpeg is using
[20:23] <Mavrik> "adts_write_frame_header" shows it adds some additional metadata before each AAC frame before writing it to disk
[20:24] <luc4> Mavrik: ok, so I'm extracting data the right way probably. This means that if I sent that data from the AVPackets to a decoder (not ffmpeg), it should be able to decode (assuming of course that AAC is supported). Same for h264 stream I guess.
[20:25] <Mavrik> yeah
[20:25] <Mavrik> that's correct
[20:25] <luc4> Mavrik: thanks!
[20:26] <espr3ss0> JEEBsv: whats "pastebin" ?
[20:26] <cbsrobot> pastebin.com
[20:27] <espr3ss0> thanks cbsrobot
[20:27] <espr3ss0> JEEBsv: what did u want pasted, specifically ?
[20:27] <cbsrobot> espr3ss0: the full log
[20:27] <cbsrobot> console log
[20:28] <espr3ss0> where is the log ? or do u mean Terminal's output ?
[20:28] <cbsrobot> yes
[20:28] <cbsrobot> well the place you read that error
[20:32] <espr3ss0> http://pastebin.com/xPGPRgQP
[20:32] <espr3ss0> the paste if of the example given to use, not with "+genpts" etc.
[20:36] <JEEB> espr3ss0, why is that line with the pts/dts error cut off :3
[20:37] <espr3ss0> because the example u gave was to use avi to m4v and then mp4, as I said :-p
[20:38] <espr3ss0> it didnt have the pts error with m4v
[20:38] <espr3ss0> :-)
[20:38] <JEEB> uhh
[20:38] <JEEB> why is it _cut_off_
[20:38] <espr3ss0> just gave a new one !
[20:38] Action: espr3ss0 shrugs
[20:39] Action: JEEB scratches head a bit
[20:39] <JEEB> so it was always cut like that?
[20:39] <espr3ss0> i will do a copy of what i originally put into ffmpeg
[20:39] <JEEB> anyways, I guess ffmpeg fails generating PTS from the stream
[20:39] <JEEB> even though in theory it should be able to do it
[20:39] <JEEB> similar to raw Annex B H.264
[20:40] <espr3ss0> erm, the main problem being that all avi's with the same formats come out jumpy, no matter what I try to do
[20:41] <espr3ss0> formats are ... video "mpeg-4" (xvid), audio "mpeg audio layer 3"
[20:41] <JEEB> yes, the point being that avi is a format without PTS as well
[20:41] <JEEB> and the PTS generation fails from parsing the stream inside it
[20:41] <espr3ss0> hmm, it seems to be what's causing the problem
[20:42] <JEEB> I debugged a similar problem with parsing Annex B (raw) H.264 streams
[20:42] <espr3ss0> playback with VLC works fine btw
[20:42] <JEEB> yeah
[20:42] <JEEB> it seems to work around nicely borked timestamps
[20:42] <JEEB> build l-smash and you can see the timestamps in the mp4 file being borked
[20:43] <JEEB> boxdumper --timestamp file.mp4 > timestamps.txt
[20:43] <JEEB> (boxdumper is a part of L-SMASH)
[20:43] <espr3ss0> i'm not looking to install anything else :-/
[20:43] <JEEB> well, no need to really install it if you don't want, you should be able to just compile it by running the configure script and running make
[20:44] <espr3ss0> if ffmpeg won't do it, my guess is neither will mp4box, or whatever its called
[20:44] <JEEB> I'd just like a confirmation if it's a similar problem
[20:44] <JEEB> nah, L-SMASH's muxer and mp4box should handle it
[20:44] <espr3ss0> ah ok :-)
[20:44] <DelphiWorld> JEEB: are you JEEBsv ? :P
[20:44] <espr3ss0> oh
[20:44] <JEEB> I prefer L-SMASH's muxer to be honest
[20:44] <espr3ss0> so, does mp4box have the "codec copy" ability ?
[20:45] <JEEB> mp4box doesn't encode to begin with
[20:45] <JEEB> it just muxes
[20:45] <JEEB> like L-SMASH
[20:45] <espr3ss0> oh
[20:45] <JEEB> (L-SMASH was created because GPAC [the project containing mp4box] started sucking too much)
[20:45] <espr3ss0> so with ffmpeg is there any other way od demuxing the tracks ?
[20:46] <JEEB> well, you demuxed it into the raw m4v already
[20:46] <JEEB> that should be an OK stream
[20:46] <JEEB> ffmpeg then fails to parse the stream :P
[20:46] <JEEB> also I would've liked the timestamp dump from L-SMASH's boxdumper to confirm if what I think is happening in the one way that it seems to work
[20:47] <espr3ss0> ok, thanks for the help so far ! :-)
[20:49] <JEEB> (basically what was happening with Annex B was that even if the stream contained b-frames, all the PTS (in "mp4" terminology, CTS) would just keep rising monotonically)
[21:53] <espr3ss0> this is strange, just looking @ using libx264 ... why when i specify "-qp 0" , does it output "q=29.0" ?
[21:53] <espr3ss0> maybe it's not the same as what i'm thinking it is :-/
[21:53] <espr3ss0> was trying to not loose quality
[21:53] <espr3ss0> o_O
[22:10] <an3k> -qp 0 .... lol
[23:59] <DelphiWorld> good nite
[23:59] <DelphiWorld> yi
[00:00] --- Fri Jan 11 2013


More information about the Ffmpeg-devel-irc mailing list