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. |
![]() |
#1 | Link |
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" 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. |
![]() |
![]() |
![]() |
#2 | Link |
Registered User
Join Date: Mar 2006
Posts: 1,053
|
same quality lossless in mpeg 2 can be achieved by COPYING original file - what are You doing now i mpeg-2 transcoding and seems that ffmpeg lost information about interlace however it can be case where this is progressive file marked as interlace (pull down?) and ffmpeg transcode source ignoring pull down signalization - thus lower bitrate and progressive structure...
to losslessly resyncing You can try some TS muxer which allow to define offset for audio (delay/advance) is introduced by changing PTS. http://alien.slackbook.org/blog/fixing-audio-sync-with-ffmpeg/ http://forums.gbpvr.com/showthread.php?49257-audio-out-of-sync-fix-with-ffmpeg! Only COPY provide lossless operation on lossy compressed formats. Last edited by pandy; 26th November 2012 at 12:22. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|