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

burek burek021 at gmail.com
Fri Jun 13 02:05:01 CEST 2014


[02:29] <relaxok> ffprobe with -report only logs the console output up to the point the data (like show_frames) starts
[02:31] <relaxok> whats up with that?
[02:34] <c_14> maybe with a line up to the point report logs?
[02:39] <relaxok> here's the output up to the first frame of probed frames in the console window itself: http://pastebin.com/QjH1uE2W
[02:40] <relaxok> and here's what's in the report log file: http://pastebin.com/B3Gcii00
[02:44] <c_14> I think -report only dumps those things that are written to STDERR (ie all ffmpeg encoding/decoding/etc output) but not the ffprobe output because that is sent to STDOUT and considered separate or something.
[02:51] <relaxok> alright i just redirected it to another file
[03:02] <c_14> ye, If I'm reading tho code right -report hangs itself into ffmpeg's log section. So it'll get a copy of everything that ffmpeg considers part of the log but not the special output of for example ffprobe -show_frames.
[03:51] <MDTech-us_MAN> hello
[03:52] <MDTech-us_MAN> when I execute command "ffmpeg -f concat -i <file>.wav -i <file>.wav ... -c copy output.wav" I get the following:
[03:52] <MDTech-us_MAN> [concat @ 02898de0] Line 1: unknown keyword 'RIFF^¬ó?WAVEfmt'
[03:52] <MDTech-us_MAN> C:\Users\Maxwell\Music\Fathers Day 2014\Act 1\normalized\123\cleaned\01 Clouds.w
[03:52] <MDTech-us_MAN> av: Invalid data found when processing input
[03:52] <MDTech-us_MAN> plz disregard the very long path
[04:52] <relaxok> is there a way to use -map_channel without knowing the stream index of the audio?
[04:52] <relaxok> -map_channel 0.a:0.0 or something doesn't work
[06:18] <Moonlightning> Does ffmpeg compress better if invoked with no arguments?
[06:19] <Moonlightning> I seem to remember running a video through it and getting out a much, much smaller file. Half the size or something.
[06:19] <Moonlightning> Just `ffmpeg -i video.mp4 other-video.mp4`
[06:20] <sacarasc> No.
[06:20] <sacarasc> It does shit without you telling it to do better.
[06:21] <sacarasc> Looks like arse, etc.
[07:38] <BtbN> getting a video file small isn't hard
[07:38] <BtbN> getting it small and good looking is
[07:55] <gogoat100> anyone know why ffmpeg has been shelved for avconf in linux?
[08:18] <superyes> can't seem to ffmpeg -f alsa grab audio, most I ever get is _incredibly_ quiet, static-y audio (like you can hear it with mplayer -af volume=100, but it's awful)
[08:24] <gogoat100> same same
[10:27] <termos> I get this weird output from ffplay after encoding with libx264 into mpegts "Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x480, 24 fps, 24 tbr, 90k tbn, 48 tbc". Is there something missing from some header?
[11:05] <reactormonk> I'm streaming to witch via castawesome, but it breaks off after a while - console output: http://pastie.org/9282911 - ideas?
[11:08] <wh-hw> hi, all
[11:08] <wh-hw> how to transcoding a video over http use ffserver?
[11:08] <JackWinter> is there some way to use lanczos3 for rescaling videos on ffmpeg/linux?
[11:15] <cbreak-work> Hmm... ffmpeg still crashes with out of bounds memory access in sws' ff_rgb24ToY_avx
[11:15] <cbreak-work> but the bounds that are passed to sws seem all correct
[11:21] <wh-hw> hello
[11:32] <cbreak-work> the input image has a size of 1280x720, so it is a perfect multiple of 4k, the page size of OS X here.
[11:32] <cbreak-work> and the image ends exactly at a page boundary
[11:33] <cbreak-work> and ffmpeg tries to read past the page boundary
[11:33] <sekon> help ffmpeg spawned from shell works .. while the same spawned from python does not seem to work. Relevant code at https://dpaste.de/EozDC
[11:33] <sekon> the output of ffmpeg is appended to the bottom of the post
[11:35] <sekon> someone told me that ffmpeg is opening 'udp://127.0.0.1:27000&overrun_nonfatal=1': Permission denied
[11:35] <sekon> as a file that is why i am getting the error
[11:36] <sekon> this is the command i am trying to execute
[11:36] <sekon> ffmpeg -re -i 'udp://localhost:27000&overrun_nonfatal=1' -flags -global_header -codec:a  libfaac  -ar 44100 -ac 2 -b:a 96k -b:v 500k -s 1280x720 -vcodec libx264 -crf 30 -preset ultrafast -r 25 -map 0 -bsf h264_mp4toannexb  -f segment -segment_list /var/www/playlist.m3u8  -segment_list_flags +live -segment_time 2 -segment_list_size 5 /var/www/out%03d.ts
[11:36] <sekon> from shell everything works as expected
[11:36] <sekon> but from python it does not work
[11:38] <cbreak-work> it seems ff_rgb24ToY_avx tries to read two times 16 bytes into two xmm registers
[11:38] <cbreak-work> but of course since there are only 24 bytes per pixel, this fails with the last pixel
[11:39] <cbreak-work> it uses vmovdqu, so it doesn't matter that it's an unaligned read
[11:57] <JackWinter> or is the ffmpeg lanczos implementation actually lanczos3?
[12:09] <sekon> running ffmpeg with pythons subprocess.Popen is giving a lot of problems
[12:09] <sekon> the same string can be execed in a OS shell with no problems
[12:12] <cbreak-work> sekon: maybe it's a python problem :)
[12:12] <cbreak-work> sekon: do you read the standard output?
[12:12] <cbreak-work> or do you tell ffmpeg to be quiet?
[12:17] <sekon> cbreak-work: i read the ouput  .. just a sec sorry
[12:18] <sekon> i can exec the command its supposed to execute from shell
[12:18] <sekon> but not from python's subprocess.Popen
[12:19] <sekon> https://dpaste.de/O8CZ
[13:26] <maksimkaaa> hello, I was trying mmcat, when passing two clips with frame rates of 12 and 1, the output seems to have just frame rate of 12 is there a way to retain the frame rate of each video as it is ?
[13:43] <max246> hello
[13:43] <max246> I have few qestions about the fading system
[13:44] <klaxa|work> ask away then
[13:46] <ph8> hey all i'm trying to build ffmpeg and fetch a file from a url to transcode, but when it tries to fetch i see: [http @ 0xe0a50a0] inflate return value: -3, unknown compression method
[13:46] <ph8> any idea what i might be doing wrong?
[13:55] <ph8> http://pastebin.com/dejnXURH
[13:55] <ph8> thx
[13:58] <klaxa|work> unknown compression method sounds like the httpd is sending the data compressed and ffmpeg does not know how to decompress
[13:58] <klaxa|work> can you download the file with a browser or something similar?
[14:46] <max246> hello
[14:46] <max246> there is a command line to get the amount of frames in a video?
[14:57] <Hello71> ffprobe
[15:54] <termos> when using the aresample filter I get an about 1-2 second delay between audio and video (audio is delayed). What could be the cause of this?
[16:53] <Swoxxx> Hi all. I got a bit of a tricky situation and would appreciate your guidance. I have 2 folders with PNGs. One folder contains the "background frames" from 1 to 1100, the other contains overlays, like overlay_1.png etc. but with some gaps when there are no overlay. How can I add these overlays to the background, in sync (based on the frame number in the file name) ?
[16:54] <Swoxxx> I have the required shell skills but not necessarily the ffmpeg knowledge. I've heard some people say, build one, build the overlay video, superpose them using alphachannel, but thats like rendering 3 times
[16:54] <Swoxxx> If someone has a more cost-effective and time-effective approach that would be awesome
[17:00] <Swoxxx> Anyone? It would be extremely awesome
[17:02] <klaxa|work> try using imagemagick to generate intermediate new frames from which to generate a video?
[17:02] <klaxa|work> that's what i would do
[17:07] <Swoxxx> Alright
[17:09] <mva|birthday> hello there!
[17:09] <mva|birthday> is it any plans to add libquvi-0.9 support to ffmpeg?
[17:10] <mva|birthday> [I just checked 2.2.3 and it don't want to build with 0.9 :(]
[17:43] <MDTech-us_MAN> help
[17:43] <MDTech-us_MAN> when I execute ffmpeg -i "concat:01 Clouds.wav|02 River.wav" -c copy output.wav
[17:43] <MDTech-us_MAN> I get only the first file
[17:44] <MDTech-us_MAN> instead of both concatinated
[17:44] <MDTech-us_MAN> thy?
[17:44] <MDTech-us_MAN> *why?
[17:52] <MDTech-us_MAN> mva|birthday
[17:52] <MDTech-us_MAN> anyone?
[17:56] <MDTech-us_MAN> mva
[17:58] <c_14> MDTech-us_MAN: try the concat demuxer: https://trac.ffmpeg.org/wiki/How%20to%20concatenate%20(join,%20merge)%20media%20files
[17:59] <MDTech-us_MAN> one sev
[17:59] <MDTech-us_MAN> *sec
[18:04] <MDTech-us_MAN> c_14
[18:04] <MDTech-us_MAN> Line 1: unknown keyword ')Wfile'
[18:05] <MDTech-us_MAN> that is what I get
[18:05] <MDTech-us_MAN> is it because of windows line endings?
[18:06] <c_14> that looks a lot like utf8 problems or something, can you pastebin your command line, output and the concat file?
[18:06] <MDTech-us_MAN> one sec
[18:09] <MDTech-us_MAN> c_14
[18:09] <MDTech-us_MAN> http://pastebin.com/LLCydT4A
[18:09] <MDTech-us_MAN> there ^
[18:15] <c_14> It looks like ffmpeg thinks there is some sort of character in front of the file part of the concat list
[18:18] <MDTech-us_MAN> lets see in notepad++
[18:19] <MDTech-us_MAN> nope. nothing there
[18:19] <c_14> Can notepad convert the file from windows encoding to unix encoding?
[18:19] <c_14> Maybe try that?
[18:20] <c_14> notepad++ that is, pretty sure notepad cannot
[18:24] <MDTech-us_MAN> nope
[18:24] <c_14> can't do it or didn't help?
[18:24] <MDTech-us_MAN> i converted, but still
[18:25] <MDTech-us_MAN> same thing
[18:28] <c_14> Can you do a hexdump of the file? it should start with 6669 6c65 2027
[21:06] <ardese> I have an rtsp/h274 video source which often delivers frames with damaged macroblocks. This results in a smeared image from the point of the damaged mb on until the next key frame. Is there any way to simply discard these frames and avoid the smear rather than attempting to fill in the blocks/save them?
[21:07] <ardese> That should be h264 not h274 of course&
[21:17] <MDTech-us_MAN> c_14
[21:18] <MDTech-us_MAN> you there?
[21:18] <MDTech-us_MAN> c_14
[21:18] Last message repeated 2 time(s).
[21:18] <c_14> Hmm?
[21:18] <llogan> MDTech-us_MAN: no need to pingspam
[21:18] <MDTech-us_MAN> sorry
[21:18] <MDTech-us_MAN> so c_14
[21:19] <MDTech-us_MAN> I opened it with a hex viewer an I get the following:
[21:19] <MDTech-us_MAN> first 7: ef bb bf 66 69 6c 65
[21:19] <MDTech-us_MAN> https://hexdump.pieterhordijk.com/a75163bd8bef5e7404ca7ff630133ec47b6107a1
[21:20] <c_14> that ef bb bf shouldn't be there. I'm guessing that's the weird characters ffmpeg is seing.
[21:21] <MDTech-us_MAN> That is a byte-order mark
[21:21] <MDTech-us_MAN> http://www.pcreview.co.uk/forums/extra-characters-beginning-file-ef-bb-bf-t3902307.html
[21:24] <c_14> can you try saving the file as ansi/ascii plain text and then testing with that?
[21:24] <c_14> Other than that, I wouldn't know why ffmpeg is failing.
[21:38] <MDTech-us_MAN> c_14 the ting is that I am generating and writing the file from a VB program
[21:39] <MDTech-us_MAN> *thin
[21:39] <MDTech-us_MAN> *thing
[21:39] <MDTech-us_MAN> lemme force it to use ASCII
[21:41] <c_14> If it really is that efbbbf thing that's making it fail (which I think it is since adding that to the front of concat files on my computer is causing ffmpeg to fail) that might be seen as a bug and you should put a bugreport on trac
[21:41] <MDTech-us_MAN> you ming giving me the bug reported do I would not have to search around
[21:42] <c_14> I don't think a bug has been reported, what I'm saying is that you might want to report it as a bug.
[21:46] <MDTech-us_MAN> I ment where to report the bug
[21:46] <MDTech-us_MAN> sorry. its just not my day when it comes to spelling
[21:46] <c_14> https://ffmpeg.org/bugreports.html
[21:47] <RobertNagy> How do I get the delayed from from a decoder that has frame threading but not CODEC_CAP_DELAY?
[21:47] <RobertNagy> delayed frames*
[22:25] <MDTech-us_MAN> c_14: https://trac.ffmpeg.org/ticket/3718
[22:58] <MDTech-us_MAN> c_14
[22:58] <MDTech-us_MAN> is this ok?
[22:58] <MDTech-us_MAN> DTS -406750698126725248, next:345745125 st:0 invalid dropping
[22:58] <MDTech-us_MAN> PTS -406750698126725248, next:345745125 invalid dropping st:0
[22:58] <MDTech-us_MAN> DTS -406750698126724224, next:345745125 st:0 invalid dropping
[22:58] <MDTech-us_MAN> PTS -406750698126724224, next:345745125 invalid dropping st:0
[22:58] <c_14> As long as ffmpeg isn't violently quitting it should be fine. It means that there are some invalid timestamps in the source file.
[22:59] <MDTech-us_MAN> oh I see
[22:59] <MDTech-us_MAN> thats ok
[23:00] <MDTech-us_MAN> hmmm
[23:01] <MDTech-us_MAN> for some reason, when i select all files and check their length, it is 49:49 but the concatinated file is now 50:00
[23:02] <MDTech-us_MAN> since after I do some operations with the whole file I will chop it up again, there could be problems
[23:03] <c_14> Each file might be x milliseconds longer and those add up, I'm guessing.
[23:04] <MDTech-us_MAN> why would it be longer?
[23:04] <c_14> How are you checking the lengths of the individual files?
[23:05] <MDTech-us_MAN> in windows explorer
[23:06] <MDTech-us_MAN> just highlight them all and it is in details
[23:07] <c_14> I'm guessing windows explorer is not considering the milliseconds is the song length. assume you have two files. a = 3:29.5 and b = 1:30.5, if you count the milliseconds you get 5:00.0 if you don't you get 4:59. I'm guessing that might be the 'problem'.
[23:22] <sanmarcos> I am trying to get AVFoundation input (to get Built in line in input) on OS X and I get Unknown input format: 'avfoundation
[23:22] <sanmarcos> from both http://www.evermeet.cx/ffmpeg/, and homebew binaries
[23:22] <sanmarcos> what can I do?
[23:23] <sanmarcos> trying to do a simple rtsp or udp multicast stream for low latency audio streaming
[23:23] <sanmarcos> ffmpeg -re -f avfoundation -i "Built-in Input" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234
[23:24] <MDTech-us_MAN> c_14
[23:24] <MDTech-us_MAN> you there
[23:24] <MDTech-us_MAN> ffmpeg -i output.wav -acodec copy -t 00:00:00 -ss 00:05:45 "01 Clouds.wav"
[23:25] <MDTech-us_MAN> Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
[23:25] <c_14> You mixed up -t and -ss
[23:25] <c_14> -ss is from -t is duration
[23:25] <MDTech-us_MAN> oh
[23:25] <MDTech-us_MAN> I see
[23:27] <llogan> sanmarcos: what does "ffmpeg -devices" show?
[23:28] <llogan> (disclaimer: I know very little about avf)
[23:28] <sanmarcos> unrecog option
[23:29] <llogan> your build must be old
[23:31] <llogan> you can parse -formats instead to see if avfoundation is in there
[23:32] <sanmarcos> nope
[23:32] <sanmarcos> i'll recompuile with enable-indev=avfoundation
[23:37] <sanmarcos> thank you llogan
[23:37] <sanmarcos> 2.2.3 i am recompiling
[23:39] <sanmarcos> doesnt work
[23:39] <sanmarcos> there is no mac os x support
[23:39] <sanmarcos> for inputs
[23:46] <MDTech-us_MAN> c_14
[23:46] <MDTech-us_MAN> ffmpeg -i output.wav -acodec copy -t 00:05:45 -ss 00:00:00 "output\01 Clouds.wav"
[23:47] <MDTech-us_MAN> I cet file not found
[23:47] <MDTech-us_MAN> *get
[23:47] <spaam> do you have an file with the name output.wav ?
[23:47] <MDTech-us_MAN> yes
[23:48] <MDTech-us_MAN> output\01 Clouds.wav: No such file or directory
[23:48] <MDTech-us_MAN> I get that error
[23:48] <c_14> do you have a directory called output?
[23:48] <llogan> sanmarcos: which OS X?
[23:49] <MDTech-us_MAN> i see
[23:49] <MDTech-us_MAN> that was the problem
[23:49] <MDTech-us_MAN> though it sould have given a clearer message
[23:50] <llogan> how would you prefer that it would be worded?
[23:50] <sanmarcos> llogan: mavericks, from homebrew I wanst able to get it, i am trying Git now
[23:50] <llogan> is that 10.7?
[23:50] <sanmarcos> 10.9
[23:51] <sanmarcos> all the prebuitl binaries dont have it
[23:51] <llogan> http://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX#Shortcut:CompileFFmpegthroughHomebrew
[23:51] <llogan> oh, that apparently doesn't use git, but a release.
[23:52] <sanmarcos> yeah I edited the formula to enable avf and qtkit
[23:52] <sanmarcos> but apprently avf and qtkit are only ing it?
[23:52] <llogan> i'm not sure what release(s) support avf
[23:52] <sanmarcos> git
[23:52] <sanmarcos> i can make it use git
[23:52] <llogan> i don't think you'll need to explicitly enable the indev
[23:53] <sanmarcos> brew edit ffmpeg && brew instal ffmpeg --HEAD --build-from-source
[23:53] <sanmarcos> ok, lets see, give me a sec while it compiles
[23:54] <llogan> that wiki page could use a "git via homebrew" example
[00:00] --- Fri Jun 13 2014


More information about the Ffmpeg-devel-irc mailing list