TX2之硬件解码RTSP转RTMP

参考:https://gist.github.com/Brainiarc7/7b6049aac3145927ae1cfeafc8f682c1

参考:https://developer.nvidia.com/ffmpeg

1 目标

用TX2做硬件解码,实时获取相机rtsp视频,解码后转为rtmp推流到服务器,本文介绍用到的两种方法,分别是FFmpeg指令和GStreamer指令,哪种效果好,需要再比较一下

2 FFmpeg指令格式

ffmpeg [input-options] -i [input-file] [output-options] [output-stream-URI]
//[input-options] apply to the input, or source, file. For example, you can use -s to specify the size of the file.
//[input-file] is the video file or the stream URL.
//[output-options] apply to the output, or destination. For example, the -f option specifies the output container format.  
//[output-stream-URI] is the destination stream URI. The format of the URI depends on the output container format.

当输出是rtm


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部