[mythtv-users] Problems when streaming from a web site
John Pilkington
johnpilk222 at gmail.com
Sun Nov 6 13:59:33 UTC 2022
On 06/11/2022 13:39, Scott Simpson wrote:
> On 11/5/2022 10:02 PM, Stephen Worthington wrote:
>> On Sat, 5 Nov 2022 21:03:24 -0400, you wrote:
>>> The external tuner uses this ffmpeg command on reading:
>>>
>>> [RECORDER]
>>> command="ffmpeg -hide_banner -nostats -loglevel fatal -re -i %URL% -c:v
>>> copy -c:a copy -f mpegts -"
>>
>> This is probably caused by the URL you are recording from using
>> different video and/or audio streams from what MythTV is programmed
>> for. The streams used by the usual broadcast sources are a quite
>> limited set (such as MPEG2, H.264), and there are lots of others that
>> MythTV does not handle at all or at all well. To find out what the
>> streams involved are, use mediainfo and/or ffprobe on the recording
>> file. You may need to install the mediainfo package to get that
>
> Thanks for all the advice from everyone. I tried a few things. Here are
> the results:
>
> 1.mythcommflag --rebuild -f %FILE%
> Didn't work. Now when I skip ahead it says 0 length and doesn't work.
>
> 2. ffmpeg -i xxxx.ts -c copy t.ts
> Didn't make any difference
>
> 3. initial multiplexing as an MKV work better than an MPEG transport stream
> Not sure how to do this.
>
> 4. Adding these options:-fflags +genpts+igndts
> Didn't seem to do anything.
I don't know what effect the +igndts might be having. I don't use that.
But it might be worth doing a commflag --rebuild after recording with
the -fflags +gents opttions.
Bits of
https://github.com/MythTV/mythtv/issues/600#issuecomment-1172873672
might be relevant.
More information about the mythtv-users
mailing list