[mythtv-users] Invalid HLS Streams

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Sat Oct 7 17:35:41 UTC 2017


> Wiadomość napisana przez Daniel Frey <dmfrey at gmail.com> w dniu 07.10.2017, o godz. 18:47:
> 
> I have been playing with getting ExoPlayer to be the default player in MythTV Player.  Unfortunately, I can't seem to get a reliable HLS stream to be created by myth transcode, either through the services API or through manually creating one with the WebFrontend.
> 
> ExoPlayer is becoming the preferred player for Android. It supports a large number of formats, especially streaming formats. It is very extensible and customizable. There are also plugins for integrating the Google Cast API for initiating and controlling stream on Chromecast.
> 
> https://github.com/google/ExoPlayer
> 
> I found this utility to verify that the HLS streams are being created correctly.
> 
> https://github.com/makandra/validate-hls
> 
> When I run this on any .m3u8 stream URL I create, it starts out validating it OK, however, it quickly moves to errors like the following:
> 
> | | | Validating: Fragment(http://192.168.86.200:6544/StorageGroup/Streaming/2173_20171004020000.ts.1280x720_2500kV_128kA.ao_64kA.000042.ts)
> | | | | ✔ Downloadable with 200 OK
> | | | | ✘ Keyframe analysis failed: Error running ffprobe ["-select_streams", "v:0", "-show_frames", "/var/folders/42/8x8tb3115517wrkl99xt9s640000gn/T/d20171007-75784-1v7jp0v/2173_20171004020000.ts.1280x720_2500kV_128kA.ao_64kA.000042.ts"]:
> | | | |
> | | | | ffprobe version 3.3.4 Copyright (c) 2007-2017 the FFmpeg developers
> | | | |   built with Apple LLVM version 8.1.0 (clang-802.0.42)
> | | | |   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-vda
> | | | |   libavutil      55. 58.100 / 55. 58.100
> | | | |   libavcodec     57. 89.100 / 57. 89.100
> | | | |   libavformat    57. 71.100 / 57. 71.100
> | | | |   libavdevice    57.  6.100 / 57.  6.100
> | | | |   libavfilter     6. 82.100 /  6. 82.100
> | | | |   libavresample   3.  5.  0 /  3.  5.  0
> | | | |   libswscale      4.  6.100 /  4.  6.100
> | | | |   libswresample   2.  7.100 /  2.  7.100
> | | | |   libpostproc    54.  5.100 / 54.  5.100
> | | | | /var/folders/42/8x8tb3115517wrkl99xt9s640000gn/T/d20171007-75784-1v7jp0v/2173_20171004020000.ts.1280x720_2500kV_128kA.ao_64kA.000042.ts: Invalid data found when processing input
> | | | Validating: Fragment(http://192.168.86.200:6544/StorageGroup/Streaming/2173_20171004020000.ts.1280x720_2500kV_128kA.ao_64kA.000043.ts)
> | | | | ✔ Downloadable with 200 OK
> | | | | ✘ Keyframe analysis failed: Error running ffprobe ["-select_streams", "v:0", "-show_frames", "/var/folders/42/8x8tb3115517wrkl99xt9s640000gn/T/d20171007-75784-1yobr50/2173_20171004020000.ts.1280x720_2500kV_128kA.ao_64kA.000043.ts"]:
> | | | |
> | | | | ffprobe version 3.3.4 Copyright (c) 2007-2017 the FFmpeg developers
> | | | |   built with Apple LLVM version 8.1.0 (clang-802.0.42)
> | | | |   configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-vda
> | | | |   libavutil      55. 58.100 / 55. 58.100
> | | | |   libavcodec     57. 89.100 / 57. 89.100
> | | | |   libavformat    57. 71.100 / 57. 71.100
> | | | |   libavdevice    57.  6.100 / 57.  6.100
> | | | |   libavfilter     6. 82.100 /  6. 82.100
> | | | |   libavresample   3.  5.  0 /  3.  5.  0
> | | | |   libswscale      4.  6.100 /  4.  6.100
> | | | |   libswresample   2.  7.100 /  2.  7.100
> | | | |   libpostproc    54.  5.100 / 54.  5.100
> | | | | /var/folders/42/8x8tb3115517wrkl99xt9s640000gn/T/d20171007-75784-1yobr50/2173_20171004020000.ts.1280x720_2500kV_128kA.ao_64kA.000043.ts: Invalid data found when processing input
> | | | ✘ Error in child resource
> | | ✘ Error in child resource
> | ✘ One or more playlists had errors
> ✘ Validation failed: One or more playlists had errors
> 
> The backend where this is being generated from is Xubuntu 16.04 with mythtv v29 ppa.  Is this possible something with ffmpeg or libav? Is it possibly something in mythtranscode?  
> 
> Anyone having issues with unplayable hls streams? Can someone run that validate-hls tool on their own streams and verify what I'm seeing?
> _______________________________________________
> 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

Daniel,
in my case
https://code.mythtv.org/trac/ticket/13017



More information about the mythtv-users mailing list