Nicht monotones DTS im Ausgabestrom

1964
sana

Zusammenfassung des Fehlers: Hallo, ich habe ein Netzwerk mit dem Mininet-Simulator auf Ubuntu 14.04lts erstellt. In diesem Netzwerk möchte ich Video zwischen zwei Hosts übertragen. Ich habe vlc im Sender-Host und ich habe ffmpeg im Receiver-Host verwendet. Wenn ich das ffmpeg starte, erhalte ich viele dieser Fehler:

[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. 

Hier ist der verwendete Befehl:

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

Die Version von ffmpeg ist 4.0_static.

Ich habe ffmpeg von https://johnvansickle.com/ffmpeg/ installiert und die Installationsanweisungen in https://www.johnvansickle.com/ffmpeg/faq/ installiert.

1

1 Antwort auf die Frage

0
Mint

Nevermind sieht aus, als hätte ich die Antwort gefunden.

Versuchen:

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-Quelle .

Möglicherweise müssen Sie auch hinzufügen, -rtsp_transport tcpbevor, -iwenn Sie wie zu bemerken Fehler beginnen max delay reached. need to consume packet.

Zumindest ist das der Fehler, der für mich mit einem RTSP-Stream behoben wurde.