[FFmpeg-user] preprocess rawdata to RTMP

Yanet Giuse yanetagiu at yahoo.com
Wed May 3 18:22:42 EEST 2017


Im just trying to use ffmpeg command to transport a preprocess video to RTMP ( It is a youtube live streaming ) 

So my input is a rawvideo and my output a RTMP address.
Before, i was using this command to transport RTSP to RTMP:
ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp://admin:admin@192.168.0.143:554/h264/ch1/main/av_stream -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/4584-gfjh-28g5-88k0
Now, what are the changes in this command to transport a rawvideo?
I do the preprocess of the RTSP video with openCV library in C++. Which are the ways (and format) I can feed ffmpeg with these frames?
Is this correct if my programĀ  output is a string "form" of the frames?$ my_cpp_program < ffmpeg




More information about the ffmpeg-user mailing list