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

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


[11:57] <mrAlmond> Hi everyone
[11:58] <mrAlmond> Does anybody can tell me why this file is not playing on Windows Media Player (it works on mplayer and VLC!)?
[11:58] <mrAlmond> https://dl.dropboxusercontent.com/u/14905859/wmp_error_vlc_ok.mpg
[11:58] <mrAlmond> it's an avc base profile 640x480 MP4 container
[11:58] <mrAlmond> no audio, just video track
[12:10] <relaxed> mrAlmond: why is the extension .mpg?
[12:11] <relaxed> I think that alone would trip up wmp.
[12:15] <mrAlmond> relaxed : it's mp4
[12:16] <mrAlmond> my fault, rename it mp4
[12:18] <mrAlmond> relaxed here's the new link, https://dl.dropboxusercontent.com/u/14905859/wmp_error_vlc_ok.mp4
[12:29] <relaxed> did you try playing it after renaming it?
[12:29] <relaxed> which version of Windows is this? XP can't play AVC be default.
[12:29] <relaxed> by*
[12:39] <xlinkz0> has anyone used ffmpeg on android?
[12:40] <xlinkz0> i need a wrapper for ffmpeg's main function since i can't chmod stuff from an android app on most phones
[13:44] <natrixnatrix89> I have a problem recording a rtsp stream with ffmpeg or playing with ffplay..
[13:44] <natrixnatrix89> If I open the url in vlc, it plays just fine.., but in ffmpeg it's lagging and lots of frames are lost..
[13:44] <natrixnatrix89> and I get lots of these errors:
[13:44] <natrixnatrix89> [h264 @ 0x19273e0] RTP: missed 25 packets
[13:44] <natrixnatrix89> [h264 @ 0x1913e60] error while decoding MB 1 20, bytestream (-6)
[13:44] <natrixnatrix89> [h264 @ 0x1913e60] Cannot use next picture in error concealment
[13:44] <natrixnatrix89> [h264 @ 0x1913e60] concealing 2048 DC, 2048 AC, 2048 MV errors in P frame
[13:45] <natrixnatrix89> Is there some flag or argument to add, in order to improve the playback?
[13:59] <Ph4nt0mBSD> hello im having so strange freeze up with using ffmpeg on my OpenIndiana system.. as i never expeirence this on BSD systems as ffmpeg works very good... but when i'm trying to do a screencast it does however work sometimes but sometimes when i press ctrl c to stop the encoding or whatever screencasting it just sometimes will keep saying ^C alot of times and just keep doing it like if i were holding the c key but im not and it will just say c and un
[14:00] <Ph4nt0mBSD> ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers built on Feb  9 2013 13:18:58 with gcc 4.6.3 (GCC)
[14:01] <Ph4nt0mBSD> any idea why it does this ?
[14:02] <Ph4nt0mBSD> i do the screencast normal like i do with other systems which always work fine.. but on openindiana when i press ctrl c to stop it it doesnt really stop it and just freezes the system and i can do anything cant go to the tty virtual console to pkill x i can do nothing just freezes
[14:03] <Ph4nt0mBSD> im out of luck i tried my bestest to resolved this but i can i dont know anymore its doing my head in to what is causing this issues
[15:15] <xlinkz0> natrixnatrix89: use -rtp_transport tcp
[15:15] <xlinkz0> before the -i option
[15:15] <natrixnatrix89> I was trying with ?tcp in url..
[15:15] <xlinkz0> doesn't work
[15:15] <xlinkz0> actually it is -rtsp_transport tcp
[15:15] <natrixnatrix89> let's try that!
[15:17] <natrixnatrix89> Unrecognized option 'rtp_transport'
[15:17] <natrixnatrix89> now rtsp
[15:17] <natrixnatrix89> wow..
[15:18] <natrixnatrix89> seems to be working
[15:18] <natrixnatrix89> amazing
[15:18] <natrixnatrix89> awesome!
[15:19] <natrixnatrix89> Also.. is there a way to ignore broken frames?
[15:19] <natrixnatrix89> Just in case my rtsp stream uses more bandwidth than is available?
[15:20] <natrixnatrix89> xlinkz0: Do you have some experience with ffserver + libx264?
[15:20] <xlinkz0> don't have experience with ffserver sorry
[15:21] <xlinkz0> but ask and maybe someone else will
[15:21] <natrixnatrix89> Usually everyone agrees that ffserver is hell :/
[15:21] <natrixnatrix89> The problem is that you can't use libx264 presets with ffserver..
[15:22] <natrixnatrix89> I was hoping someone knows how to set preset = ultrafast for libx264 in ffserver..
[15:23] <natrixnatrix89> does anyone know a free/good alternative for wowza?
[15:23] <natrixnatrix89> If I want to restream a rtsp stream..
[15:25] <xlinkz0> crtmpserver
[15:25] <xlinkz0> but i haven't managed to get it to work yet :\
[15:28] <natrixnatrix89> hmm. I'm guessing it won't support hls and webm?
[15:34] <natrixnatrix89> I don't know why I'm so attracted to ffserver although it doesn't work..
[15:41] <torbjorn> is there a way to determine video and audio encoding of a given file? without starting to play it?
[15:43] <natrixnatrix89> tobjorn: how about ffprobe?
[15:43] <torbjorn> great, thanks
[15:44] <torbjorn> also is there a way to auto-determine/suggest containre for an audiofile?
[15:44] <torbjorn> ie vorbis should be an ogg file etc.
[15:45] <natrixnatrix89> dunno.. usually there can be various containers for codecs.. but I agree that for audio there can be just one..
[16:07] <mrAlmond> How can I convert a variable frame rate H264/MP4 in an equivalent file at constant frame rate.
[16:10] <Mavrik> mrAlmond, reencode with fps filter.
[16:10] <mrAlmond> Mavrik do you have an example cmd line?
[16:11] <Mavrik> ffmpeg -i blahblah.mp4 -codec:v libx264 -vf fps=25 -crf 23 -preset slow -codec:a copy out.mp4
[16:11] <Mavrik> crf being the desired output quality.
[16:11] <mrAlmond> I'm asking this because I have a vfr h264 MP4 that does not play in windows media player (but it plays in VLC and mplayer)
[16:12] <mrAlmond> and I think it could be a problem of VFR
[16:12] <mrAlmond> that maybe is not supported by Windows 7 WMP.
[16:12] <mrAlmond> this is the file
[16:13] <mrAlmond> https://dl.dropboxusercontent.com/u/14905859/wmp_error_vlc_ok.mp4
[16:14] <JEEB> I'm pretty sure it's not the VFR aspect per se
[16:15] <JEEB> since all MP4 files depend fully on timestamps
[16:15] <JEEB> not on any kind of "frame rate"
[16:16] <mrAlmond> I hope but I can't see many differences between a working MP4 and the one I'm generating
[16:17] <mrAlmond> Stream #0.0(und): Video: h264 (Baseline), yuv420p, 640x480, 1267 kb/s, 17.19 fps, 1k tbr, 18k tbn, 36k tbc
[16:17] <JEEB> have you looked at the construction of your "mp4" file at all in, say, L-SMASH's boxdumper?
[16:17] <mrAlmond> yes
[16:17] <mrAlmond> I've compared with a working one
[16:18] <mrAlmond> and maybe the main difference is that in my file there are a lot of entries for the "decoding time to sample box"
[16:18] <mrAlmond> and in the working one just one entry
[16:18] <mrAlmond> and this is problably due to the vfr
[16:19] <mrAlmond> just because my file has variable pts
[16:22] <JEEB> waait a bit
[16:25] <JEEB> also that sample you linked only has one 'stts' atom
[16:25] <JEEB> s/atom/box/
[16:26] <JEEB> oh, entries
[16:27] <JEEB> and no, having a lot of those is completely ok
[16:27] <JEEB> every sample after all has to have its own stts entry that is on the timeline
[16:28] <JEEB> of course I have in some cases multiple samples with the same delta, but in general I have just one sample per entry
[16:38] <mrAlmond> JEEB : so you says that it "should" be ok?
[16:38] <mrAlmond> Do you see something strange on it?
[16:42] <JEEB> I would probably wait until someone more proficient in "mp4" comes around
[16:42] <JEEB> like Paranoialmaniac
[16:42] <JEEB> I've only helped people read the spec at points, and I know some off-shoot knowledge, but I wouldn't be able to spot derpy things
[16:59] <mrAlmond> JEEB thank you so much
[17:00] <mrAlmond> Paranoialmanic...if you are here...please help :-)
[17:35] <JEEBsv> mrAlmond: he went away from home some two hours ago to work, so I would say that calling him right now won't help :)
[17:38] <mrAlmond> JEEBsv : doh! Thanks.
[17:41] <mrAlmond> JEEBsv : using mediainfo I can see that some info are missing
[17:41] <mrAlmond> for example
[17:41] <mrAlmond> Format profile                           : Baseline at L3.0
[17:41] <mrAlmond> Format settings, CABAC                   : No
[17:41] <mrAlmond> Format settings, ReFrames                : 1 frame
[17:41] <mrAlmond> Format settings, GOP                     : M=1, N=60
[17:42] <mrAlmond> these are in an MP4 that is working
[17:42] <mrAlmond> and are missing in the broken one
[17:42] <JEEBsv> uh-oh
[17:43] <JEEBsv> sounds like you are not giving it a full-blown AVCc then
[17:43] <JEEBsv> I mean, mediainfo is far from perfect
[17:43] <JEEBsv> but if it can't find profile and friends from that file something's really ba
[17:43] <JEEBsv> *bad
[17:43] <JEEBsv> profile/level
[18:14] <mrAlmond> JEEB : ok so probably I'm missing something in the conversion between annexb and avcc
[18:15] <mrAlmond> I will look at mediainfo source code
[18:15] <mrAlmond> maybe it will give me some hints
[18:15] <mrAlmond> thank you...I'm going home
[18:29] <JEEBsv> ugh @ looking at mediainfo source code
[18:29] <JEEBsv> whyh not read 14496-15 :<
[19:07] <Avon> Has anyone been successful using MacCaption/CaptionMaker with a file encoded using ffmpeg? I'm having trouble.
[19:08] <Avon> Here is my ffmpeg output: http://pastebin.com/xJsE4xfJ
[19:09] <relaxed> I see a semicolon
[19:09] <Avon> Semicolon?
[19:10] <relaxed> ; <-- in your timecode
[19:10] <relaxed> was that intended?
[19:10] <Avon> Yes, the original source file had a semicolon for the timecode as well
[19:11] <relaxed> try with the timecode before the input
[19:11] <Avon> Alright sure.
[19:12] <Avon> Option timecode (set initial TimeCode value.) cannot be applied to input file 1.mxf -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
[19:12] <Avon> Error parsing options for input file 1.mxf.
[19:13] <relaxed> does it work if you omit timecode?
[19:13] <Avon> Do you mean if the video plays or if the thing encodes?
[19:13] <relaxed> the latter
[19:14] <Avon> It will encode if i omit the timecode.
[19:15] <Avon> http://pastebin.com/vxiFab8L
[19:15] <relaxed> try single quoting the timecode and remove the backslashes.
[19:15] <Avon> Sure thing.
[19:16] <digidog> Hi. Short question: after compiling and installing ffmpeg dev snapshot from sources it works for a moment, but after closing terminal and reopening it, it can't be found no more. Ot says ffmpeg is currently not installed. Does anyone ha da similar situation or knows how to fix this ?
[19:16] <Avon> http://pastebin.com/9DQuGLx3
[19:17] <Avon> The thing is, im just getting errors when running it through MacCaption/CaptionMaker. :(
[19:18] <Avon> Using MXFScope to analyze the file also throws me an error and says it cant be read. But the file plays just fine?
[19:20] <digidog> ffmpeg seems to be installed into home/my_account/bin/  but I wonder if it should rather be under usr/local/bin ?  Not sure ... :(
[19:24] <JEEBsv> digidog: nothing is more or less invalid, the installation under your home folder is something that works even if you have no root
[19:28] <digidog> @JEEBsv: Thank you.  Sorry but I have to ask again: I followed this instruction https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide  carefully but ffmpeg has started only once directly after installing it. When I close the terminal and open it again, typing "ffmpeg" causes info message that ffmpeg is not installed. navigating to /home/my_account/bin/ where ffmpeg is inside makes no difference
[19:29] <JEEBsv> digidog: just add to your dot-bashrc or something export PATH=${HOME}/bin:${PATH}
[19:29] <JEEBsv> in your home folder
[19:29] <JEEBsv> as in, you just have to add that directory to your PATH
[19:30] <JEEBsv> or you just call the whole path for the binary
[19:30] <JEEBsv> if you're in the same directory you can do dot-slash-ffmpeg
[19:32] <JEEBsv> (Windows by default has dot in the PATH so you can run stuff in the current directory without the dot-slash (or backslash)
[19:32] <digidog> JEEBsv: PATH! Arrg. That's what I forgot to check twice! Thank you so much! I was only reading log output while it installs, and there it says, that it already did this. But I forgot to check, if it really was done correctly. Thank you very much. I am sure that's the point ...
[20:05] <Avon> Having trouble running a file through maccaption/captionmaker Here is the output: http://pastebin.com/hLQRj2H2
[20:06] <Avon> MXFScope is telling me KLV is not aligned to KAG.
[20:06] <Avon> Any ideas?
[20:13] <digidog> JEEBsv: thanks a million for reminding me! PATH was the issue. fixed. thank you very much. Another short question: any change to log time postion by hitting a key o.s. while ffplay runs a video file from terminal?
[20:15] <digidog> in terminal we can create cshorts for logging like in .bashrc something like: alias logme='echo $1 >>  my.log' ... so I thought there is maybe a change to make it possible to log a certain paused postion while ffplay runs a file ...
[20:15] <digidog> that would make creating position lists a very fast and smooth workflow
[20:18] <digidog> I had the idea: that while ffplay runs we get output on terminal and could route this nto the log file like we do by installing software with >> my.log
[20:19] <digidog> but it sadly doesn't write it int o the log. I have tried  userterminal$  ffplay  filename.mov >> my.log
[20:20] <digidog> it creates the file but doesn't writes into it
[20:23] <digidog> ok, moment. I think it my fault that it doesn't writes to log. needs further testing ...
[20:26] <relaxed> digidog: the message are over stderr
[20:26] <relaxed> messages*
[20:27] <relaxed> ffmpeg > blah.txt 2>&1
[20:28] <relaxed> You could have awk pull out exactly what you need while running or do it later.
[20:29] <relaxed> Everyone should know a little (g)awk.
[20:31] <digidog> :D
[20:33] <digidog> Great! you are right. this way it logs like expected. but how can I trigger an additional info? lets say I press space to pause and another key to get an event listet in the log. isi this possible? then I would only need to write a little paser to get my log time positions ...
[20:44] <digidog> changing postiton of movie file with mouse for example causes a log entry which differs from the normal time position log list. that'S the way I thought it could be used another way with certain commands ... well ... just a thought
[20:54] <digidog> I other words I need an option to get a timestamp of actual position in a log file. MOmentary I check the ffmpeg docs online and the most key commands available for ffplay only change somethng on the viewing window. Only a position change caused by mouse will be registered in log file so far I can see in the moment ...
[23:31] <ismaell> hi
[23:31] <ismaell> hope there's someone around who can answer this one... what does it mean "end of stream wanted"?
[23:32] <ismaell> it's on the api doc
[23:33] <durandal_1707> link?
[23:35] <ismaell> durandal_1707: nevermind, looking at old docs :/, well, in the new ones it says av_write_frame return 1 "if flushed and there is no more data to flush"
[23:35] <ismaell> returns*
[23:37] <ismaell> durandal_1707: that's not clear either :/
[23:38] <ismaell> now, it seems it would return 1 if I run out of space, right?
[23:38] <ismaell> (I'm writing to disk)
[23:38] <ismaell> I guess the same applies to lost tcp connections
[23:38] <durandal_1707> i don't think so
[23:39] <ismaell> I was expecting a negative number actually, but when the disk ran out of space (well, actually not 100%, but about 94%, the rest is reserved)
[23:39] <ismaell> it started to return 1
[23:40] <ismaell> or I think that is the issue...
[23:40] <ismaell> kinda odd
[23:40] <durandal_1707> it have nothing to do with disk being full or not
[00:00] --- Tue Jul  2 2013


More information about the Ffmpeg-devel-irc mailing list