[MPlayer-users] Re: mpeg-ts: howto remux into something else? (mkv?)

Nico Sabbi nsabbi at tiscali.it
Tue Jan 11 23:12:27 CET 2005


Gábor Farkas wrote:

> Nico Sabbi wrote:
>
>> Gábor Farkas wrote:
>>
>>> hi,
>>>
>>> i have a hdtv mpeg-ts file...
>>> it contains an anime intro, so i assume it's from some japanese 
>>> digital broadcast...
>>>
>>> (i'll upload it to same accessible place the day after 
>>> tomorrow..today i don't have a fast enough inet connection)
>>>
>>> mplayer only plays the video part,
>>
>>
>>
>>
>> please post the log of mplayer -v file.ts -tsprobe 100000, up to the 
>> "Video: MPEG2"  line
>
>
> mplayer.log.gz attached
>
> http://z10n.net/test.ts
> -the first 2 mbytes of the mpeg-ts file
>

it's a japanese ISDB movie, right?
in the sources there is support for AAC in TS, but it's commented, 
because it seems that
descriptor 0xf is not always AAC. Do you have any specs in english, so 
that I can fix the code?
If you want to use edit demux_ts.c and in function parse_pmt, near the 
bottom, uncomment
the block relative to case 0x0f, then recompile.
Now mplayer should be able to play audio too.

>>
>>> xine also,
>>> vlc plays the video+audio too...
>>>
>>> of course it would be nice if mplayer could play it, but that's not 
>>> that much important..
>>>
>>> i would be a lot more interested in turning this mpeg-ts file into 
>>> something more player-friendly...
>>>
>>> for example to remux it into a mkv file...
>>> or some other container format that's easily playable?
>>
>>
>>
>>
>> avi and mpeg-ps are the only other file formats  mencoder can write
>
> i see...do you know about any other tools?
>
> and btw. to mux the final file, for that i can maybe use mkvmerge..
> but how should i demux the TS file?
> i could dump the video stream with -dumpvideo,
> so how should i demux
>
>>
>>>
>>> the file contains (imho) mpeg2 video and some aac audio...
>>> vlc says: video:mpgv, audio:mp4a...
>>>
>>> so, are there any tools that can demux a mpeg-ts file...
>>>
>>> and.. is there some kind of audio-delay that i have to apply?
>>>
>>> i vaguely remember something that when i want to remux a mpeg-ts 
>>> file, i have to apply some audio-delay...
>>>
>>> thanks,
>>> gabor
>>>
>>
>> often audio is some x100 ms early (tipycally 300 ms for DVB)
>
> is there a way to find it out ? ;)
>
> thanks a lot,
> gabor
>
>  
>
you should know (with some TS analyzer) the first difference between 
audio and video pts




More information about the MPlayer-users mailing list