Hello.

I have a .mpg with interlaced mpeg2 and ac3 audio, which needs converting to 
progressive .mp4 avc/aac.

The interlaced video is a bit grainy etc so I hope to deinterlace and clean it 
up using vapoursynth CUDA filters and at the same time convert the audio, using 
a single commandline, perhaps like this:

ffmpeg.exe -i input_from_vapoursynthprocessed_mpg.vpy  -i the_mpg.mpg  -map 
0:v:0  -map 1:a:0  -c:v blah  -c:a blah  -y output.mp4

The thing is, the original files always have an audio/video delay of some kind 
(audio delay usually has a negative value, sometimes even a couple of seconds).
Also, Vapoursynth returns audio-free content, so video/audio delays returned to 
ffmpeg there would I suppose be 0.
The aim is to not have lost lipsync in the final output.

Can someone please advise;

(a) whether any audio delay is carried through correctly to the output file 
when using the single commandline above

(b) if not, how could I introduce the audio delay, assuming I can already 
detect its original value from the .mpg using mediainfo/ffprobe ?

Thanks !



_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to