[mythtv-users] HLS producing 0 byte .ts files

Daniel Frey dmfrey at gmail.com
Tue Dec 23 20:26:39 UTC 2014


No, I don't think this is expected behavior. I can never play the hls
stream. The .m3u8 files have contents. The .ts files should be the 10
second video and audio segments.

The process has now run to 100% and all the .ts files are still 0 bytes.
Once the hls transcode reaches 2%, you should be able reasonably stream the
recording. But since these files are 0 bytes long, all transcodes fail to
play.

On Tue, Dec 23, 2014, 1:44 PM Mike Perkins <mikep at randomtraveller.org.uk>
wrote:

> On 23/12/14 17:05, Daniel Frey wrote:
> > When I start a HLS transcode, the resulting .ts files (both audio and
> > video) are all 0 byte files.  They are all 0 bytes until i stop the
> process
> > via the commands on :6544, then the final file in the sequence actually
> > contains data.
> >
> I think this is expected behavoiur under Unix. When a file is created, it
> is
> obviously zero bytes befoe anything is written to it. After that, the file
> size
> will only increase when buffers are written to disk.
>
> If you have a reasonable myth system the data will be kept buffered in
> memory
> for a long while, and maybe only written to disk when the file is closed,
> giving
> you the effect you see.
>
> --
>
> Mike Perkins
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20141223/c68bc0c4/attachment.html>


More information about the mythtv-users mailing list