[mythtv-users] PS vs. TS streams, was: help...

Josh Mastronarde jmastron at gmail.com
Sat Apr 11 06:45:20 UTC 2009


On Wed, Apr 8, 2009 at 11:05 AM, Richard Shaw <hobbes1069 at gmail.com> wrote:
> On Wed, Apr 8, 2009 at 12:53 PM, Steve Malenfant <smalenfant at gmail.com> wrote:
>> To answer him, there is a bug when myth-tv records the MPEG TS. It drops the
>> PCRs if the packet doesn't contain PES data.
>>
>> I fixed it by removing the *if* condition. I asked the developers but nobody
>> answered the questions. I guess you should log a bug to make sure that all
>> PCR information be stored as part of the TS.
>>
>> On Fri, Apr 3, 2009 at 12:07 PM, Brian Wood <beww at beww.org> wrote:
>>>
>>> On Friday 03 April 2009 09:53:53 Maurizio Salvadeo wrote:
>>> > hi all.
>>> > i've mythtv installed on fedora 10 with a capture card hvr-1300. it
>>> > works great in dvb-t mode and it records files in mpeg-ts.
>>> > my application related to the recordings works with mpeg-ps file
>>> > because needs timing, so i'd like to record in the mpeg-ps. i need
>>> > real time and i can't wait end of recordings to transcode the stream.
>>> > another option is to find a way to have a timer for the TS streams.
>>> > thanks.
>>>
>>> I can't help you with your problem, but I can make a suggestion:
>>>
>>> "Help" is a poor choice for a subject. Remember this list is archived, and
>>> someone in the future looking for a similar solution is unlikely to search
>>> for "help" in the archives.
>>>
>>> No offense, just a (hopefully) constructive suggestion.
>>>
>>> --
>>> beww
>>> beww at beww.org
>
> Careful of the top posting :).
>
> Anyway, now I'm really confused because on one of the TS/PS threads
> someone thought the problem was with ffmpeg which had issues figuring
> out what type of stream it was and that caused myth to keep trying to
> detect it. Are these problems related?
>
> Richard

That may have been this:

http://www.gossamer-threads.com/lists/mythtv/users/377849?search_string=long%20delays;#377849

The patch I did (and you can download as a 0.21-fixes binary library
if you're comfortable with that) fixes the file probing in myth's
version of the ffmpeg libraries.  I know that it fixes issues I saw on
*playback* of TS files; I don't know if that's related to issues seen
with *recording* of TS files -- it is likely a similar probe is done,
and the "if" statement mentioned above depends on it, but someone'll
have to try it, since I didn't have the OPs issue.

Josh


More information about the mythtv-users mailing list