Page 1 of 1

Video files encoded with RMVB and Vorbis

PostPosted: Sun Jan 02, 2011 2:00 am
by wotg
I am a new user of Serviio. I just set it up with my Samsung C series Blu Ray Player and I can reported that Serviio indeed is very very easy to use. In my setup, it play most of the video files that I tried. These includes file container formats avi and mkv; video encoded in xvid, divx and h.264. I am very happy with it. Thanks Serviio's developing team!

The only video files that couldn't be played in my setup are files encoded using video codec RMVB and video files encoded using audio codec Vorbis. Are these supported formats in Serviio? Can Serviio transcode these types of files?

A minor issue that I noticed is my Samsung Blu Ray Player could not see files with "Chinese character titles". If I rename the file names with English character, my Samsung could see them. Are there any workarounds other than renaming the file names?

Thanks.

WOTG

Re: Video files encoded with RMVB and Vorbis

PostPosted: Sun Jan 02, 2011 4:33 pm
by zip
Vorbis is not supported ATM.

Re: Video files encoded with RMVB and Vorbis

PostPosted: Sun Jan 02, 2011 11:23 pm
by wotg
Thanks Zip,

How about video encoded with RMVB? Can Servioo transcode it on the fly to other forms?


WOTG

Re: Video files encoded with RMVB and Vorbis

PostPosted: Mon Jan 03, 2011 4:35 pm
by zip
No, can you post a ffmpeg -i <file> for such a file?

Re: Video files encoded with RMVB and Vorbis

PostPosted: Tue Jan 04, 2011 12:31 am
by wotg
Hi Zip,

Please excuse my ignorance. Where do I execute the "ffmpeg -i <file>" command?

WOTG

Re: Video files encoded with RMVB and Vorbis

PostPosted: Tue Jan 04, 2011 12:32 am
by Cerberus
wotg wrote:Hi Zip,

Please excuse my ignorance. Where do I execute the "ffmpeg -i <file>" command?

WOTG


viewtopic.php?f=5&t=1123 <-- read there mate :) all the info you need

Re: Video files encoded with RMVB and Vorbis

PostPosted: Tue Jan 04, 2011 2:56 pm
by wotg
Thanks for your tip, Cerberus.

I tried it and ffmpeg reported the following:

[NULL @ 01551700]Unsupported video codec

Am I right to say the problem in my case is ffmpeg doesn't support rmvb video codec?

Are there any work around?


WOTG

Re: Video files encoded with RMVB and Vorbis

PostPosted: Tue Jan 04, 2011 4:47 pm
by Illico
wotg wrote:Are there any work around?

- Wait for ffmpeg to support RMVB codec
- Re-encode to a format supported by ffmpeg (AVC, MP4 or DivX) : http://www.rmvbcodec.com/

Re: Video files encoded with RMVB and Vorbis

PostPosted: Tue Jan 04, 2011 11:29 pm
by wotg
Thanks Illico.

Wait for ffmpeg to support RMVB codec


I have just taken a look on the general documentation page of ffmpeg:

http://www.ffmpeg.org/general.html#SEC6

Under Section 2.3 of the link, RealVideo (versions 1.0, 2.0, 3.0 and 4.0) are listed as supported video codecs. The RMVB files that I couldn't stream are encoded in RealVideo 4.0. Is the ffmpeg embedded in Serviio outdated? If so, is there any plan to incorporate the latest version of ffmpeg into Serviio?


WOTG

Re: Video files encoded with RMVB and Vorbis

PostPosted: Wed Jan 05, 2011 9:43 am
by zip
There will be the latest FFMpeg in 0.5. You could try the latest snapshot from here: http://sourceforge.net/projects/mplayer ... es/FFmpeg/

Re: Video files encoded with RMVB and Vorbis

PostPosted: Sat Jan 08, 2011 1:31 am
by wotg
Here is the full output of ffmpeg.exe -i (the original ffmpeg comes with Serviio):

C:\Program Files\Serviio\lib>ffmpeg.exe -i bolt.rmvb
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
built on May 3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-L/static/lib --extra-cflags=-I/static/include
libavutil 50.15. 0 / 50.15. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[NULL @ 01501700]Unsupported video codec
[rm @ 0140ce10]max_analyze_duration reached
Input #0, rm, from 'bolt.rmvb':
Metadata:
title : ╩Ñ│Ã╝ÊÈ░[www.dream2008.cn]@├¸ðÃ╣À
author : ┴¸├Ñ═├═├
copyright : È¡ÁþË░╣½╦¥
comment :
Duration: 01:36:20.83, start: 0.000000, bitrate: 603 kb/s
Stream #0.0: Audio: cook, 44100 Hz, stereo, s16, 44 kb/s
Stream #0.1: Video: rv40, yuv420p, 640x336, 553 kb/s, 12.05 fps, 12 tbr, 1k
tbn, 12 tbc
Stream #0.2: Data: 0x0000
At least one output file must be specified


