Hi,
I'm trying to download TV shows that are published online by the broadcaster. The shows are meant for streaming, so you get an m3u8 file to play from. With vlc, I save this stream to disk using either the GUI (Convert/Save) or the command line (--sout #std{access=file,dst=...} without transcoding. This is the stream information for the resulting file:
Video: MPEG4 Video (H264) 1280x720 25fps 2230kbps [V: English [eng] (h264 high L4.1, yuv420p, 1280x720, 2230 kb/s)]
Audio: AAC 48000Hz stereo 157kbps [A: SoundHandler [eng] (aac, 48000 Hz, stereo, 157 kb/s)]
Both methods cause the same audio/video sync issues that are NOT present when I transcode the stream (to vcodec=mp4v,acodec=mpga,deinterlace) on the fly before sending it to a file.
I'm curious as to why it happens, but more importantly I wonder if there's any way I can fix this after the fact. Entering a fixed sync offset will not help and transcoding the saved stream does not fix the issue the same way it does when transcoding is done on the fly. Transcoding with audio-sync after the stream has been saved doesn't help either.
Any suggestions?