Opened 18 years ago
Closed 17 years ago
files with no pts for video can get timestamps wrong
if there is an occasional audio pts but never any video pts
the video pts's have no baseline as estimate timings updates its guessed value.
this value isnt cleared when the real stream is played.
while this doesnt fix the underlying problem, it does fix the symptom as the start of all recordings is adjusted to 0 anyway.
This is a problem with libavformat.
patch attached which is not in libavformat and will be compatible with any fix
to libavformat if and when I have time.
innocuous to streams with pts's for all streams.
file I had is a mpegps.
patch attached.
Change History (10)
Changed 18 years ago by Mark Spieth
Changed 18 years ago by Mark Spieth
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Resolution: |
fixed
|
Status: |
closed →
reopened
|
Resolution: |
→ fixed
|
Status: |
reopened →
closed
|
2nd patch attached which is required in addition to the first patch. does not provide any extra functionality for myth but makes libavformat more robust if the 0 initial timestamp patch is not there. should be submitted to ffmpeg people. the first patch is very necessary though.