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

burek burek021 at gmail.com
Sat Jul 19 02:05:01 CEST 2014


[00:49] <acuozzo> I'm working with 10-bit V210 (YUV422P10LE) material and my goal is to compress to 8-bit Huffyuv (YUV422P) for post-work.
[00:49] <acuozzo> Two questions:
[00:50] <acuozzo> 1. Do YUV422P10LE and YUV422P have the same luma range? (64-940 and 16-235, respectively)
[01:02] <acuozzo> Is there some way I can extend the luma range before dropping to 8-bit with FFmpeg?
[01:03] <acuozzo> I want to scale from (64, 888) -> (64, 940) and clamp at (64, 940)
[10:20] <waressearcher2> when encoding I have many these strings: "frame=  975 fps=121 q=2.0 size=3472kB time=00:00:39.00 bitrate= 729.2kbits/s"        now what  is "q=2.0" ?
[10:21] <waressearcher2> anyone ?
[10:41] Last message repeated 1 time(s).
[10:51] <waressearcher2> anyone
[10:52] <Riviera> "quality"
[10:52] <Riviera> man ffmpeg, search for "q="
[11:04] <Mavrik> it's quantizer actually, but yeah, "quality" is close enough explanation :)
[11:09] <waressearcher2> why its changing, some lines with "q=1.6" some with "q=2.0" ?
[11:15] <Riviera> Mavrik: ah :)
[11:18] <Mavrik> waressearcher2, because quantizer is calculated practically on per-frame basis
[11:18] <Mavrik> it's how internal encoder controls quality and bitrate
[11:19] <waressearcher2> there is that filter "smartblur" it supports "enable" option, like: -vf smartblur=enable='between(t,10,3*60)' so some parts of video can be blurred, is it possible to do "enable" and "disable" for other filters in a similar way ? say I have that filter: -vf "setpts=1.8*PTS" but it speds up entire video and I want to speed up some parts of the
[11:19] <waressearcher2> another question
[11:19] <waressearcher2>  video and slow down others, is it possible to use "enable" and "disable" for "setpts" ?
[11:30] <termos> Is there a way using ffmpeg audio filters to set the volume for each channel?
[11:31] <termos> Say there are two audio channels and I'd like to mute the left one
[11:43] <OnkelTem> Hi all
[11:44] <Mavrik> termos, hmm, you should check the list of filters
[11:45] <Mavrik> but as it seems now you'll have to split audio, remove one channel and use only the righ tone
[11:45] <OnkelTem> I use ffmpeg to convert RTSP stream to RTMP from inside nginx's rtmp module. For some reason ffmpeg process exists randomly. More info and logs: https://github.com/arut/nginx-rtmp-module/issues/436 Any ideas?
[11:45] <OnkelTem> Or how can I get more information about why this happens?
[11:45] <termos> hmm okey, I noticed some channelsplit filter that I might be able to use
[11:46] <OnkelTem> ffmpeg version:  N-63893-gc69defd
[11:50] <OnkelTem> I'm not sure what does this mean but there is 17 (SIGCHLD) in logs
[11:57] <FrEaKmAn_> hi all.. I'm confused how to use concat
[11:57] <FrEaKmAn_> when I load files from .txt it works
[11:57] <FrEaKmAn_> but when I can ffmpeg -i concat:"file1.mp4|file2.mp4" -c copy output.mp4
[11:57] <FrEaKmAn_> it concats just 1 file
[11:57] <FrEaKmAn_> "concat:file1.mp4|file2.mp4" also doesnt work
[11:58] <FrEaKmAn_> when I call*
[11:59] <cuba> OnkelTem: you should log ffmpegs output to a file
[11:59] <cuba> and check whats up with it
[11:59] <Mavrik> FrEaKmAn_, pipe and quotes are usually special chars in shell
[11:59] <Mavrik> so you probably have to escape them
[12:00] <FrEaKmAn_> really?
[12:00] <cuba> or use single quote '
[12:01] <FrEaKmAn_> hm
[12:01] <cuba> your command looks right tho FrEaKmAn_
[12:01] <cuba> ah no
[12:02] <cuba> try ffmpeg -i "concat:file1.mp4|file2.mp4"  -c copy output.mp4
[12:02] <FrEaKmAn_> no.. just uses first file
[12:02] <FrEaKmAn_> checking the docs online, this is the right command
[12:02] <FrEaKmAn_> so no idea
[12:03] <sacarasc> IIRC, MP4 can't be concatted like that, you have to use the concat filter...
[12:03] <FrEaKmAn_> but when using files it works
[12:03] <FrEaKmAn_> so probably it's not format problem
[12:04] <cuba> Instructions
[12:04] <cuba> ffmpeg -i "concat:input1.mpg|input2.mpg|input3.mpg" -c copy output.mpg
[12:04] <cuba> ...
[12:06] <FrEaKmAn_> nop.. I really dont understand why
[12:07] <FrEaKmAn_> can someone please try on your computer?
[16:15] <alonsovb> Hi, I'm trying to set up a video streaming server with ffmpeg. The idea is to stream from a Linux server running ffmpeg towards a Windows Server running IIS Media Services. I want to be able to use IIS Publishing Points, via the Push method. Could you give me an example of would I set the ffmpeg command?
[16:16] <Fjorgynn_> fish
[16:17] <Fjorgynn_> no
[16:17] <Fjorgynn> but stay here for a few min or an hour
[16:17] <alonsovb> Sure, I can even stay for 8 hours
[16:18] <Fjorgynn> good. Most people leave after 2 min ;)
[16:50] <OnkelTem> How to get latest ffplay? Why it is not in ffmpeg static downloads?
[16:53] <sfan5> it's probably not included because it requires SDL
[16:53] <OnkelTem> ffmpeg question. How to disable audio on fly when using ffmpeg as stream converter from rtsp to rtmp for example?
[16:54] <c_14> -an
[16:57] <OnkelTem> c_14: strange, it didn't help - when I view the stream using cmdline vlc rtmp://neganov.ru:1935/full/go VLC claims there is second stream
[16:58] <OnkelTem> Type: Audio, Codec: undf
[17:01] <OnkelTem> why it leaves Audio stream? This is my command line:
[17:02] <Freakshow> what about ffprobe against the input, what does that give you?
[17:02] <OnkelTem> ffmpeg -i rtsp://185.8.127.10:554 -an -c copy -f flv rtmp://localhost:1935/full/go
[17:02] <c_14> I'm not sure, but the rtmp spec might require an audio track so ffmpeg creates an empty one, or maybe nginx is creating it.
[17:02] <OnkelTem> Freakshow: let me check, I've never used ffprobe :)
[17:03] <Freakshow> I suspect it will tell you the same thing, I don't think that the rtmp spec requres an audio track
[17:03] <OnkelTem> rtmp://neganov.ru:1935/full/go
[17:03] <OnkelTem> this is the stream
[17:03] <Freakshow> we spin rtmp feeds all day without audio
[17:03] Action: OnkelTem really loves ffmpeg and the tools
[17:04] <c_14> OnkelTem: how bout if you output to a file, does that file then have an audio track?
[17:05] <OnkelTem> (trying to realize what ffprobe printed)
[17:06] <OnkelTem> ffprobe sees 2 streams
[17:06] <OnkelTem> Stream #0:1: Data: none - the second
[17:07] <OnkelTem> So I think VLC just goes crazy a bit, misunderstanding what it gets
[17:07] <OnkelTem> Probably (just a suggestion) ffmpeg gets two streams of which the second is empty and just retranslates them?
[17:08] <OnkelTem> Which means the second stream is just empty... FLV spec?
[17:09] <OnkelTem> Nah, initial RTSP has exactly one stream
[17:16] <OnkelTem> Erm.. how to make ffprobe to not exist and continue monitor the stream, as I suspect there are problems with it
[17:16] <OnkelTem> honestly I read ffprobe man but can see appropriate option
[17:17] <c_14> If you mean exit you can't, but you can do something like ffmpeg -i stream -c copy -f null /dev/null
[17:17] <c_14> That way ffmpeg should report any errors in the source.
[17:18] <OnkelTem> Ah, I see, thanks
[17:19] <alonsovb> Hi, I'm trying to set up a video streaming server with ffmpeg. The idea is to stream from a Linux server running ffmpeg towards a Windows Server running IIS Media Services. I want to be able to use IIS Publishing Points, via the Push method. Could you give me an example of would I set the ffmpeg command?
[17:20] <OnkelTem> There are huge number of messages like: [null @ 0x3203780] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 759600 >= 733500
[17:24] <c_14> alonsovb: https://ffmpeg.org/ffmpeg-formats.html#mov_002c-mp4_002c-ismv check the example, might be what you want.
[17:26] <c_14> OnkelTem: that usually isn't that big an issue, it just means that the timestamps are out of order or broken
[17:26] <OnkelTem> Hm, what is the thing called ffserver? Do I need it instead of ffmpeg?
[17:26] <OnkelTem> c_14: can't I fix this when converting rtsp to rtmp using ffmpeg?
[17:26] <alonsovb> Thank you <c_14>. The server I'm using is password protected. How should I send the username and password through ffmpeg?
[17:27] <c_14> alonsovb: you can try http://username:password@server
[17:28] <alonsovb> awesome, I'll try that, thanks again c_14
[17:28] <c_14> OnkelTem: I'm pretty sure FFmpeg will fix it as much as it can automatically, but sometimes the only fix is to drop the packets because it doesn't know where to put them.
[17:28] <OnkelTem> c_14: yes, then let them be dropped. You see I get them *after* ffmpeg
[17:29] <c_14> so you get them in the rtmp stream not the ffmpeg rtsp -> rtmp conversion?
[17:30] <OnkelTem> c_14: exactly
[17:30] <OnkelTem> ffmpeg -i rtmp://neganov.ru:1935/full/go -c copy -f null /dev/null
[17:30] <OnkelTem> not at the start, later
[17:32] <c_14> but the conversion process isn't complaining?
[17:32] <c_14> If the conversion process were also complaining I might know why.
[17:34] <OnkelTem> c_14: hm, how can I redirect output in some file? I mean during conversion?
[17:34] <OnkelTem> console output
[17:36] <c_14> ffmpeg [command] &>file
[17:47] <OnkelTem> c_14: I'm not sure, but I can't use &>file in nginx.conf
[17:47] <OnkelTem> with nginx rtmp, like: exec_pull ffmpeg .... &>file;
[17:48] <c_14> add -report to the ffmpeg commandline
[17:48] <c_14> It'll create a program-YYYYMMDD-HHMMSS.log in the current dir.
[17:49] <c_14> (you'll have to know where nginx is executing ffmpeg)
[17:50] <OnkelTem> ok nice
[18:01] <OnkelTem> Ok, I got the output: https://gist.github.com/OnkelTem/f0ce9ed7dc414df160b4
[18:01] <OnkelTem> There are another problem which I was talking some hours ago
[18:01] <OnkelTem> as you can see stream is deleted!
[18:02] <OnkelTem> I don't know why this happens, and looks like this occures only when ffmpeg is launched by nginx
[18:02] <OnkelTem> when I run ffmpeg from command line, it doesn't exist
[18:05] <OnkelTem> OMG
[18:05] <OnkelTem> Sorry, I stupid
[18:05] <OnkelTem> I suddenly noticed that it is another version, old 0.10
[18:05] <OnkelTem> But HOW
[18:05] <c_14> do you have an old version of ffmpeg in your path somewher?
[18:05] <c_14> +e
[18:06] <OnkelTem> yes! but: which ffmpeg ---> /usr/local/bin/ffmpeg
[18:06] <c_14> Maybe nginx is using a different path?
[18:06] <OnkelTem> sudo -u www-data which ffmpeg ---> /usr/local/bin/ffmpeg
[18:06] <c_14> hmm, you could just give nginx the path to the binary
[18:06] <OnkelTem> I didn't specified any path. Ok, I'll write absolute
[18:09] <OnkelTem> c_14: thank you very much! this explains everything :) with -report I could catch this crap
[18:09] <OnkelTem> so the video was laggy with outdated 0.10.x
[18:10] <OnkelTem> now I expect everything to change
[18:10] Action: OnkelTem is dancing
[18:30] <Diogo> hi this is possible to stream to rtmp server but using a multiple input ... if one of the stream stop receiving pass to second stream without change the final content..
[18:31] <sfan5> https://www.ffmpeg.org/ffmpeg-filters.html#concat could be what you're looking for
[18:34] <Freakshow> can anyone think of a reason I wouldn't be able to grab from a multicast source when that network has been added through route add on centos?
[18:34] <Freakshow> this is correct isn't it:
[18:34] <Freakshow> ffmpeg  -i "udp://230.1.1.27:9000?fifo_size=4915200"
[18:34] <Diogo> sfan5: ffmpeg -i rtmp://streamA -i rtmp://streamB -filter_complex '[0:0] [0:1] [0:2] [1:0] [1:1] [1:2] [2:0] [2:1] [2:2] concat=n=3:v=1:a=2 [v] [a1] [a2]' -map '[v]' -map '[a1]' -map '[a2]' -f flv rtmp://finalSTREAM
[18:34] <Diogo> something like this sfan5 ?
[18:34] <Diogo> using filter_complex this is possible to to the fallback?
[18:35] <sfan5> looks right
[18:35] <sfan5> you may want to specify encoders and encoder arguments though'
[21:11] <optix2> I'm trying to burn in subtitles, is the AlphaLevel setting in ssa format not supported? I get solid black irrespective of the value
[21:23] <optix2> http://pastebin.com/izq4xBjJ
[21:24] <optix2> here is the important part of the ut.ssa http://pastebin.com/qgAzgWcs
[21:25] <optix2> so my question: does ffmpeg support AlphaLevel of ssa subtitles or is that value ignored?
[21:40] <alonsovb> What reasons could cause IIS Media Services to not recognize a ffmpeg stream? I'm using all these options: -movflags isml+frag_keyframe -f ismv -threads 0 -c:a libfaac -ac 2 -b:a 64k -c:v libx264 -preset fast -profile:v baseline -g 48 -keyint_min 48
[21:41] <Hello71> and we can't really support closed-source software
[21:42] <sfan5> optix2: did you try -vf ass=<subfile> ?
[21:42] <alonsovb> sorry, here it is my full command http://pastebin.com/FfpStGMK
[21:42] <optix2> not yet - wait I'll try
[21:43] <c_14> alonsovb: the output would also be helpful so we can see what is happening
[21:43] <alonsovb> the output is the usual output when ffmpeg is working, there are no errors
[21:44] <alonsovb> the only problem is that the stream is not being recognized in IIS
[21:44] <c_14> So FFmpeg thinks it's outputting to the http server correctly? ie no http errors etc?
[21:44] <alonsovb> it may be an ISS problem, but I just wanted to make sure I don't have any errors on the ffmpeg side
[21:44] <alonsovb> yes, there are no errors whatsoever
[21:47] <optix2> sfan5: no doesnt work - it does work in media player classic though, so the value is read by some software
[21:47] <c_14> alonsovb: Then I'd blame ISS.
[22:43] <jdolan> why would avfilter_graph_parse2 complain about parsing the string "null; anull" ?
[22:44] <jdolan> No such filter: ''
[23:24] <Einewton> Hi
[23:24] <Einewton> I have a question about overlays
[23:25] <Einewton> I've sucessfully followed the instructions to do overlays the way I want it
[23:25] <Einewton> https://trac.ffmpeg.org/wiki/Create%20a%20mosaic%20out%20of%20several%20input%20videos
[23:25] <Einewton> I cannot find a way to toggle on/off the overlays during an encode process.
[23:25] <Einewton> While it's processing to turn on/off a certian overlay.
[23:26] <Einewton> Can anyone help?
[23:27] <Einewton> Can I send a command to a specific fiter while it's encoding to change it's position off the screen or something like that?
[00:00] --- Sat Jul 19 2014


More information about the Ffmpeg-devel-irc mailing list