[mythtv-users] Help with HDPVR and ffmpeg (slightly off topic)

HP-mini blm-ubunet at slingshot.co.nz
Wed Jan 16 05:11:49 UTC 2013


On Tue, 2013-01-15 at 14:33 -0500, Scott Naef wrote:
> I am attempting to transcode recordings made with an HDPVR.  I am using 
> Mythtv to do the capture.   I originally had trouble with playback in 
> Myth but was able to use the environment variable 
> FORCE_DTS_TIMESTAMPS=1  to get proper playback in Myth.   I am an 
> I have tried several options in FFMPEG such as  -async 1 but nothing I 
> try seems to work.  I always end  up with about 1.5 second delay in 
> video from audio.    From what I understand DTS timestamps are used to 
> decode content and offer a deterministic way to predict the number of 
> frames to decode and PTS timestamps are used to show the correct frames 
> in the correct order.   If this is true (long shot!) then I guess I need 
> a way to mux the audio and video streams using DTS not PTS.   Is this 
> way the Myth player does it?
> 
> Version:
> 
> ffmpeg version git-2013-01-05-7e5d4fa Copyright (c) 2000-2013 the FFmpeg 
> developers

> Any help would be greatly appreciated.  If needed I can grab a few 
> seconds of a news clip (talking heads help to see this) and offer it up 
> somewhere.
> 
> Thank you!
> -Scott Naef

With stream copying you could try options on/around:
-vsync 1 or drop
-copytb 1

the async option has been deprecated to filter aresample
ffmpeg stream copying is fast remuxing..

If you find a place for a 30 sec clip (use "dd" carefully) I will
attempt to find a fix.




More information about the mythtv-users mailing list