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:
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).Code: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
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 !
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 1 of 1
Thread
Similar Threads
-
FFMPEG to transcode 50i h264, problems with field order
By ffml in forum Newbie / General discussionsReplies: 6Last Post: 2nd Jul 2020, 05:02 -
Can is use more than 1 computer to transcode a video file using ffmpeg at t
By oduodui in forum LinuxReplies: 6Last Post: 31st Dec 2018, 10:41 -
How to convert mp4 audio to AAC and keep original video w FFMPEG or ?
By trueblueCj in forum Newbie / General discussionsReplies: 1Last Post: 1st Jul 2018, 18:24 -
FFmpeg transcode .m3u8 return (401 Unauthorized authorization failed)
By qoraiche in forum Video Streaming DownloadingReplies: 3Last Post: 9th Nov 2017, 19:42 -
ffmpeg audio delay - how to get the video to start before the audio ?
By Selur in forum Newbie / General discussionsReplies: 6Last Post: 13th Mar 2017, 14:30