[mythtv-users] Frontend hardware

Anthony Giggins seven at seven.dorksville.net
Tue Jan 16 00:28:53 UTC 2018


On 15 December 2017 at 19:56, Piotr Oniszczuk <piotr.oniszczuk at gmail.com>
wrote:

>
>
> > Wiadomość napisana przez Anthony Giggins <seven at seven.dorksville.net> w
> dniu 15.12.2017, o godz. 02:59:
> >
> >
> >
> > On 15 December 2017 at 08:29, Anthony Giggins <
> seven at seven.dorksville.net> wrote:
> >
> >
> >
> >
> > Oh WOW, thanks I never knew that anyone had added HTML5 streaming to
> mythweb this is awesome will be patching today :)
> >
> > Any reason why these patches haven’t been accepted?
> > Cheers,
> >
> > Anthony
> >
> > Ok Patched
> >
> > but cant get it working, do recordings need to be transcoded?
> >
> > currently I'm getting "No video with supported format and MIME type
> found."
> >
> > although from the updated apache config appears it shouldn’t be required
> to transcode
>
> no. transcode isn’t used.
> solution uses mythffmpeg (or ffmpeg if can’t find mythffmpeg)
>
> Your mythffmpeg must be able to encode to webm format.
>
> If there is any issue to get this patch working - for 99% this is issue:
> -web server config or
> -mythffmpeg encode
>
> In my development I was verifying that mythffmpeg can encode by following
> command:
>
> /usr/sbin/mythffmpeg -y -i /myth/tv//23809_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
>
> (replace .ts file with yours)
>
> >
> > # Support HTML5 video formats which can be encoded and streamed
> "on-the-fly"
> > AddType video/ogg           .ogv .ogg
> > AddType video/webm          .webm
> >
> >
> > or do I not have the required libraries added in? (ie. libx264, libvpx
> and libtheora)
>
> Definitely all them You need to have installed.
>
>
>
Looks like libvorbis is not added part of the ubuntu mythtv packaging

appears only --enable-libvpx, --enable-libx264 are added, Thomas any chance
of getting this added?

I think I have the required libraries installed
libvorbisenc2 (1.3.5-3)
libvorbis0a (1.3.5-3)
libvorbis-dev (1.3.5-3)
libtheora0 (1.1.1+dfsg.1-8)
libtheora-dev (1.1.1+dfsg.1-8)
libvpx3 (1.5.0-2ubuntu1)
libvpx-dev (1.5.0-2ubuntu1)
libx264-148 (2:0.148.2643+git5c65704-1)
libx264-dev (2:0.148.2643+git5c65704-1)

$ 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
ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609
  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
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.100 / 57. 64.100
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, mpeg, from '/storage4/recordings/4022_20171228042200.mpg':
  Duration: 00:11:10.72, start: 0.291544, bitrate: 2454 kb/s
    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
    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s
Unknown encoder 'libvorbis'

Cheers,

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180116/67e5cdb2/attachment-0001.html>


More information about the mythtv-users mailing list