[mythtv] [mythtv-commits] Ticket #8017: Fix mythweb flash streaming to behave like a progressive download

freedenizen freedenizen at gmail.com
Thu Feb 18 22:08:55 UTC 2010


On Wed, Feb 17, 2010 at 7:39 PM, MythTV <mythtv at cvs.mythtv.org> wrote:
> #8017: Fix mythweb flash streaming to behave like a progressive download
> ---------------------------------------+------------------------------------
>  Reporter:  justin.johnson3@…          |       Owner:  kormoc
>     Type:  enhancement                |      Status:  new
>  Priority:  minor                      |   Milestone:  unknown
> Component:  Plugin - MythWeb           |     Version:  unknown
>  Severity:  medium                     |     Mlocked:  0
> ---------------------------------------+------------------------------------
>
> Comment(by scottadmi@…):
>
>  I found a work around which doesn't require changes to ffmpeg. Its very
>  rough code (as perl is not a language I work with much), but it works. The
>  gist of it, is simply writing the duration data directly to the output
>  stream at the appropriate place in the flv export (effectively overwriting
>  the location which has a zero generated by ffmpeg).
>
>  This code snippet replaces the end of stream_flv.pl
> <snip>

So I gave this a shot, works fine on shows recorded off of my hdpvr,
but not recorded from qam on an pchd5500:
Use of uninitialized value in pack at modules/stream/stream_flv.pl line 103

Seems like it can't get the duration from that ffmpeg:

Seems stream 0 codec frame rate differs from container frame rate:
59.94 (60000/1001) -> 29.97 (30000/1001)
Input #0, mpegts, from '/tv/5111_20100217195900.mpg':
  Duration: N/A, start: 81708.981356, bitrate: N/A
  Program 1
    Stream #0.0[0x7c0]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1
DAR 16:9], 38810 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1[0x7c1]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
    Stream #0.2[0x7c2]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s


More information about the mythtv-dev mailing list