Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th May 2017, 19:56   #1  |  Link
FlintEastwood
Registered User
 
Join Date: Apr 2017
Posts: 9
Timestamps are unset in a packet for stream 0.

I try to mux a H264 stream with an AAC stream into a MP4 file.

FFmpeg complains about missing timestamps but muxes the file perfectly:
Code:
[mp4 @ 03b3da60] 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
[mp4 @ 03b3da60] pts has no value
    Last message repeated 821 times
[mp4 @ 03b3da60] pts has no value   8587kB time=00:00:16.42 bitrate=4284.3kbits/s speed=32.8x
    Last message repeated 813 times
[mp4 @ 03b3da60] pts has no value   15734kB time=00:00:32.70 bitrate=3941.8kbits/s speed=32.7x
    Last message repeated 802 times
....
The H264 stream was produced by X264 while trying to get Bluray-compatibility:
Code:
x264 --quiet --bitrate %bitrate% --preset %preset% --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 50 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 1 -o %outfile% %infile%

x264 --quiet --bitrate %bitrate% --preset %preset% --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 50 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 2 -o %outfile% %infile%
I muxed those files normally with mp4box or Avidemux, but I found out now, that skipping and seeking takes up to a few seconds(5-6 seconds) even in short clips around 3 minutes.
So I tried FFmpeg for muxing, and skipping/seeking works instantly.
But the timestamp-complains make me worry.

When I use closed-GOPs, then skipping/seeking works instantly with mp4box and Avidemux too, but this isn't the right way for Bluray-compatibility, isn't it? (FFmpeg still complains about Timestamps with closed GOP)

How can I do it right?
FlintEastwood is offline   Reply With Quote
Reply

Tags
ffmpeg, x264

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:07.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.