Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: baz06 on February 14, 2014, 06:59:02 AM

Title: Avidemux cannot process mpeg2 audio
Post by: baz06 on February 14, 2014, 06:59:02 AM
hi

Avidemux cannot properly process mpeg2 .ts file, both as input and output format. The .ts file can be opened, but without audio track. And it cannot be saved as a new .ts file. I select Mpeg TS Muxer (ff) and  save the file, it prompts  "cannot open". I have tried several .ts files and all of them can be played well in media player. These .ts files have mpeg2 video and aac audio tracks.
My system is Windows 7 Home Premium SP1(64bit). The Avidemux is the newest version now(2.6.7, 64bit).

Thanks
Title: Re: Avidemux cannot process mpeg2 audio
Post by: AQUAR on February 14, 2014, 08:12:25 AM
What's the source of these transport streams? DVB?
Title: Re: Avidemux cannot process mpeg2 audio
Post by: styrol on February 14, 2014, 11:09:20 AM
QuoteThe Avidemux is the newest version now(2.6.7, 64bit).
Have you tried the nightly release (http://avidemux.org/nightly)?
Title: Re: Avidemux cannot process mpeg2 audio
Post by: baz06 on February 14, 2014, 01:54:37 PM
Hi

The  source is a live video software (vMix).
This is a standard MPEG2 TS file.

From http://avidemux.org/nightly/, what file should I use?

Thanks
Boaz
Title: Re: Avidemux cannot process mpeg2 audio
Post by: zakk on February 14, 2014, 02:47:55 PM
Quote from: baz06 on February 14, 2014, 01:54:37 PM
From http://avidemux.org/nightly/, what file should I use?
Win64
Title: Re: Avidemux cannot process mpeg2 audio
Post by: baz06 on February 15, 2014, 07:16:56 AM
Not working.
I still got the error massage: "some tracks are used multiple times".
It seems I can't select an audio track

Title: Re: Avidemux cannot process mpeg2 audio
Post by: baz06 on February 15, 2014, 07:35:33 AM
...and here is the log.
I can see it does not recognize audio (MPEG-Audio, M_MP3)
Title: Re: Avidemux cannot process mpeg2 audio
Post by: mean on February 15, 2014, 07:59:37 AM
Would need a sample
My guess is that there is no PAT/PMT
Title: Re: Avidemux cannot process mpeg2 audio
Post by: baz06 on February 15, 2014, 04:37:30 PM
What is PAT/PMT?
Attached is link to sample of the file:

http://www.jumbomail.co.il/Downloads.aspx?sid=63414577554D542B7677493D

Thanks
Title: Re: Avidemux cannot process mpeg2 audio
Post by: mean on February 15, 2014, 05:12:18 PM
I have audio on that sample
(?)
Title: Re: Avidemux cannot process mpeg2 audio
Post by: baz06 on February 15, 2014, 05:36:42 PM
I know there is an audio.
I also have access to it with other muxing program (tsMuxeR)
I just don't understand why there is no audio here
Title: Re: Avidemux cannot process mpeg2 audio
Post by: mean on February 15, 2014, 05:59:15 PM
Can you try the following :
* Erase the .idx2 file
* Download a 32 bits nightly from avidemux.org/nightly/win32
unzip it somewhere and run it from there
Title: Re: Avidemux cannot process mpeg2 audio
Post by: baz06 on February 15, 2014, 07:00:24 PM
Sorry. No audio in 32bit.
Are you using the default setting?
Title: Re: Avidemux cannot process mpeg2 audio
Post by: AQUAR on February 16, 2014, 01:27:38 AM
Also have sound on that sample, using 32 bit r9014.
Is an mp2 audio track and avidemux is in startup default.

As mean said, you first have to delete the old .idx2 file for your video file.
The .idx2 index file is created automatically when avidemux opens your .ts file.
eg with your sample file meron_20sec.ts, after loading it into avidemux, it will create another file
in the same directory called meron_20sec.ts.idx2.

So for your problem file, first delete that corresponding .idx2, then run the avidemux nightly.
Its because we want to avoid reusing that old index file in case its been corrupted.
Title: Re: Avidemux cannot process mpeg2 audio
Post by: baz06 on February 17, 2014, 08:01:51 AM
Yet, it doesn't work.
What is the meaning of "Some tracks are used multiple time"?
As audio device, I can see only "Dummy" & "Win32". Is it OK?

Thanks
Boaz
Title: Re: Avidemux cannot process mpeg2 audio
Post by: AQUAR on February 17, 2014, 09:42:10 AM
Even your sample?
Audio device needs to be set to Win32 (the audio device MS windows is using).

Are you using this vMix program as a video/audio mixer?