<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 December 2017 at 19:56, Piotr Oniszczuk <span dir="ltr"><<a href="mailto:piotr.oniszczuk@gmail.com" target="_blank">piotr.oniszczuk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> Wiadomość napisana przez Anthony Giggins <<a href="mailto:seven@seven.dorksville.net">seven@seven.dorksville.net</a>> w dniu 15.12.2017, o godz. 02:59:<br>
<span class="gmail-">><br>
><br>
><br>
> On 15 December 2017 at 08:29, Anthony Giggins <<a href="mailto:seven@seven.dorksville.net">seven@seven.dorksville.net</a>> wrote:<br>
><br>
><br>
><br>
><br>
</span><span class="gmail-">> Oh WOW, thanks I never knew that anyone had added HTML5 streaming to mythweb this is awesome will be patching today :)<br>
><br>
> Any reason why these patches haven’t been accepted?<br>
> Cheers,<br>
><br>
> Anthony<br>
><br>
> Ok Patched<br>
><br>
> but cant get it working, do recordings need to be transcoded?<br>
><br>
> currently I'm getting "No video with supported format and MIME type found."<br>
><br>
> although from the updated apache config appears it shouldn’t be required to transcode<br>
<br>
</span>no. transcode isn’t used.<br>
solution uses mythffmpeg (or ffmpeg if can’t find mythffmpeg)<br>
<br>
Your mythffmpeg must be able to encode to webm format.<br>
<br>
If there is any issue to get this patch working - for 99% this is issue:<br>
-web server config or<br>
-mythffmpeg encode<br>
<br>
In my development I was verifying that mythffmpeg can encode by following command:<br>
<br>
/usr/sbin/mythffmpeg -y -i /myth/tv//23809_<wbr>20171214191500.ts -s 720x408 -g 30 -r 24 -f webm -codec:a libvorbis -codec:v libvpx -cpu-used -8 -deadline realtime -strict -2 -deinterlace -async 2 -ac 2 -ar 44100 -b:a 128k -b:v 768k -sn /dev/stdout<br>
<br>
(replace .ts file with yours)<br>
<span class="gmail-"><br>
><br>
> # Support HTML5 video formats which can be encoded and streamed "on-the-fly"<br>
> AddType video/ogg           .ogv .ogg<br>
> AddType video/webm          .webm<br>
><br>
><br>
> or do I not have the required libraries added in? (ie. libx264, libvpx and libtheora)<br>
<br>
</span>Definitely all them You need to have installed.<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br><br></div></div></blockquote><div><br></div><div>Looks like libvorbis is not added part of the ubuntu mythtv packaging</div><div><br></div><div>appears only --enable-libvpx, --enable-libx264 are added, Thomas any chance of getting this added?</div><div><div><br></div><div>I think I have the required libraries installed</div><div>libvorbisenc2 (1.3.5-3)<br></div><div>libvorbis0a (1.3.5-3)<br></div><div>libvorbis-dev (1.3.5-3)<br></div><div>libtheora0 (1.1.1+dfsg.1-8)<br></div><div>libtheora-dev (1.1.1+dfsg.1-8)<br></div><div>libvpx3 (1.5.0-2ubuntu1)<br></div><div>libvpx-dev (1.5.0-2ubuntu1)<br></div><div>libx264-148 (2:0.148.2643+git5c65704-1)<br></div><div>libx264-dev (2:0.148.2643+git5c65704-1)<br></div><div><br></div><div>$ mythffmpeg -y -i /storage4/recordings/4022_20171228042200.mpg -s 720x408 -g 30 -r 24 -f webm -codec:a libvorbis -codec:v libvpx -cpu-used -8 -deadline realtime -strict -2 -deinterlace -async 2 -ac 2 -ar 44100 -b:a 128k -b:v 768k -sn /dev/stdout</div><div>ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers</div><div>  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609</div><div>  configuration: --compile-type=profile --prefix=/usr --runprefix=/usr --disable-mythlogserver --enable-crystalhd --enable-lirc --enable-audio-alsa --enable-audio-oss --enable-dvb --enable-ivtv --enable-firewire --enable-joystick-menu --with-bindings=perl --enable-ffmpeg-pthreads --enable-pic --perl-config-opts='INSTALLDIRS=vendor' --enable-libvpx --enable-sdl --enable-libmp3lame --enable-libx264 --enable-vdpau --enable-opengl-video --enable-vaapi</div><div>  libavutil      55. 34.100 / 55. 34.100</div><div>  libavcodec     57. 64.100 / 57. 64.100</div><div>  libavformat    57. 56.100 / 57. 56.100</div><div>  libavdevice    57.  1.100 / 57.  1.100</div><div>  libavfilter     6. 65.100 /  6. 65.100</div><div>  libswscale      4.  2.100 /  4.  2.100</div><div>  libswresample   2.  3.100 /  2.  3.100</div><div>  libpostproc    54.  1.100 / 54.  1.100</div><div>Input #0, mpeg, from '/storage4/recordings/4022_20171228042200.mpg':</div><div>  Duration: 00:11:10.72, start: 0.291544, bitrate: 2454 kb/s</div><div>    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc</div><div>    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s</div><div>Unknown encoder 'libvorbis'</div></div><div><br></div></div>Cheers,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Anthony</div></div>