Forum archive - avidemux audio sync problem with MPEG-2 - alt. way to cut mpeg-2

http://www.supermediastore.com/



Forum Archive Home -> Linux -> avidemux audio sync problem with MPEG-2 - alt. way to cut mpeg-2



avidemux audio sync problem with MPEG-2 - alt. way to cut mpeg-2

graysky posted 2009 Apr 10 09:43
I have a PVR-250 and when I load up an MPEG-2 file that it generated in Avdimux, the audio/video is out of sync (before I make any edits). My goal is simply to cut out commercials in the file, nothing else. When I play it in any other viewer (vlc, mplayer, etc.) the sync is perfect. I found that this is known issue with Avidemux. See below.

Can you guys recommend another piece of software I can use (LINUX-native) to simply cut parts out of mpeg-2 files?

Taken from mythtv wiki page. I quoted the relevant text from it here:

:
Cory Papenfuss noted:
I would just like to add again that this procedure only works 95% of the time for broadcast/cable captures... about 80% of the time for tape transfers. Avidemux cannot deal with chaining A/V sync throughout the file, and this method will have broken sync with one of these unfortunate captures. The author of avidemux acknowledges this limitation, but says a fair bit of internal work would be needed to fix it.



hech54 posted 2009 Apr 10 11:48
I use AviDemux at least 80% of the time with mpeg2 files from my PVR-350....never had a sync issue...upon loading or after editing.
I use Windows XP Pro.



disturbed1 posted 2009 Apr 10 14:18
graysky :

Can you guys recommend another piece of software I can use (LINUX-native) to simply cut parts out of mpeg-2 files?


Yes this is a known issue with older veriosns of Avidemux. If a bug is in the Linux version, it's in the Windows version as well. Considering they use the exact same code to decode and encode the files ;) Make sure you are only cutting on I frames, and use the newest Avidemux there is.

GOP chop works well. Slow as it indexs the entire GOP first. Dvbcut is another programs the works as well.

GOP Chop edits my HVR 1600 captures (SD and ATSC) that Avidemux has utterly choked on (ATSC).



ansiArt posted 2009 Sep 09 15:29
Firstly, I think Avidemux is a superb product. But drives me mad because it does everything I want and more, and then screws up the MPEG2 file when I save the video ...

Ideally, this is how I want to use Avidemux:

Open one of my MPEG2 WinTV recordings. Edit out the commercials. Apply filters as necessary. Re-encode to MPEG2 for DVD using 2-pass file-size-based VBR so I can use the new file to author a DVD and just copy the mpeg stream in the DVD authoring software rather than re-encode yet again. The whole idea is to get my final DVD stream out of Avidemux to use directly in the DVD software, rather than let the DVD software re-encode everything all over again.

The Problem:

Whenever I save ANYTHING to MPEG2-PS using Avidemux, even if I edit nothing and just do a straight Stream Copy, the audio goes completely out of sync. The original source file is fine (I verified this using MPlayer, WMP, PowerDVD, etc.) except for all the commercials that I wish to remove.

But if I save to AVI instead of MPEG2-PS, the audio is spot on.

If Avidemux has a known limitation with writing to MPEG2-PS then why does the problem not occur when dumping the MPEG2 Stream into an AVI container?

I have reached the point where I open my original recording, edit out all the junk, then save to AVI (MPEG in AVI) using Copy Audio and Copy Video and that's perfect. Except now I am stuck with an AVI that I can't use directly in the DVD authoring program without the DVD program re-encoding the AVI back to MPEG2 all over again.

WHY does Avidemux seem to have such an immense problem performing probably what is the most simple and fundamental task that it was intended to, i.e. write an MPEG2-PS stream?
I have tried absolutely every combination of everything to get it to work, and it just will not. But it's quite happy to write a perfect MPEG2 copy of my edited original stream into an AVI container.



fakk2 posted 2009 Sep 11 01:43
you really should try cinerella. I convert my videos with winff and import them in cinerella and export to mov. It is a full featured video editor.

if you have problems getting this setup, it's very very easy.




Login/Register to our forum to be able to post here.








Slysofts AnyDVD HD removes DVD and Blu-ray encryption and region coding. More info or download trial!
About   Advertise   Forum   Forum Archive   RSS Feeds   Statistics   Tools