Re: [FFmpeg-user] Setting color is strange showvolume filter
It is in aabbggrr format because its calculated from expression Thanks! - https://twitter.com/nico_lab http://nico-lab.net/ -- View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Setting-color-is-strange-showvolume-filter-tp4671282p4671294.html Sent from the FFmpeg-users mailing list archive at Nabble.com. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
[FFmpeg-user] Long delay during live streaming
Hello. Today I finally was able to send a feed from my pc's capture card to ffserver but, when i play the stream on either vlc or with ffplay, there's a long delay of about 3 minutes. Also, if I stop viewing it and play it again, then the stream starts from when I started uploading the feed. I MUST be doing something wrong, please guide me or point me to the right place where I can find a solution to the problem. I'm sending the feed from pc using ffmpeg: ffmpeg -rtbufsize 1500M -f dshow -i video=input:audio=input -vcodec libx264 -preset ultrafast -tune zerolatency http://ipaddress:8090/livefeed.ffm My ffserver configuration looks like this: Feed livefeed.ffm File /root/livefeed.ffm FileMaxSize 1000M /Feed Stream livetv.flv Feed livefeed.ffm Format flv VideoCodec libx264 VideoSize 320x188 AVOptionVideo maxrate 500k AVOptionVideo preset ultrafast AVOptionVideo bufsize 1000k AVOptionVideo flags +global_header AudioCodec libfdk_aac #libmp3lame AudioBitRate 96 AudioChannels 2 AudioSampleRate 44100 AVOptionAudio flags +global_header PreRoll 0 MaxTime 0 NoDefaults /Stream I'm just doing a test so I can learn more about ffmpeg and ffserver. Thanks in advanced for your time. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Need more detailed description of the behaviour of the -ac channelcount option
Le quintidi 15 messidor, an CCXXIII, Christoph Gerstbauer a écrit : But what can I do when I want this? c1=c1 c2=c2 c3=silent c4=silent c5=silent c6=silent c7=silent c8=silent Just leave c3-c8 alone, pan will fill them with silence. And remember that channels are numbered starting at 0. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Remux doubts
Thanks Francois. I will demux programatically and see if both file contents are same/similar. But what is surprising me, the remuxed file I can play in Chrome browser but not in Mozilla. I can play the remuxed file in avplay as well. Shall I assume my remuxed file is fine as I am able to play it with avplay and chrome browser. Or Shall I assume my remuxed file is corrupted one as I can not play it in mozilla browser. Many thanks. Austin On Fri, Jul 3, 2015 at 1:29 PM, Francois Visagie francois.visa...@gmail.com wrote: -Original Message- From: ffmpeg-user-boun...@ffmpeg.org [mailto:ffmpeg-user- boun...@ffmpeg.org] On Behalf Of Austin Einter Sent: 03 July 2015 00:54 To: ffmpeg-user@ffmpeg.org Subject: Re: [FFmpeg-user] Remux doubts Can somebody pls clarify.., I observed the remuxed file is less by 17 bytes. That does not necessarily indicate a problem, but rather more likely the fact that the new container has slightly different metadata. You could demux both the original and remuxed files to elementary streams for more meaningful comparison. On Thu, Jul 2, 2015 at 11:04 AM, Austin Einter austin.ein...@gmail.com wrote: Hi All I am new to FFmpeg. But I am really excited to learn more about it. I tried remuxing example as a first step. I have taken remux example available at http://ffmpeg.org/doxygen/trunk/doc_2examples_2remuxing_8c- example.html. I compiled andlinked to ffmpeg .so files. Everything went fine. Now I downloaded a webm file (small.webm). It contains vp8 and vorbis frames. I did remux it and output file is remuxed.webm I can play the remuxed webm file. So far so good. -- Now I wanted to remux a webm file that contains vp8 and opus frames. I could not get such file in internet. So I converted small.webm file to another file say output.webm that contains vp8 and opus frames using below command. *./ffmpeg -i small.webm -c:v libvpx -c:a libopus -qmin 0 -qmax 20 output.webm* I opened output.webm in a mozilla browser and I am able to play it. Looks everything fine here. Then I did remux of output.webm and say resultant file is remuxed.webm. If I try to pay remuxed.webm in mozilla browser, it does not play. It gives an error Video can't be played because the file is corrupt. Can somebody help me to understand when I remux vp8/vorbis file it works, and when I remux vp8/opus file it does not work using the example at http://ffmpeg.org/doxygen/trunk/doc_2examples_2remuxing_8c- example.html. I am using ffmpeg 2.7.1 version. Thanks Austin ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Remux doubts
-Original Message- From: ffmpeg-user-boun...@ffmpeg.org [mailto:ffmpeg-user- boun...@ffmpeg.org] On Behalf Of Austin Einter Sent: 03 July 2015 00:54 To: ffmpeg-user@ffmpeg.org Subject: Re: [FFmpeg-user] Remux doubts Can somebody pls clarify.., I observed the remuxed file is less by 17 bytes. That does not necessarily indicate a problem, but rather more likely the fact that the new container has slightly different metadata. You could demux both the original and remuxed files to elementary streams for more meaningful comparison. On Thu, Jul 2, 2015 at 11:04 AM, Austin Einter austin.ein...@gmail.com wrote: Hi All I am new to FFmpeg. But I am really excited to learn more about it. I tried remuxing example as a first step. I have taken remux example available at http://ffmpeg.org/doxygen/trunk/doc_2examples_2remuxing_8c- example.html. I compiled andlinked to ffmpeg .so files. Everything went fine. Now I downloaded a webm file (small.webm). It contains vp8 and vorbis frames. I did remux it and output file is remuxed.webm I can play the remuxed webm file. So far so good. -- Now I wanted to remux a webm file that contains vp8 and opus frames. I could not get such file in internet. So I converted small.webm file to another file say output.webm that contains vp8 and opus frames using below command. *./ffmpeg -i small.webm -c:v libvpx -c:a libopus -qmin 0 -qmax 20 output.webm* I opened output.webm in a mozilla browser and I am able to play it. Looks everything fine here. Then I did remux of output.webm and say resultant file is remuxed.webm. If I try to pay remuxed.webm in mozilla browser, it does not play. It gives an error Video can't be played because the file is corrupt. Can somebody help me to understand when I remux vp8/vorbis file it works, and when I remux vp8/opus file it does not work using the example at http://ffmpeg.org/doxygen/trunk/doc_2examples_2remuxing_8c- example.html. I am using ffmpeg 2.7.1 version. Thanks Austin ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Need more detailed description of the behaviour of the -ac channelcount option
-Original Message- From: ffmpeg-user-boun...@ffmpeg.org [mailto:ffmpeg-user- boun...@ffmpeg.org] On Behalf Of Christoph Gerstbauer Sent: 03 July 2015 08:36 To: FFmpeg user questions Subject: Re: [FFmpeg-user] Need more detailed description of the behaviour of the -ac channelcount option Am 02.07.15 um 12:49 schrieb Nicolas George: Le quartidi 14 messidor, an CCXXIII, Christoph Gerstbauer a écrit : Hello Carl, so what can I do when my target has more audio channel than the source? For example if I have a file with 2ch stereo and my target is 4ch (with ch3 and ch4 silent) how can i do that? I need to generate silence for the last 2 channels because I dont want to copy ch1ch2 to ch3ch4. Hi Nicolas! I tried the pan filter, it works very well when using ONE audio source stream. For example I use this syntax to spread 2ch source to 8ch target: -af pan=8c|c0=c0|c1=c1|c2=c0|c3=c1|c4=c0|c5=c1|c6=c0|c7=c1 But what can I do when I want this? c1=c1 c2=c2 c3=silent c4=silent c5=silent c6=silent c7=silent c8=silent I tried to use the anullsrc (to generate silence), but to use that anullsrc would be a second audio input stream. Although I haven't tried it in this context, I suspect the '-map' option should enable you to specify treatment for individual input streams. But how can I defind a second audio input stream in pan? I think this is not possible. In the examples there is no hint for that. Am I right? mfg chris ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Need more detailed description of the behaviour of the -ac channelcount option
Am 02.07.15 um 12:49 schrieb Nicolas George: Le quartidi 14 messidor, an CCXXIII, Christoph Gerstbauer a écrit : Hello Carl, so what can I do when my target has more audio channel than the source? For example if I have a file with 2ch stereo and my target is 4ch (with ch3 and ch4 silent) how can i do that? I need to generate silence for the last 2 channels because I dont want to copy ch1ch2 to ch3ch4. Hi Nicolas! I tried the pan filter, it works very well when using ONE audio source stream. For example I use this syntax to spread 2ch source to 8ch target: -af pan=8c|c0=c0|c1=c1|c2=c0|c3=c1|c4=c0|c5=c1|c6=c0|c7=c1 But what can I do when I want this? c1=c1 c2=c2 c3=silent c4=silent c5=silent c6=silent c7=silent c8=silent I tried to use the anullsrc (to generate silence), but to use that anullsrc would be a second audio input stream. But how can I defind a second audio input stream in pan? I think this is not possible. In the examples there is no hint for that. Am I right? mfg chris ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Re: [FFmpeg-user] Need more detailed description of the behaviour of the -ac channelcount option
Am 03.07.2015 um 10:35 schrieb Nicolas George: Le quintidi 15 messidor, an CCXXIII, Christoph Gerstbauer a écrit : But what can I do when I want this? c1=c1 c2=c2 c3=silent c4=silent c5=silent c6=silent c7=silent c8=silent Just leave c3-c8 alone, pan will fill them with silence. And remember that channels are numbered starting at 0. So simple! Thank you very much! Br Christoph ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user