使用FFMPEG的MPEG-TS到RTSP
我正在尝试将MPEG-TS流转换为RTSP,我正在考虑这样做:使用FFMPEG的MPEG-TS到RTSP,ffmpeg,video-streaming,rtsp,fluent-ffmpeg,mpeg2-ts,Ffmpeg,Video Streaming,Rtsp,Fluent Ffmpeg,Mpeg2 Ts,我正在尝试将MPEG-TS流转换为RTSP,我正在考虑这样做: ffmpeg -i udp://235.0.1.1/ -f rtsp rtsp://192.168.1.200:1234 我需要做什么才能让它工作?如果不能使用ffmpeg,我还可以尝试什么 输出错误: [h264 @ 000001ad3f2a4980] decode_slice_header error [h264 @ 000001ad3f2a4980] no frame! [h264 @ 000001ad3f2a4980] n
ffmpeg -i udp://235.0.1.1/ -f rtsp rtsp://192.168.1.200:1234
我需要做什么才能让它工作?如果不能使用ffmpeg,我还可以尝试什么
输出错误:
[h264 @ 000001ad3f2a4980] decode_slice_header error
[h264 @ 000001ad3f2a4980] no frame!
[h264 @ 000001ad3f2a4980] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 000001ad3f2a4980] decode_slice_header error
[h264 @ 000001ad3f2a4980] no frame!
[mpegts @ 000001ad3f27d840] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'udp://235.211.23.101:51001/':
Duration: N/A, start: 8681.171156, bitrate: N/A
Program 1
Stream #0:0[0x21]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(top first), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x24]: Audio: aac ([15][0][0][0] / 0x000F), 0 channels
Stream #0:2[0x28]: Data: klv (KLVA / 0x41564C4B)
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
你试过了吗?@llogan我试过了,但没用。我编辑了这个问题并从输出中添加了相关的错误,确保你使用的是最新的FFMPEG,并考虑增加“分析”和“概率”选项的价值。