[FFmpeg-user] rtmp output is black, bitrate= N/A

Anthony Griffiths neuronetv at gmail.com
Sat Apr 25 22:17:18 CEST 2015


On Sat, Apr 25, 2015 at 8:40 PM, DopeLabs <dopelabs at dubstep.fm> wrote:
> from https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs <https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs>
>
> Tee pseudo-muxer <https://trac.ffmpeg.org/wiki/Creating%20multiple%20outputs#Teepseudo-muxer>
> The tee pseudo-muxer <https://ffmpeg.org/ffmpeg-formats.html#tee> was added to ffmpeg on 2013-02-03, and allows you to duplicate the output to multiple files with a single instance of ffmpeg.
>
> ffmpeg -i input.file -c:v libx264 -c:a mp2 \
> -f tee -map 0:v -map 0:a "output.mkv|[f=mpegts]udp://10.0.1.255:1234/"
>
> so in your case the command should be something like this (untested):
>
>
> $ ffmpeg -y -deinterlace -f dv -i - -s 320x240 -r 10 -b:v 1000k -c:v libx264 -pix_fmt yuv420p -preset veryfast -crf 25 -maxrate 3000k -bufsize 6000k -g 20 -c:a libmp3lame -ac 1 -ab 32k -ar 22050 -f tee -map 0:v -map 0:a “recording.mp4|[f=flv]rtmp://xxx.xxx.xxx.xxx:1935/live/livestream1 <rtmp://xxx.xxx.xxx.xxx:1935/live/livestream1>"

thankyou and yes the command you gave is the command I'm using and the
process does run but I'm still getting a black output on the rtmp and
bitrate=N/A.


More information about the ffmpeg-user mailing list