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

burek burek021 at gmail.com
Tue Aug 12 02:05:01 CEST 2014


[01:18] <GRMrGecko> I'm trying to copy this encode with ffmpeg, https://p.gecko.im/rj can someone help me?
[08:16] <slowguy> i am transcoding a file using ffmpeg but i want the output file to be directly uploaded to the server
[08:16] <slowguy> i tried ftp but could not make it work
[08:17] <slowguy> any other method which works easily?
[08:24] <grosso> hi
[08:26] <grosso> is there any way to create a codec context with the settings for fastest video encoding, no matter what codec is used?
[08:27] <termos> does there exist a the ffmpeg functions that are thread safe?
[08:28] <grosso> I mean: is there any codec_context setting that can be set for enabling fast encoding in any codec?
[08:31] <grosso> I know there exist: av_opt_set (ctx->priv_data,"preset","ultrafast",0); for x264... is there somethig similar for mpeg1, mpeg2, etc.?
[08:38] <grosso> is there any documentation that I can read on these subjects?
[09:13] <DonGnom> slowguy: i don't know if that would work but i think netcat can get input from a pipe and output it on a different system so when ffmpeg is able to output to stdout you can pipe it into netcat and transfer it that way.
[10:04] <Mavrik> morning.
[12:51] <slowguy> hello
[12:52] <slowguy> when i use ftp ouput then ffmpeg gives very low fps
[12:53] <slowguy> but my internet upload speed is much faster
[12:53] <slowguy> what is the best way to store the ouput of ffmpeg on a rwmote server
[12:53] <slowguy> please tell me
[12:53] <slowguy> n
[12:54] <sacarasc> As has been suggested before, some kind of remote FS.
[12:55] <spaam> i want cloud output.
[12:55] Action: sacarasc evaporates spaam.
[12:56] <slowguy> sacarasc: i tried mountimg s
[12:56] <slowguy> samba server too
[12:56] <slowguy> bbut that is even more slow
[12:57] <slowguy> ffmpeg is doing 2fps :(
[12:57] <spaam> and its fast when you save it to your localdrive +
[12:58] <slowguy> yes at local disk it is  aroung 150 fps
[12:59] <slowguy> but my internet connection is 60Mbps uplink easily
[12:59] <sacarasc> Why not encode locally, then push it?
[13:00] <slowguy> yes that is where i am stuck at
[13:01] <slowguy> say ffmpeg is dumping a .ts locally
[13:01] <slowguy> then hiw do i push it simultaneously
[13:01] <sacarasc> I can't see why you'd not just do it locally so you can make sure it's not broken before pushing.
[13:02] <slowguy> oh no my client wants the file on server as soon as serial finishes airing on tv
[13:03] <slowguy> if i start uploading after the serial finishes then it will be too late
[13:14] <Max__> I'm trying to pull the pcm audio streams out of an avi file. It runs through about 5 minutes of the stream and then stops with an "Unrecognized audio sample rate index (5)" error.
[13:14] <Max__> How can I fix this, or work around it.
[13:15] <slowguy> sacarasc: can ffserver be used for this purpose
[13:16] <sacarasc> I don't know.
[13:20] <Max__Elswhere> http://pastebin.com/BLq0R5zA
[13:20] <Max__> sacarasc: ^ that's my paste
[13:21] <sacarasc> Why not use -c:a copy ?
[13:23] <Max__> No reason. But that also fails the same way.
[13:29] <Max__> I don't mind losing the first 5 minutes, but when I try I get the same result.
[13:29] <Max__Elswhere> http://pastebin.com/YqErbASh
[13:43] <Mavrik> g'day
[13:51] <heftig-z> can't the composition time offset be negative?
[13:51] <heftig-z> i'm getting [flv @ 0x7f5d280008c0] Invalid timestamps stream=0, pts=80, dts=160, size=215
[14:22] <vladtv> hello, Can I add a transparent logo in ffmpeg?
[14:25] <vladtv> i use ... -i /media/F/ad720.png -filter_complex 'overlay=1:main_h-overlay_h-1' ...but is not transparent
[14:31] <sacarasc> Is it transparent already?
[14:32] <vladtv> it is png file
[14:32] <sacarasc> PNG can be transparent if you make them, I believe.
[14:33] <vladtv> yes but  I need to make transparency in ffmpeg
[14:34] <vladtv> 50-60%
[14:34] <sacarasc> Check the video filters for alpha stuff, I've never done it, not sure if it can.
[15:50] <sekon> Hello,
[15:51] <sekon> When fmpeg is called from the shell with certain arguments it creates a valid file
[15:51] <sekon> when the same command is called from python's os.system it creates invalid files
[15:52] <sekon> The command line used is ffmpeg -loglevel debug -y -i ~/companies/rajneesh/services/ocaatv/src/recording_sample/teststream1/sample_gfVz184qNhVlEzSNWujMuCbYF.ts -ss 45 -t 15 -acodec copy -bsf:a aac_adtstoasc -vcodec copy -movflags +faststart   /tmp/test.mp4 >& /tmp/ffmpeg.debug.removeme
[15:52] <sekon> the files /tmp/ffmpeeg.debug.removeme is not showing anything that indicates something is wrong
[15:53] <sekon> The created file cant be played/probed because of the error
[15:53] <sekon>  moov atom not found
[15:53] <sekon> I am converting ts to mp4
[16:07] <c_14> Does the command finish correctly _before_ you try playing/probing the file?
[16:23] <blight> hi
[16:23] <blight> does anybody know how to disable sdl when compiling on osx?
[16:23] <c_14> --disable-sdl ?
[16:24] <blight> nope
[16:24] <blight> ffmpeg-2.3.1 btw
[16:25] <c_14> --disable-outdev=sdl
[16:25] <c_14> --disable-ffplay
[16:25] <blight> compiling with --disable-outdevs atm to see if that fixes, but configure still says "SDL enabled: yes" or something
[16:25] <blight> ahh ffplay, gonna try that too, thanks
[16:25] <blight> first i'll wait for the current compile
[16:27] <sekon> c_14: will check
[16:31] <sekon> c_14: it is returning 0 both on the command line and from python
[16:31] <blight> c_14: configure still says "sdl support: yes" :(
[16:31] <sekon> but when i do ffprobe for the file created from shell it is valid
[16:32] <sekon> but the snippet created from python comes out invalid
[16:32] <c_14> sekon: you are executing both ffprobes after the processes finish?
[16:32] <c_14> If yes, please pastebin the output from the python encoding.
[16:38] <c_14> blight: It appears that that says yes even with --disable-all, it _might_ just be a check to see if SDL is installed on your system and have nothing to do with ffmpeg being built with it...
[16:39] <sekon> c_14: yes
[16:39] <sekon> c_14: please look at http://pastebin.com/Hg3siS3W
[16:40] <c_14> blight: looking at the configure script, it appears sdl is always enabled if present.
[16:42] <c_14> sekon: How short is this video?
[16:44] <blight> c_14: i tried to link sdl-config to "false" but it still says sdl support enabled
[16:45] <blight> c_14: when i look at the libs created i see they link against the sdl lib which i dont want
[16:46] <sekon> c_14: c_14 The input file for the command (according to ffprobe) is  Duration: 00:06:30.76
[16:47] <blight> ahh t uses pkgconfig anyway :(
[16:50] <c_14> sekon: Because the output only has 2 frames according to that command.
[16:54] <blight> c_14: overriding sdl-config and pkg-config to fail seems to make configure say "sdl support: no"
[16:56] <sekon> c_14: ok .. is there any sane explanation as to why the same command spawned from python is showing 2 frames while spawned from shell is giving 325 frames ?
[16:57] <c_14> Try comparing commandline output, but I can't think of anything obvious.
[17:36] <sekon> c_14: i did .. i dont realise what is wrong
[17:36] <sekon> or why this is happening
[17:43] <c_14> try using the -report option in the python script and checking the commandline it reports there to see if it's the same as the one you use in the shell in case python is changing something somewhere, but other than that, I'm not sure what could be going wrong
[17:59] <sekon> c_14: googling for python and -report gave me no real links
[17:59] <sekon> i am using flask web framework
[17:59] <sekon> if that helps
[19:29] <blight> hmm
[19:30] <blight> how do i compile 64 bit version of ffmpeg on osx? (10.6)
[19:38] <blight> oops seems like the mac i use is 32 bit so i would have to cross compile
[20:37] <c_14> sekon: -report as an ffmpeg option
[22:18] <brontosaurusrex> nice new page.
[23:14] <hotwings> anyone know why cloning the ffmpeg git is so massively slow lately?
[23:15] <sacarasc> New site is nuking the git machine.
[23:20] <hotwings> hopefully they get it sorted out soon cuz this absolutely sucks
[00:00] --- Tue Aug 12 2014


More information about the Ffmpeg-devel-irc mailing list