ERROR RTSP - TIMESTAMPS ARE UNSET

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ERROR RTSP - TIMESTAMPS ARE UNSET

Alejandro Escudero
Hi

I am getting an RTSP stream from a DLink camera but I am getting this error: Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

This is the command: (I also tried adding -fflags +genpts but i still get the error)

ffmpeg -rtsp_transport tcp -i “rtsp://admin:password@ip:554/play1.sdp” -c copy dlink.mp4


This is the console output:



C:\Users\User\Desktop\ejemplosff>ffmpeg -rtsp_transport tcp -i "rtsp://admin:pass@ip:554/play1.sdp" -c copy dlink.mp4

ffmpeg version N-94423-ga0c1970781 Copyright (c) 2000-2019 the FFmpeg developers

  built with gcc 9.1.1 (GCC) 20190716

  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt

  libavutil      56. 32.100 / 56. 32.100

  libavcodec     58. 55.100 / 58. 55.100

  libavformat    58. 30.100 / 58. 30.100

  libavdevice    58.  9.100 / 58.  9.100

  libavfilter     7. 58.100 /  7. 58.100

  libswscale      5.  6.100 /  5.  6.100

  libswresample   3.  6.100 /  3.  6.100

  libpostproc    55.  6.100 / 55.  6.100

Input #0, rtsp, from 'rtsp://admin:pass@ip:554/play1.sdp':

  Metadata:

    title           : Session streamed by D-Link

    comment         : play1.sdp

  Duration: N/A, start: 0.000000, bitrate: N/A

    Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 320x176, 15.17 tbr, 90k tbn, 180k tbc

    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp

File 'dlink.mp4' already exists. Overwrite ? [y/N] y

Output #0, mp4, to 'dlink.mp4':

  Metadata:

    title           : Session streamed by D-Link

    comment         : play1.sdp

    encoder         : Lavf58.30.100

    Stream #0:0: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(progressive), 320x176, q=2-31, 15.17 tbr, 90k tbn, 90k tbc

    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:1 -> #0:1 (copy)

Press [q] to stop, [?] for help

[mp4 @ 000001cd9711f0c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

frame=  168 fps= 22 q=-1.0 Lsize=     209kB time=00:00:11.17 bitrate= 153.5kbits/s speed=1.47x

video:161kB audio:42kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.117589%

Exiting normally, received signal 2.



Thanks for your help!


Alejandro

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

ERROR RTSP - TIMESTAMPS ARE UNSET

Alejandro Escudero


Hi

I am getting an RTSP stream from a DLink camera but I am getting this error: Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

This is the command: (I also tried adding -fflags +genpts but i still get the error)

ffmpeg -rtsp_transport tcp -i “rtsp://admin:password@ip:554/play1.sdp” -c copy dlink.mp4


This is the console output:



C:\Users\User\Desktop\ejemplosff>ffmpeg -rtsp_transport tcp -i "rtsp://admin:pass@ip:554/play1.sdp" -c copy dlink.mp4

ffmpeg version N-94423-ga0c1970781 Copyright (c) 2000-2019 the FFmpeg developers

  built with gcc 9.1.1 (GCC) 20190716

  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt

  libavutil      56. 32.100 / 56. 32.100

  libavcodec     58. 55.100 / 58. 55.100

  libavformat    58. 30.100 / 58. 30.100

  libavdevice    58.  9.100 / 58.  9.100

  libavfilter     7. 58.100 /  7. 58.100

  libswscale      5.  6.100 /  5.  6.100

  libswresample   3.  6.100 /  3.  6.100

  libpostproc    55.  6.100 / 55.  6.100

Input #0, rtsp, from 'rtsp://admin:pass@ip:554/play1.sdp':

  Metadata:

    title           : Session streamed by D-Link

    comment         : play1.sdp

  Duration: N/A, start: 0.000000, bitrate: N/A

    Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 320x176, 15.17 tbr, 90k tbn, 180k tbc

    Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp

File 'dlink.mp4' already exists. Overwrite ? [y/N] y

Output #0, mp4, to 'dlink.mp4':

  Metadata:

    title           : Session streamed by D-Link

    comment         : play1.sdp

    encoder         : Lavf58.30.100

    Stream #0:0: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(progressive), 320x176, q=2-31, 15.17 tbr, 90k tbn, 90k tbc

    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp

Stream mapping:

  Stream #0:0 -> #0:0 (copy)

  Stream #0:1 -> #0:1 (copy)

Press [q] to stop, [?] for help

[mp4 @ 000001cd9711f0c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

frame=  168 fps= 22 q=-1.0 Lsize=     209kB time=00:00:11.17 bitrate= 153.5kbits/s speed=1.47x

video:161kB audio:42kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.117589%

Exiting normally, received signal 2.



Thanks for your help!


Alejandro


[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>  Libre de virus. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ERROR RTSP - TIMESTAMPS ARE UNSET

Carl Eugen Hoyos-2
In reply to this post by Alejandro Escudero
Am Fr., 27. Sept. 2019 um 01:03 Uhr schrieb Alejandro Escudero
<[hidden email]>:
> I am getting an RTSP stream from a DLink camera but I am getting this error: Timestamps
> are unset in a packet for stream 0. This is deprecated and will stop working in the future.
> Fix your code to set the timestamps properly

There is nothing you can do about this message.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ERROR RTSP - TIMESTAMPS ARE UNSET

Alejandro Escudero
So if stream works we don’t have to care about that message right?

Thanks!

Descarga Outlook para iOS<https://aka.ms/o0ukef>
________________________________
De: ffmpeg-user <[hidden email]> en nombre de Carl Eugen Hoyos <[hidden email]>
Enviado: Sunday, September 29, 2019 3:15:35 PM
Para: FFmpeg user questions <[hidden email]>
Asunto: Re: [FFmpeg-user] ERROR RTSP - TIMESTAMPS ARE UNSET

Am Fr., 27. Sept. 2019 um 01:03 Uhr schrieb Alejandro Escudero
<[hidden email]>:
> I am getting an RTSP stream from a DLink camera but I am getting this error: Timestamps
> are unset in a packet for stream 0. This is deprecated and will stop working in the future.
> Fix your code to set the timestamps properly

There is nothing you can do about this message.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&amp;data=02%7C01%7C%7Cdd74164d1b194820459408d74519d65f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637053849587742229&amp;sdata=L3u%2BcM5sPkrts27LG7%2FG%2FOl0ec1RtK8RjoQ66yEkPxA%3D&amp;reserved=0

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".