Hi , I am mixing 2 audio streams and transcoding to mp3 stream . I am able to get the output in real time initially but with time the output is being delayed and is not in real time . My command is ffmpeg -probesize 2048 -analyzeduration 1 -i http://xx.yy.zz/stream1.mp3 -i rtmp;//xx.yy.zz/stream2.flv amix -filter_complex amix=inputs=2:duration=first -ca libmp3lame -ab 128k -ar 44100 -f mp3 - > | named pipe . Is there any other input parameter that should be added to get the real time output always ? -- -- Karthik Babu
it is ordinary, how long it delay? ------------------ Original ------------------ From: "karthik@cytrion.com";<karthik@cytrion.com>; Date: Mon, Mar 17, 2014 12:39 PM To: "FFmpeg user questions"<ffmpeg-user@ffmpeg.org>; Subject: [FFmpeg-user] Real Time Transcoding Hi , I am mixing 2 audio streams and transcoding to mp3 stream . I am able to get the output in real time initially but with time the output is being delayed and is not in real time . My command is ffmpeg -probesize 2048 -analyzeduration 1 -i http://xx.yy.zz/stream1.mp3 -i rtmp;//xx.yy.zz/stream2.flv amix -filter_complex amix=inputs=2:duration=first -ca libmp3lame -ab 128k -ar 44100 -f mp3 - > | named pipe . Is there any other input parameter that should be added to get the real time output always ? -- -- Karthik Babu _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user .
I have almost a 12 second delay after first hour and it increases with time . After 3 days the delay is almost for 50 seconds . On Mon, Mar 17, 2014 at 6:36 PM, Jacky <690271929@qq.com> wrote:
it is ordinary, how long it delay?
------------------ Original ------------------ From: "karthik@cytrion.com";<karthik@cytrion.com>; Date: Mon, Mar 17, 2014 12:39 PM To: "FFmpeg user questions"<ffmpeg-user@ffmpeg.org>;
Subject: [FFmpeg-user] Real Time Transcoding
Hi ,
I am mixing 2 audio streams and transcoding to mp3 stream . I am able to get the output in real time initially but with time the output is being delayed and is not in real time .
My command is ffmpeg -probesize 2048 -analyzeduration 1 -i http://xx.yy.zz/stream1.mp3-i rtmp;//xx.yy.zz/stream2.flv amix -filter_complex amix=inputs=2:duration=first -ca libmp3lame -ab 128k -ar 44100 -f mp3 - > | named pipe .
Is there any other input parameter that should be added to get the real time output always ?
-- -- Karthik Babu _______________________________________________ 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
-- -- Karthik Babu Kantipudi Cytrion Software Solutions Pvt Ltd. www.cytrion.com +91- 9704086642 +91-40-6535-0395 +91-40-4203-0221
Is the two input delayed? ------------------ Original ------------------ From: "karthik@cytrion.com";<karthik@cytrion.com>; Date: Mon, Mar 17, 2014 09:41 PM To: "FFmpeg user questions"<ffmpeg-user@ffmpeg.org>; Subject: Re: [FFmpeg-user] Real Time Transcoding I have almost a 12 second delay after first hour and it increases with time . After 3 days the delay is almost for 50 seconds . On Mon, Mar 17, 2014 at 6:36 PM, Jacky <690271929@qq.com> wrote:
it is ordinary, how long it delay?
------------------ Original ------------------ From: "karthik@cytrion.com";<karthik@cytrion.com>; Date: Mon, Mar 17, 2014 12:39 PM To: "FFmpeg user questions"<ffmpeg-user@ffmpeg.org>;
Subject: [FFmpeg-user] Real Time Transcoding
Hi ,
I am mixing 2 audio streams and transcoding to mp3 stream . I am able to get the output in real time initially but with time the output is being delayed and is not in real time .
My command is ffmpeg -probesize 2048 -analyzeduration 1 -i http://xx.yy.zz/stream1.mp3-i rtmp;//xx.yy.zz/stream2.flv amix -filter_complex amix=inputs=2:duration=first -ca libmp3lame -ab 128k -ar 44100 -f mp3 - > | named pipe .
Is there any other input parameter that should be added to get the real time output always ?
-- -- Karthik Babu _______________________________________________ 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
-- -- Karthik Babu Kantipudi Cytrion Software Solutions Pvt Ltd. www.cytrion.com +91- 9704086642 +91-40-6535-0395 +91-40-4203-0221 _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user .
No , both are live streams . One is mp3 stream over http and the other one is nelly moser thru rtmp . On Mon, Mar 17, 2014 at 6:44 PM, Jacky <690271929@qq.com> wrote: > Is the two input delayed? > > > > > ------------------ Original ------------------ > From: "karthik@cytrion.com";<karthik@cytrion.com>; > Date: Mon, Mar 17, 2014 09:41 PM > To: "FFmpeg user questions"<ffmpeg-user@ffmpeg.org>; > > Subject: Re: [FFmpeg-user] Real Time Transcoding > > > > I have almost a 12 second delay after first hour and it increases with > time . After 3 days the delay is almost for 50 seconds . > > > On Mon, Mar 17, 2014 at 6:36 PM, Jacky <690271929@qq.com> wrote: > > > it is ordinary, how long it delay? > > > > > > > > > > ------------------ Original ------------------ > > From: "karthik@cytrion.com";<karthik@cytrion.com>; > > Date: Mon, Mar 17, 2014 12:39 PM > > To: "FFmpeg user questions"<ffmpeg-user@ffmpeg.org>; > > > > Subject: [FFmpeg-user] Real Time Transcoding > > > > > > > > Hi , > > > > I am mixing 2 audio streams and transcoding to mp3 stream . I am able to > > get the output in real time initially but with time the output is being > > delayed and is not in real time . > > > > > > My command is > > ffmpeg -probesize 2048 -analyzeduration 1 -i > http://xx.yy.zz/stream1.mp3-i > > rtmp;//xx.yy.zz/stream2.flv amix -filter_complex > > amix=inputs=2:duration=first -ca libmp3lame -ab 128k -ar 44100 -f mp3 > - > > > | named pipe . > > > > Is there any other input parameter that should be added to get the real > > time output always ? > > > > > > -- > > -- > > Karthik Babu > > _______________________________________________ > > 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 > > > > > > -- > -- > Karthik Babu Kantipudi > Cytrion Software Solutions Pvt Ltd. > www.cytrion.com > +91- 9704086642 > +91-40-6535-0395 > +91-40-4203-0221 > _______________________________________________ > 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 > -- -- Karthik Babu Kantipudi Cytrion Software Solutions Pvt Ltd. www.cytrion.com +91- 9704086642 +91-40-6535-0395 +91-40-4203-0221
participants (2)
-
Jacky -
karthik@cytrion.com