Page 1 of 1

Transcoding or not on Synology DS211J

PostPosted: Wed Feb 23, 2011 3:21 pm
by mantra
Hej guys

Installed serviio on my Synology DS211j and it starts and i can access files from my XBOX 360.
I have one problem though and that is when i look at .mkv files the files will play for about
4 seconds on the xbox and then it freezes and then 1 minute after it play 4 seconds of the movie
again, and so it keep´s doing. The cpu is on 100% when looking through TOP.

I´m not really sure how it should behave but normal .mkv files are .mp4 and therefor as i have learned it only should remux but i think it tries to convert through wmv or am i wrong? Is there any log files i can look at?

/Micael

Re: Transcoding or not on Synology DS211J

PostPosted: Wed Feb 23, 2011 4:11 pm
by zip
MKV's are transcoded into WMV actually on Xbox. XBox doesnt support mpegts with H264 AFAIK, so you cannot just rewrap it.

Re: Transcoding or not on Synology DS211J

PostPosted: Wed Feb 23, 2011 7:26 pm
by mantra
So is there any way to watch mkv files on the xbox?

Re: Transcoding or not on Synology DS211J

PostPosted: Wed Feb 23, 2011 7:40 pm
by zip
Only by transcoding to WMV, which is set up in the xbox profile. Looks like the NAS is not strong enough to do that in real time - especially for high def movies.

Re: Transcoding or not on Synology DS211J

PostPosted: Wed Feb 23, 2011 8:08 pm
by patters
mantra wrote:So is there any way to watch mkv files on the xbox?

You will need to run your high-def files through a tool like this one before you put them on your NAS:
http://xenonmkv.ev98.net/faq

This will remux instead of re-encoding so won't thrash your CPU.

Re: Transcoding or not on Synology DS211J

PostPosted: Wed Feb 23, 2011 9:20 pm
by mantra
Am i wrong but isn´t mkv just a container format, and in that there is a a mp4 video file. And XBOX is capalbe of playing mp4 files ?

I have tried other programs like gotsent wich converts mkv files into mp4 files so you can play them on xbox.
Is that almost the same as remux?

It would be nice not needing a program like that for converting but just to use serviio.

Do anyone know if there is any other programs that works under a linux enviroment that could work for this?
I´m thinking of using the nas to do that job ..

Re: Transcoding or not on Synology DS211J

PostPosted: Thu Feb 24, 2011 12:16 am
by zip
You can only remux into mpegts as mp4 is not a streamable format (in terms of realtime transcoding). But XBox doesn't support mpegts.

Re: Transcoding or not on Synology DS211J

PostPosted: Thu Feb 24, 2011 12:28 am
by patters
You're right, you can remux but the Xbox will only play 2 channel AAC audio in MP4 and MP4 cannot be live-streamed (i.e. written while it's being played). I ended up looking into this a little while back myself:
viewtopic.php?f=5&t=36&p=4025#p4006

As you can see, it is possible to use FFmpeg to do this remux/audio transcode, though you'll need to compile a version with libfaac support.

Re: Transcoding or not on Synology DS211J

PostPosted: Fri Feb 25, 2011 7:29 pm
by mantra
2 chanel aufio is fine for me as i don´t use any surround system. I´ll look the web and see if i can compile ffmpeg for this.
Do you have the profile for xbox and mp4/mkv or was that in your post.

Re: Transcoding or not on Synology DS211J

PostPosted: Fri Feb 25, 2011 9:05 pm
by patters
You cannot remux to mp4 on the fly unfortunately due to the way the container works, so you'll need to manually convert all your files before they are added to Serviio's library.