I think the stream is ok -- I have used the same program to write to protocol file: and then uploaded that to youtube with no issue.
Is that a good enough test the the stream format? ________________________________ From: Libav-user <[email protected]> on behalf of Devin Heitmueller <[email protected]> Sent: Friday, October 30, 2020 10:33 AM To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. <[email protected]> Cc: FFmpeg user questions <[email protected]> Subject: Re: [Libav-user] [FFmpeg-user] RTMP issue On Thu, Oct 29, 2020 at 5:54 PM william keeling <[email protected]<mailto:[email protected]>> wrote: > > I still have not found a solution for this issue. I wonder if I need to use > avio_open2 (not avio_open). Avio_open2 takes AVDictionary of options as a > parameter. Does anyone know how to find any documentation of the options > that an available for the RTMP protocol? Have you confirmed that the H.264 stream produced by the hardware encoder can actually be decoded by Youtube? Some of these hardware encoders use non-standard/less-common options that might cause problems with a streaming service. Since you're using "-vcodec copy" you're essentially just passing through the NAL stream from the hardware encoder unmodified. I would suggest trying it with an H.264 stream that isn't the output of the hardware encoder, just to see if this is really a problem with the RTMP as opposed to the H.264 stream contained within it. Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