The first thing that caught my eyes was the message "[NULL @ 01501700]Unsupported video codec". This made me think this was the cause of my problem.

Examining the above message in more details, I noticed that the video codec reported by ffmpeg was rv40. I supposed it meant RealVideo 4.0, which is in fact a supported format in ffmpeg.

I then tried the following command line:

ffmpeg.exe -i bolt.rmvb -t 60 out.avi

C:\Program Files\Serviio\lib>ffmpeg.exe -i bolt.rmvb -t 60 out.avi
FFmpeg version SVN-r23012, Copyright (c) 2000-2010 the FFmpeg developers
built on May 3 2010 19:05:24 with gcc 3.4.5 (mingw-vista special r3)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-w32threads --extra-ldf
lags=-L/static/lib --extra-cflags=-I/static/include
libavutil 50.15. 0 / 50.15. 0
libavcodec 52.66. 0 / 52.66. 0
libavformat 52.62. 0 / 52.62. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[NULL @ 01501720]Unsupported video codec
[rm @ 0140ce30]max_analyze_duration reached
Input #0, rm, from 'bolt.rmvb':
Metadata:
title : ╩Ñ│Ã╝ÊÈ░[www.dream2008.cn]@├¸ðÃ╣À
author : ┴¸├Ñ═├═├
copyright : È¡ÁþË░╣½╦¥
comment :
Duration: 01:36:20.83, start: 0.000000, bitrate: 603 kb/s
Stream #0.0: Audio: cook, 44100 Hz, stereo, s16, 44 kb/s
Stream #0.1: Video: rv40, yuv420p, 640x336, 553 kb/s, 12.05 fps, 12 tbr, 1k
tbn, 12 tbc
Stream #0.2: Data: 0x0000
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf52.62.0
Stream #0.0: Video: mpeg4, yuv420p, 640x336, q=2-31, 200 kb/s, 12 tbn, 12 tb
c
Stream #0.1: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
frame= 34 fps= 0 q=4.1 size= 209kB time=5.51 bitrate= 311.4kbits/s dup=0
frame= 59 fps= 0 q=6.7 size= 284kB time=7.37 bitrate= 315.8kbits/s dup=0
frame= 85 fps= 57 q=8.5 size= 425kB time=11.08 bitrate= 314.4kbits/s dup=0
frame= 105 fps= 53 q=23.4 size= 497kB time=12.96 bitrate= 314.2kbits/s dup=
frame= 130 fps= 52 q=21.0 size= 584kB time=14.81 bitrate= 322.8kbits/s dup=
frame= 161 fps= 54 q=17.5 size= 738kB time=18.52 bitrate= 326.6kbits/s dup=
frame= 199 fps= 57 q=15.1 size= 867kB time=22.23 bitrate= 319.6kbits/s dup=
frame= 251 fps= 63 q=11.4 size= 988kB time=25.94 bitrate= 312.1kbits/s dup=
frame= 312 fps= 69 q=21.4 size= 1191kB time=31.53 bitrate= 309.6kbits/s dup=
frame= 342 fps= 68 q=24.8 size= 1258kB time=33.38 bitrate= 308.6kbits/s dup=
frame= 358 fps= 65 q=31.0 size= 1391kB time=37.09 bitrate= 307.2kbits/s dup=
frame= 378 fps= 63 q=31.0 size= 1450kB time=38.95 bitrate= 305.0kbits/s dup=
frame= 416 fps= 64 q=20.3 size= 1548kB time=42.66 bitrate= 297.3kbits/s dup=
frame= 459 fps= 66 q=7.7 size= 1694kB time=48.25 bitrate= 287.6kbits/s dup=0
frame= 500 fps= 67 q=13.4 size= 1823kB time=53.81 bitrate= 277.5kbits/s dup=
frame= 559 fps= 70 q=8.7 Lsize= 2086kB time=59.98 bitrate= 284.9kbits/s dup=
0 drop=846
video:1535kB audio:469kB global headers:0kB muxing overhead 4.138771%



To my surprise, ffmpeg did recode the rmvb file to a avi file with mpg4 video codec. However there was significant quality loss.

I then encoded it to the DVD preset and the quality loss was insignificant to me.

So my questions now are:

1. Why ffmpeg reported "[NULL @ 01501700]Unsupported video codec", but in fact it could recode it?

2. Why Serviio didn't transcode the file and stream to my Samsung device?


Any comments are welcome, please.

Re: Video files encoded with RMVB and Vorbis

PostPosted: Sat Jan 08, 2011 11:33 am
by zip
Good find. Serviio doesn't support all the codecs of FFmpeg, only those described here: http://www.serviio.org/index.php?option ... icle&id=24
If you want support for this, create a ticket on bitbucket