Hello,
I'm trying to change my Hauppauge HDPVR2 recordings (.TS) to an MP4 container (without re-encoding, just so the video editors I use that don't support TS very well can open it). HDPVR2's own MP4 output seemed to be lower quality than TS. Unfortunately I always seem to end up with audio sync issues.
Things I've tried:
Copy with FFMPEG
ffmpeg -y -i "Test.ts" -i "Test.ts" -vcodec copy -acodec copy -f mp4 "Test.mp4"
Demuxing the TS and Remuxing as MP4 with FFMPEG using the following commands:
http://www.simonbrenner.org/Special_Blog?id=11
Saving it as an MP4 with AAC audio codec as this thread suggested:
http://askubuntu.com/a/171628
TS copy to MP4 with FFMPEG:
ffmpeg -f mpegts -i "Test.TS" -copyinkf -c:v copy -copyts -c:a copy -avoid_negative_ts 1 -bsf:a aac_adtstoasc -movflags faststart "Test.mp4"
With the last one the first few minutes seemed synced and I thought I'd cracked it but then the audio cut out completely. Also VLC incorrectly shows the length of the video as 4 hours instead of 50 minutes and won't scan through the video.
Thanks for any help.
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 11 of 11
Thread
-
-
I only have one short (15 min) HDPVR2 video on my computer right now but this seems to work without A/V sync problems:
Code:"g:\program files\ffmpeg\bin\ffmpeg" -i %1 -vcodec copy -acodec copy -absf aac_adtstoasc "%~d1%~p1%~n1.mp4"
-
Video redo plus
will open and edit mts files, no need to change to mp4 before editing
i use it to edit the files from my "home Worx" PVR -
Thank you, yeah I guess that is an option. Hoping to still use my current video editor but I'll definitely consider it as it seems a lot of people do use it.
Thank you for the help, I thought that had done it but it seems that after 3:57 the audio completely cuts out, it's very strange.
I tried with a different video and it seemed to work fine, audio didn't cut out, but then I tried it with another and the audio cut out after a second...
They were all recorded with the same settings though.
EDIT: Ah, I think I finally solved it! This seems to work:
Code:"c:\program files\ffmpeg\bin\ffmpeg" -i %1 -async 1 -y -vcodec copy -acodec copy -threads 2 "%~d1%~p1%~n1.mp4"
Last edited by renarayne; 16th Jul 2015 at 09:29.
-
-
No problem.
It seems I spoke too soon though. The videos no longer have sync issues when playing in video players (VLC, Media Player Classic etc.) but when taking it into a video editor like Machete, Avidemux etc. the syncing is lost. So I guess the syncing is not a cemented change hm...
I can use Avidemux's Audio Shift option, as the desync is consistent, but that means manually adjusting every file.Last edited by renarayne; 16th Jul 2015 at 11:53.
-
looks like i put my foot in it..
i just looked in the new 64 bit version and can't find it
i know on some previous version it was there and available
it would open automatically if the file was mpeg and could be opened manually for other files
now it appears to be gone
i'm sorry i spoke up to soon..i should have checked before suggesting -
Oh, no need to apologise. I mean you don't really expect programs to remove useful features after all haha. For example there's another version of Avidemux with a filter for reversing a video backwards that worked fine and that was also taken out in a later version. I'll keep an eye out for that older version you mentioned.
Similar Threads
-
mkv to mp4 - audio video sync issues
By manit123 in forum Newbie / General discussionsReplies: 2Last Post: 15th Aug 2014, 05:15 -
WD TV Live and audio sync (lipsync) issues in MP4 and MKV video containers
By moviewatcher666 in forum Video ConversionReplies: 9Last Post: 20th Apr 2014, 17:22 -
Mp4-file audio sync issues in QuickTime but not in VLC
By stevenD in forum MacReplies: 5Last Post: 8th Dec 2013, 16:32 -
DVD to MP4 - A/V Sync issues
By streamingguy in forum Video ConversionReplies: 1Last Post: 29th Oct 2012, 08:35 -
Cannot seem to convert MKV to MP4 or AVI to MP4 without audio sync issues
By Matth3w in forum Video ConversionReplies: 0Last Post: 16th Sep 2012, 13:36