Avidemux Forum

Avidemux => Stable branch (2.5) discussion => Topic started by: estragon1 on July 30, 2012, 08:40:41 AM

Title: Audio of TS files from Dreambox 7020 recordings are out of sync
Post by: estragon1 on July 30, 2012, 08:40:41 AM
I've started using Avidemux (x64) on Win7 recently, in order to edit quickly my TV recordings from a Dreambox 7020. All I need to do is cut out commercials, and save what I need in the same ts format that Dreambox gives me.

Well, every ts file plays just fine with VLC or any other media player. But when I load it in Avidemux, its audio is always out of sync. So I always need to spend extra time for trial & error attempts to save the edited part (just with copy options), until I can get the milliseconds' shift right.

Whenever I load a ts file for the first time in Avidemux, I get a prompt for mpeg indexing for the file, so I guess this is where the syncing problem arises --as VLC and other players neglect the need for indexing; but if I reject indexing in Avidemux, ts files won't load.

I am new here, so forgive me if I am not in the right section, or if this has already been answered. Any help is welcome.
Title: Re: Audio of TS files from Dreambox 7020 recordings are out of sync
Post by: mean on July 30, 2012, 08:51:02 AM
use 2.6 for that , it works much much better
http://www.avidemux.org/nightly/
Title: Re: Audio of TS files from Dreambox 7020 recordings are out of sync
Post by: Jan Gruuthuse on July 30, 2012, 08:54:52 AM
what mean says ;) MPEG-TS are best processed with avidemux 2.6 found @:
http://avidemux.org/nightly/
windows only: http://avidemux.razorbyte.com.au/ or @ MuldeR's OpenSource projects (http://code.google.com/p/mulder/downloads/list?can=1&q=Avidemux&sort=-uploaded&colspec=Filename%20Summary%20Type%20Uploaded%20Size%20DownloadCount)
Ubuntu 64-bit 12.04 LTS (http://www.avidemux.org/smf/index.php?topic=10584.0) or 11.10 (http://www.avidemux.org/smf/index.php?topic=10059.0)
Title: Re: Audio of TS files from Dreambox 7020 recordings are out of sync
Post by: estragon1 on July 31, 2012, 11:04:03 AM
Thank you both for your quick responses.

I installed 2.6, but I get "The video is in copy mode but the cut points are not on keyframes. The video will be saved but there will corruption at cut point(s)" and crashes if I proceed with saving my edited videos.

Is there an "automatic" way to snap cuts on keyframes, like in VirtualDub?
Title: Re: Audio of TS files from Dreambox 7020 recordings are out of sync
Post by: estragon1 on July 31, 2012, 11:19:04 AM
I think I managed to do it. I did use the right buttons before (Ã,« Ã,») to cut out parts I didn't want.

But before saving, I should have marked A[ and ]B for the remaining clip, which I didn't do.

Now that I did, it saved fine, and audio syncing is just right! Thank you again avidemux, and thank you again Jan and mean!  :)
Title: Re: Audio of TS files from Dreambox 7020 recordings are out of sync
Post by: Jan Gruuthuse on July 31, 2012, 01:15:11 PM
glad you sorted this out, you can use from keyboard up/down arrow keys to select marker (keyframe) point
rule:
start = always keyframe
parts need for joining: start and end always keyframe
end of video clip, no joining later = can be any frame.