Page 1 of 1

Transcoding issue from NAS for MKV's

PostPosted: Mon Nov 05, 2012 2:44 am
by playwithfire
Having an issue transcoding my mkv's from an NAS drive to my Sony Bravia 2011 (profile Sony Bravia (2011) US). The transcoding of the MKv's worked fine when I had the files stored on an external hard drive, but are not working properly now that I have moved them to my NAS. My NAS is a ZyXEL NSA320. The video will play very stuttered and there is no audio. Not sure how to resolve this issue. Below is the error logging ran with ffmpeg -i.


ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 10 2012 03:40:45 with gcc 4.6.3
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
Input #0, matroska,webm, from '\\192.168.15.2\video\Childern\Shows\Thundercats [
2011]\Season 1\Thundercats.2011.S01E01.Omens.Pt.1.720p.WEB-DL.AAC2.0.H264-Reaper
za.mkv':
Metadata:
creation_time : 2011-08-08 21:30:42
Duration: 00:22:37.95, start: 0.000000, bitrate: 4092 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9],
23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default)
Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, s16 (default)
At least one output file must be specified
Press any key to continue . . .

Let me know if you need more info to look into the problem.

Re: Transcoding issue from NAS for MKV's

PostPosted: Mon Nov 05, 2012 1:18 pm
by playwithfire
Anybody point me in the right direction to address this issue?

Re: Transcoding issue from NAS for MKV's

PostPosted: Mon Nov 05, 2012 3:26 pm
by Illico
Check permission access of your "\\192.168.15.2\video\Childern\Shows" folders.

Re: Transcoding issue from NAS for MKV's

PostPosted: Mon Nov 05, 2012 5:49 pm
by zip
Is Serviio running on the NAS? If not, what is the connectivity between the NAS - Serviio -TV?

Re: Transcoding issue from NAS for MKV's

PostPosted: Mon Nov 05, 2012 7:46 pm
by playwithfire
zip wrote:Is Serviio running on the NAS? If not, what is the connectivity between the NAS - Serviio -TV?


No, it is running on a separate computer on the network. I am just using the NAS for storage and not running Serviio from it.


Illico wrote:Check permission access of your "\\192.168.15.2\video\Childern\Shows" folders.


I'll go ahead and do this, but what other permissions would be necessary? Isn't Serviio only needing to read from the drive?

Re: Transcoding issue from NAS for MKV's

PostPosted: Mon Nov 05, 2012 10:31 pm
by zip
Don't worry about the rights...

Is your NAS connected via a cable or wifi? It might be the network is not coping well, as the stream goes from the NAS to the PC and then from the PC to the TV. There might be bottleneck somewhere along the line.

Re: Transcoding issue from NAS for MKV's

PostPosted: Tue Nov 06, 2012 12:30 am
by playwithfire
zip wrote:Don't worry about the rights...

Is your NAS connected via a cable or wifi? It might be the network is not coping well, as the stream goes from the NAS to the PC and then from the PC to the TV. There might be bottleneck somewhere along the line.


The NAS and computer are both connected via cable to the same router which is also connected via cable to the Bravia TV. Again this is limited to only MKV files that are on the NAS and no other type of media file. I have tested the same MKV files out on a computer with Serviio installed and they work flawlessly. The Zyxel NAS320 does have its own DLNA media server software running, but again I am not sure as to what would be interfering with the transcoding (is it even a transcoding issue?) as we are simply just reading the data from the NAS. Again it is reading the video portion but with a stutter and there is no sound. Maybe I'll try and disable the NAS DLNA Media server to see if it is interfering somehow. Thought this might be a common problem that has been resolved with before, but seems that this might be one of those out of the norm issues.

Re: Transcoding issue from NAS for MKV's

PostPosted: Tue Nov 06, 2012 8:21 am
by Illico
It's a network bottleneck I think.
ffmpeg read from NAS to PC, transcode, then stream from PC to TV, probably a router bottleneck.
What is the video bitrate of your file?
Could you monitor your network? ( http://www.softperfect.com/products/networx/ )


Could you start the streaming, press pause button, wait a few minutes (for transcoding to finish), then resume the movie and check if it's better.


Could you check if your Ethernet Cards are TOE compatible ? (TOE: TCP/IP Offload Engine). Read that : http://www.windowsreference.com/windows ... windows-7/

Re: Transcoding issue from NAS for MKV's

PostPosted: Tue Nov 06, 2012 12:27 pm
by playwithfire
Illico wrote:It's a network bottleneck I think.
ffmpeg read from NAS to PC, transcode, then stream from PC to TV, probably a router bottleneck.
What is the video bitrate of your file?
Could you monitor your network? ( http://www.softperfect.com/products/networx/ )


Could you start the streaming, press pause button, wait a few minutes (for transcoding to finish), then resume the movie and check if it's better.


Could you check if your Ethernet Cards are TOE compatible ? (TOE: TCP/IP Offload Engine). Read that : http://www.windowsreference.com/windows ... windows-7/


I'll try this tonight and get back to you.