public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Tim Farrington <timf@iinet.net.au>
To: Nico Sabbi <Nicola.Sabbi@poste.it>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] dvb mpeg2?
Date: Thu, 24 Jul 2008 22:13:22 +0800	[thread overview]
Message-ID: <48888E02.60009@iinet.net.au> (raw)
In-Reply-To: <200807241601.14850.Nicola.Sabbi@poste.it>

Nico Sabbi wrote:
> On Thursday 24 July 2008 15:57:06 Nico Sabbi wrote:
>
>   
>> be aware that demuxing the TS in its elementary streams implicitly
>> drops all timestamps (that are recorded in the PES headers), thus
>> recombining the audio and video streams will produce a
>> desynchronized output, unless you are lucky.
>> There simply aren't enough informations to keep synchrony without
>> timestamps. With your method if a stream is corrupt
>> you will likely see a desynchronization from the first breakage
>> onward, while working on the TS the muxer has a chance to recover
>>
>>     
>
> BTW, although mencoder is broken in countless respects,
> generating an mpeg-ps is quite safe:
>
> $ mencoder -demuxer lavf -of mpeg -mpegopts format=dvd -oac copy -ovc 
> copy -o output.mpg input.ts 
>
> eventually dropping -demuxer lavf if it doesn't work (lavf's demuxer
> isn't nearly as permissive as my native TS demuxer (the default one)
> but it has an advantage: strictly correct timestamps on all frames)
>
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
>   
Hi Nico,
Yes I wondered about corrupt streams, so I watched projectx in action 
carefully.
I need to understand it a bit more, but it found many corrupt timestamps
while demuxing, and repaired on the run. Time will tell, however I have 
some progress,
and I can't fault the process yet!

I intend to try all of everybody's suggestions. One question - with 
mencoder why format=dvd?

Regards,
Timf

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-07-24 14:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24 13:43 [linux-dvb] dvb mpeg2? Tim Farrington
2008-07-24 13:57 ` Nico Sabbi
2008-07-24 14:01   ` Nico Sabbi
2008-07-24 14:13     ` Tim Farrington [this message]
2008-07-24 14:22       ` Nico Sabbi
     [not found] <488860FE.5020500@iinet.net.au>
2008-07-24 11:06 ` Tobias Stoeber
2008-07-24 11:13   ` Tim Farrington
2008-07-24 11:23     ` Tobias Stoeber
2008-07-24 11:26     ` Nico Sabbi
2008-07-24 11:29       ` Tobias Stoeber
2008-07-24 12:02       ` Tim Farrington
2008-07-24 12:38         ` Nico Sabbi
2008-07-25  8:41         ` Mark Fraser
2008-07-24 11:47     ` Stephen Rowles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48888E02.60009@iinet.net.au \
    --to=timf@iinet.net.au \
    --cc=Nicola.Sabbi@poste.it \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox