FAQ  •  Register  •  Login

Fetch TV box Encoding MKV

<<

goodthanks15

Serviio newbie

Posts: 5

Joined: Wed Dec 07, 2011 4:49 am

Post Wed May 14, 2014 9:32 am

Fetch TV box Encoding MKV

Hi,

Currently working on a profile for a Fetch TV box. Shown Here -
http://www.fetchtv.com.au/

Dont have any issues playing files through it but I do have an issue with MKV's with subtitles. Their is no way to stop the fetch box displaying any subtitle streams. So my plan is to encode MKV to TS files.

Here is the profile so far.
  Code:
<Profile id="Fetch" name="Fetch TV Gen 2" extendsProfileId="1">
      <Detection>
                        <HttpHeaders>
            <User-Agent>.*Linux/2.6.37-3.2-svn1472.*</User-Agent>
         </HttpHeaders>
      </Detection>
           <Transcoding>
                        <Video targetContainer="mpegts">
            <Matches container="matroska" />
         </Video>
      </Transcoding>
   </Profile>


The box is a DLNA server and renderer but the renderer doesnt respond to UPnP requests so I had to use User-Agent for detection. Not sure how practical that is but the box is detected so it works.

The encoding doesn't work. Without the profile when I highlight files on the fetch box it displays media info for the file. When im using the profile any MKV files do not display any media info and wont play. The temp file (.stf) isnt even created in c:\windows\temp\serviio

If I transcode an MKV manually using the following command line
  Code:
ffmpeg -i "test.mkv" -y -async 1 -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts "test.ts"


I can select the TS file on the fetch box and it displays the media info and plays fine.

So it's just a problem with the box getting file information for MKV's that will be transcoded.

Anyone got any ideas?

Also is there a better way to remove the subtitle stream from MKV's without trancoding to TS?

Thanks
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed May 14, 2014 10:26 am

Re: Fetch TV box Encoding MKV

goodthanks15 wrote:...
So it's just a problem with the box getting file information for MKV's that will be transcoded.
Anyone got any ideas?

On DLNA specification, file streamed in native format and file streamed with transcoding use different DLNA header information.
Serviio is DLNA compliant so use these header.
I suspect that your device does not support streams with transcoding flag enabled.

DLNA.ORG_PN= media profile
DLNA.ORG_OP=ab a-server supports TimeSeekRange, b-server supports RANGE
DLNA.ORG_PS= supported play speeds
DLNA.ORG_CI= 1- media is transcoded
DLNA.ORG_FLAGS= binary flags with device parameters
<<

goodthanks15

Serviio newbie

Posts: 5

Joined: Wed Dec 07, 2011 4:49 am

Post Wed May 14, 2014 11:02 pm

Re: Fetch TV box Encoding MKV

I suspect that your device does not support streams with transcoding flag enabled.


I ran a few more tests and I think you are correct. Don't suppose there is any kind of work around for that?

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 45 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.