View Single Post
Old 23rd July 2018, 19:08   #3128  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
I am trying to find a fool proof work flow for such captured MTS transport streams which allows me to add audio filters and does not have any audio delay problems. And I believe that I found such a work flow...

These are the steps:
1. Repack the source to MKV while converting the audio tracks to PCM. Here is a universal FFmpeg command line for this task:
Quote:
ffmpeg.exe -fflags +genpts -y -i "ONE.mts" -map 0:0 -c:v:0 copy -aspect:v:0 16:9 -map 0:1 -c:a:0 pcm_s24le -map 0:2 -c:a:1 pcm_s24le -shortest "ONE.mkv"
2. In AVStoDVD preferences disable audio delay correction AND force FFmpegSource for video and audio.

So far I tested 6 different captured sources, and they all came out in perfect sync. During the remuxing to MKV there are dozens of FFmpeg warnings at the beginning, but the garbled non-decodable frames are removed perfectly.


Cheers
manolito
manolito is offline   Reply With Quote