Answer by Monaco for Problems with outputting stream format as RTMP via...
I have encountered the same issue. When I push an RTMP stream using the FFmpeg command line, there is no problem.ffmpeg -re -i "sample.mp4" -f flv rtmp://sample.url.com/livestreamHowever, when I use...
View ArticleAnswer by dongrixinyu for Problems with outputting stream format as RTMP via...
I have fixed this problem. It involves with the sequence of steps when pushing an online stream.correct sequence:find encoder -> encoder context (set encoder params)-> allocate packet/frame ->...
View ArticleAnswer by Andrei Vukolov for Problems with outputting stream format as RTMP...
The example from leixiaohua1020's Github uses a bit different transmission and closure schema:The timecode rescaler is invoked also in a different way:/* copy packet */ //Convert PTS/DTS pkt.pts =...
View ArticleProblems with outputting stream format as RTMP via FFmpeg C-API
I am using FFmpeg's C API to push video streams rtmp://.... into an SRS server.The input stream is an MP4 file named juren-30s.mp4. The output stream is also an MP4 file named juren-30s-5.mp4.My piece...
View Article