[FFmpeg-user] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future

Mohammed Sha mohammed.sha at vvdntech.in
Wed Jul 18 07:25:19 EEST 2018


Could someone help-us on this ?

On Tue, Jul 17, 2018 at 11:06 AM, zhangkai.gis <zhangkai.gis at 163.com> wrote:

> I met the same problem.
>
> zhangkai
> 2017-07-17
>
>
>
> From:Mohammed Sha <mohammed.sha at vvdntech.in>
> Date:2018-07-16 16:04
> Subject:[FFmpeg-user] Timestamps are unset in a packet for stream 0. This
> is deprecated and will stop working in the future
> To:"FFmpeg user questions"<ffmpeg-user at ffmpeg.org>
> Cc:
>
> Hi All,
>
> I am using below command to push the video to Wowza server, since we are
> pushing raw h264 video, the rtp packet doesnot have the timestamp,  and we
> could observe audio video sync issue while playing video using vlc. While
> executing the ffmpeg. Command, there is a warning showing as ( , *rtsp @
> 0xb754bda0] 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). * we think the audio video sync is related to this.
>
> IS there any option available in ffmpeg to add timestamp in rtp packet and
> push the video and audio ?
>
> Below is the command with logs
>
> ffmpeg -f h264 -i /tmp/enc_sd_stream.h264 -f aac -i /tmp/
> aud_rec_stream  -acodec copy -vcodec copy -r 23  -rtpflags latm -f rtsp
>  rtsp://shafi:shafi@192.168.1.135:1935/live/myStream
>
> Input #0, h264, from '/tmp/enc_sd_stream.h264':
>   Duration: N/A, bitrate: N/A
>     Stream #0:0: Video: h264 (Baseline), yuv420p, 720x576, 25 fps, 25 tbr,
> 1200k tbn, 50 tbc
> Input #1, aac, from '/tmp/aud_rec_stream':
>   Duration: N/A, bitrate: 57 kb/s
>     Stream #1:0: Audio: aac (LC), 32000 Hz, mono, fltp, 57 kb/s
> [udp @ 0xb7553290] 'circular_buffer_size' option was set but it is not
> supported on this build (pthread support is required)
> [udp @ 0xb7553320] 'circular_buffer_size' option was set but it is not
> supported on this build (pthread support is required)
> [udp @ 0xb754c520] 'circular_buffer_size' option was set but it is not
> supported on this build (pthread support is required)
> [udp @ 0xb758d670] 'circular_buffer_size' option was set but it is not
> supported on this build (pthread support is required)
> Output #0, rtsp, to 'rtsp://shafi:shafi@192.168.1.135:1935/live/myStream':
>
>   Metadata:
>     encoder         : Lavf57.25.100
>     Stream #0:0: Video: h264, yuv420p, 720x576, q=2-31, 25 fps, 25 tbr,
> 90k
> tbn, 15 tbc
>     Stream #0:1: Audio: aac (LC), 32000 Hz, mono, 57 kb/s
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
>   Stream #1:0 -> #0:1 (copy)
> Press [q] to stop, [?] for help
> [h264 @ 0xb752e2b0] Thread message queue blocking; consider raising the
> thread_queue_size option (current value: 8)
> *[rtsp @ 0xb754bda0] 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*
> [aac @ 0xb75f7880] Thread message queue blocking; consider raising the
> thread_queue_size option (current value: 8)
> frame=10213 fps= 14 q=-1.0 Lsize=N/A time=00:06:48.80 bitrate=N/A
> speed=0.574x
>
>
> --
> Thanks & Regards
> *Mohammed Sha Ebrahim*
> VVDN Technologies Pvt.Ltd
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".




-- 
Thanks & Regards
*Mohammed Sha Ebrahim*
VVDN Technologies Pvt.Ltd


More information about the ffmpeg-user mailing list