Немонотонный DTS в выходном потоке

1967
sana

Краткое описание ошибки: Здравствуйте, я создал сеть с симулятором мининетов на Ubuntu 14.04lts. В этой сети я хочу передавать видео между двумя хостами. Я использовал vlc на хосте отправителя и ffmpeg на хосте получателя. Когда я запускаю ffmpeg, я получаю много этих ошибок:

[avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3497, current: 3480; changing to 3498. This may result in incorrect timestamps in the output file. [avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3498, current: 3481; changing to 3499. This may result in incorrect timestamps in the output file. [avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3499, current: 3482; changing to 3500. This may result in incorrect timestamps in the output file. [avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3500, current: 3483; changing to 3501. This may result in incorrect timestamps in the output file. [avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3501, current: 3484; changing to 3502. This may result in incorrect timestamps in the output file. 

Вот используемая команда:

ffmpeg -i rtsp://10.0.0.1:8554/test1.sdp -acodec copy -vcodec copy /home/sana/lab/mrp/test1.avi 

версия ffmpeg - 4.0_static.

Я установил ffmpeg из https://johnvansickle.com/ffmpeg/ и установил с инструкциями по установке в https://www.johnvansickle.com/ffmpeg/faq/

1

1 ответ на вопрос

0
Mint

Неважно, похоже, я нашел ответ.

Пытаться:

ffmpeg -use_wallclock_as_timestamps 1 -i rtsp://10.0.0.1:8554/test1.sdp -acodec copy -vcodec copy /home/sana/lab/mrp/test1.avi` 

Источник FFmpeg .

Возможно, вам также придется добавить -rtsp_transport tcpраньше, -iесли вы начнете замечать такие ошибки, как max delay reached. need to consume packet.

По крайней мере, это то, что исправило ошибку для меня с потоком rtsp.

Похожие вопросы