Составил запрос, но выводит ошибку.
Сам запрос.
sudo /usr/local/bin/ffmpeg -i rtp://@IP:PORT -vcodec copy -acodec aac -strict experimental -ar 44100 -ac 2 -f segment -segment_list /tmp/hls/channel_name.m3u8 -segment_list_type m3u8 -segment_time 10 -segment_format mpegts /tmp/hls/channel_name%03d.ts
Ошибка.
Last message repeated 1 times
[h264 @ 0x3bc20c0] decode_slice_header error
[h264 @ 0x3bc20c0] no frame!
[mp3 @ 0x3bc1260] Header missing
Last message repeated 109 times
[rtp @ 0x3bbe760] decoding for stream 0 failed
[rtp @ 0x3bbe760] Could not find codec parameters for stream 0 (Audio: mp3 ([6][0][0][0] / 0x0006), 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, rtp, from 'rtp://@233.33.210.86:5050':
Duration: N/A, start: 34132.561389, bitrate: 191 kb/s
Program 25
Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:2(rus): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 191 kb/s
Stream #0:0(rus): Audio: mp3 ([6][0][0][0] / 0x0006), 0 channels, s16p
Codec AVOption strict (how strictly to follow the standards) specified for output file #0 (/tmp/hls/channel_name%03d.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Output #0, segment, to '/tmp/hls/channel_name%03d.ts':
Output file #0 does not contain any stream
Проблема в сегментах, как её исправить ?