View Single Post
Old 25th November 2012, 13:44   #1  |  Link
agni451
Registered User
 
Join Date: Jul 2012
Posts: 6
lossless copy problem

I'm trying to run a .TS file through ffmpeg in order to resync the audio. I am using the following command line in an attempt to get a lossless copy while still resyncing (won't resync if I just say -c:v copy):

Code:
ffmpeg64 -v verbose -y -i "S:\VFolder\A.ts" -c:v mpeg2video -q:vscale 0 -c:a ac3 -ab 384k -ac 6 -async 48000 "S:\VFolder\A_FIX.ts"
The input file is an 829MB 1920x1080 29.97fps interlaced (TFF) mpeg2video at 16.9Mbps (according to mediainfo). However, the output file is smaller at 714MB at 14.5Mbps and is read in mediainfo as progressive scan.

Media Player Classic plays the original file fine with the deinterlacer providing good quality. However, the fixed TS file plays, but since it is read as progressive, the deinterlacer doesn't work.

How can the output file have a lower bitrate and be considered progressive if I used a constant quantizer of 0 and didn't use -deinterlace or -filter:v yadif? How can I make sure the scan type remains the same and the quality is lossless? I don't care how large the fixed file is.

Last edited by agni451; 25th November 2012 at 13:46.
agni451 is offline   Reply With Quote