Page 1 of 1

Transcoding webm

PostPosted: Thu Jan 23, 2014 9:41 pm
by toffi22
Hi,

I've set up serviio last weekend and it's working pretty well - except for webm videos that seem to be ignored by serviio.
They neither appear in serviio's library (vlc player/serviio web interface) nor can I find any hint of them in serviio's log file - not even when logging at debug level.
This happens for all webm files I've tried so far and is probably not related to folder permissions (Linux) as other videos in the same folder play fine.

My question therefore is twofold:
a) Is it expected that serviio just silently ignores webm videos and doesn't even show an 'unsupported format' message in the logs?
b) As far as I know, my Sony TV from 2012 doesn't support webm or mkv and in another thread on this forum mentions that 'mkv doesn't support transcoding on the fly'. Can I use serviio to transcode webm to my TV on demand?

Thank you
- Christoph

Re: Transcoding webm

PostPosted: Thu Jan 23, 2014 10:32 pm
by zip
I suspect they are with .webm extension, which is not picked up ATM.

Can you post ffmpeg -i ?

Re: Transcoding webm

PostPosted: Thu Jan 23, 2014 11:25 pm
by toffi22
Thank you for answering, Petr!

For example, for the big-buck-bunny_trailer.webm from webmfiles.org, ffmpeg -i gives

  Code:
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 20 2014 20:20:12 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
  configuration: --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab --enable-gpl --enable-libass --enable-libfdk-aac
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'big-buck-bunny_trailer.webm':
  Metadata:
    creation_time   : 2010-05-20 08:21:12
  Duration: 00:00:32.48, start: 0.000000, bitrate: 533 kb/s
    Stream #0:0(eng): Video: vp8, yuv420p, 640x360, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1(eng): Audio: vorbis, 44100 Hz, mono, fltp (default)

Re: Transcoding webm

PostPosted: Thu Jan 23, 2014 11:27 pm
by zip
so try to rename it to .mkv

You might have to setup some transcoding from vp8/vorbis to mpeg2/ac3

[SOLVED] Re: Transcoding webm

PostPosted: Fri Jan 24, 2014 10:48 pm
by toffi22
Renaming the files indeed solved part of the problem: The renamed mkv files now appear in vlc and the web interface.
The other issue was that serviio was using the Generic DLNA profile for my "BRAVIA KDL-40HX750". I haven't looked into the cause yet but after forcing serviio to use the Sony 2012 profile all my videos are now properly listed and played on my TV as well.

Thank you for your dedicated support, Petr!