[linux-dvb] RE : How to convert MPEG-TS to MPEG-PS on the fly?
Nico Sabbi
nicola.sabbi at poste.it
Tue Aug 26 08:50:13 CEST 2008
Il giorno lun, 25/08/2008 alle 21.55 +0200, Josef Wolf ha scritto:
> On Fri, Aug 22, 2008 at 10:10:09AM +0200, Thierry Lelegard wrote:
> > On Thu, Aug 21, 2008 at 09:17:58PM +0200, Josef Wolf wrote:
> >
> > >The more I look at this PES stream the more confused I get: The
> > >stream_id 0xe0 seems to transport PTS and DTS _only_. Everything
> > >else seems to be contained in PES packets with those unknown
> > >stream_id's. Here is what I see:
> >
> > As mentioned in my previous post, the "stream ids" below B9
> > are ISO 13818-2 "start codes".
>
> Thanks for the explanation, Thierry!
>
> I now have tried to convert via ffmpeg. The command I used was
>
> ffmpeg -vcodec copy -acodec copy z.ps.mp2 -i z.ts
give the output a .dvd extension
>
> This creates pack headers which don't seem to fit to the syntax
> defined in table 2-33 of iso-13818-1:
>
> 00 00 01 ba 21 00 01 00 01 a1 9f 0d 00 00 01 bb
>
> This looks strange to me. According to the syntax, the pack
> header should be 14 bytes. Maybe I used the wrong options and
> created a mpeg1 stream?
>
More information about the linux-dvb
mailing list