Page 1 of 1

Trying to play MKV file on Humax PVR

PostPosted: Tue May 15, 2012 10:34 am
by azar
Hi,

I am a new user and am enjoying serviio. Great product!!

I have an issue with playing a MKV file. The ffmpeg output is:

FFmpeg version SVN-r0.5.8-4:0.5.8-1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.8-1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on May 10 2012 21:49:28, gcc: 4.4.5

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (54042/1127) -> 24.00 (24/1)
Input #0, matroska, from '/media/ae61e429-8cb1-46a4-88ae-1f9c686420d4/serviio/movies/Kids/HD/Cars2.2011-1080p.mkv':
Duration: 01:47:01.50, start: 0.000000, bitrate: N/A
Stream #0.0(eng): Video: h264, yuv420p, 1920x808, PAR 1:1 DAR 240:101, 24 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: dca, 48000 Hz, 5.1, s16
At least one output file must be specified

I have also included the details of the box (attached) and the debug output results(below).

serviio.DEBUG.log
serviio debug log file
(69.21 KiB) Downloaded 468 times


Any pointers will be greatly appreciated!!

Cheers

Re: Trying to play MKV file on Humax PVR

PostPosted: Tue May 15, 2012 11:19 am
by zip
First of all, your FFmpeg is very old, upgrade it.

Second, where did you get the profile? it seems to have some errors it it ( there are warnings when playing the file in the log)

Re: Trying to play MKV file on Humax PVR

PostPosted: Tue May 15, 2012 11:34 am
by azar
Hello mate,

Serviio is running on a Linux box With Debian Squeeze. The ffmpeg is the one that's provided as a package.

Will try to find a more up to date package of ffmpeg to install - if not I guess I'll have to build it from scratch - ho hum...

Yes, sorry I forgot to mention that I created a profile for the Humax based on some posts I read on the forum. I'm not home at the moment but I'll attach the profile I am using asap.

Don't know if it's relevant but if I run the ffmpeg line in the log file it runs without errors.

Re: Trying to play MKV file on Humax PVR

PostPosted: Tue May 15, 2012 6:49 pm
by azar
Ok, the new I added is as follows:

<Profile id="22" name="Humax HDR PVR" extendsProfileId="1">
<Detection>
<HttpHeaders>
<User-Agent>POSIX DLNADOC.*</User-Agent>
</HttpHeaders>
</Detection>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" forceVTranscoding="true" forceInheritance="true">
<Matches container="matroska" vCodec="h264" aCodec="dca" />
</Video>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" forceVTranscoding="true" forceInheritance="true">
<Matches container="matroska" vCodec="h264" aCodec="dca" />
</Video>
</OnlineTranscoding>
</Profile>

Re: Trying to play MKV file on Humax PVR

PostPosted: Tue May 15, 2012 10:46 pm
by zip
try this, no real change but I removed things that should not be there

  Code:
<Profile id="22" name="Humax HDR PVR" extendsProfileId="1">
<Detection>
<HttpHeaders>
<User-Agent>POSIX DLNADOC.*</User-Agent>
</HttpHeaders>
</Detection>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" >
<Matches container="matroska" vCodec="h264" aCodec="dca" />
</Video>
</Transcoding>
</Profile>


This will transcode the video the mpeg2.

Re: Trying to play MKV file on Humax PVR

PostPosted: Wed May 16, 2012 6:55 pm
by azar
You're a star!! Works perfectly!!

Although I will still try and update my ffmpeg at some point as I've been reading that the newer versions are more efficient CPU/memory wise especially when transcoding.

Thanks for you quick responses.

Now I can enjoy watching some movies :D

Re: Trying to play MKV file on Humax PVR

PostPosted: Sun Aug 26, 2012 6:41 pm
by azar
Hi,

Just upgraded to v1.0.1 used the same profile as suggested for my Humax but I am still unable to play MKV files.

Any suggestions?

Re: [Solved]Trying to play MKV file on Humax PVR

PostPosted: Mon Aug 27, 2012 2:21 pm
by Illico
Could you post same result : ffmpeg -i <file> and serviio debug log file ?

Re: [Solved]Trying to play MKV file on Humax PVR

PostPosted: Mon Aug 27, 2012 11:02 pm
by zip
the id might be used by other profile?

Re: Trying to play MKV file on Humax PVR

PostPosted: Tue Aug 28, 2012 7:23 pm
by freakyshadster
Hi guys, im trying to stream MKV's to my Humax Fox t2. I just tried adding this profile into profiles.xml but when I do Serviio server won't run? Console say's it cannot connect?

Any help greatly appreciated!

Re: [Solved]Trying to play MKV file on Humax PVR

PostPosted: Tue Aug 28, 2012 7:55 pm
by Illico
zip wrote:the id might be used by other profile?


replace
<Profile id="22" name="Humax HDR PVR" extendsProfileId="1">
by
<Profile id="25" name="Humax HDR PVR" extendsProfileId="1">

Re: Trying to play MKV file on Humax PVR

PostPosted: Thu Aug 30, 2012 6:13 am
by azar
OK, found the problem I am using ffmpeg 0.7.12 but this seems to be an older version than the one used in 1.0.1 - will recompile and try again.

Re: Trying to play MKV file on Humax PVR

PostPosted: Mon Apr 15, 2013 7:54 pm
by johndriscoll
I to have followed the advice here but cannot play mkv files. Help would be appreciated :?

Re: Trying to play MKV file on Humax PVR

PostPosted: Tue Apr 16, 2013 7:17 am
by Illico
johndriscoll wrote:I to have followed the advice here but cannot play mkv files. Help would be appreciated :?


Only MKV with DTS audio will be transcoded, all other will be delivered in native format.
Could you provide information about your mkv file ? see signature links.

You have to add this profile at the end of the ./serviio/config/profiles.xml file, just before the last </Profiles> element :

  Code:
   <Profile id="Humax" name="Humax HDR PVR" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <User-Agent>POSIX DLNADOC.*</User-Agent>
         </HttpHeaders>
      </Detection>
      <Transcoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" >
            <Matches container="matroska" vCodec="h264" aCodec="dca" />
         </Video>
      </Transcoding>
   </Profile>

Re: Trying to play MKV file on Humax PVR

PostPosted: Tue Apr 16, 2013 8:43 pm
by johndriscoll
Your profile I have already installed. I have looked at the mkv files I have and I have only one which has DTS audio and it does play. So for my other files do I just convert to DTS or can serviio provide a profile that will work with other audio formats? Most of my mkv files are AAC audio.

Re: Trying to play MKV file on Humax PVR

PostPosted: Wed Apr 17, 2013 8:23 am
by Illico
johndriscoll wrote:So for my other files do I just convert to DTS or can serviio provide a profile that will work with other audio formats? Most of my mkv files are AAC audio.

So this means that Humax HDR PVR does not support any MKV file format ?

You can replace the line on your profile, save, restart serviio service (or reboot) and retry.
<Matches container="matroska" vCodec="h264" aCodec="dca" />
by
<Matches container="matroska" />

Re: Trying to play MKV file on Humax PVR

PostPosted: Wed Apr 24, 2013 7:08 pm
by johndriscoll
sorry for delay in replying
Your line of text added to the profile does work BUT....
The humax takes a while to comnnect and process the file. Thats not a problem but its working so hard that if I try and fast forward a bit the connection is lost. A lot of intesive transcoding maybe? The reason I wanted my Humax to play MKVs is because it usually handles FF etc much better that the panasonic TV. The TV plays MKVs so I may have to stick with the Panny for MKV and humax for everything else. Unless you chaps have any other ideas! :|