I'm having trouble with Serviio on my Synology DS411j NAS and my PS3 playing .mkv files, and I'm hoping someone here can point me in the right direction!
Specifically, I'm having difficulty with certain MKV files; the ones in question have h264 720p video & DTS audio.
What annoys me is that the 'sample' clip that downloaded with this torrent (containing exactly the same audio/video codecs, but only 1 minute in length) plays fine, yet when I try to play the full video file, I get an error message "The data type is not supported".
Having checked the Serviio log in DSM, I can see the following warnings:
08:43:16,947 WARN [ProcessExecutor] Process /volume1/@appstore/Serviio/bin/ffmpeg has a return code of 137! This is a possible error.
08:59:15,514 WARN [ProcessExecutor] Process /volume1/@appstore/Serviio/bin/ffmpeg has a return code of 1! This is a possible error.
I receive the same error message on my PS3 if I try to playback from Synology's built in media server.
Any assistance with this would be greatly appreciated!
EDIT: Here is the log file from serviio:
- Code:
2012-02-21 10:11:43,215 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/192.168.0.13, Profile=Playstation 3'
2012-02-21 10:11:43,340 DEBUG [ResourceTransportRequestHandler] Request for resource 4 and type 'MEDIA_ITEM' received
2012-02-21 10:11:43,341 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 4 (local)
2012-02-21 10:11:43,342 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 4)
2012-02-21 10:11:43,412 DEBUG [VideoDAOImpl] Reading a Video (id = 4)
2012-02-21 10:11:43,429 DEBUG [VideoDeliveryEngine] Delivering item '4' for client 'IPAddress=/192.168.0.13, Profile=Playstation 3'
2012-02-21 10:11:43,430 DEBUG [VideoDeliveryEngine] Delivering file 'Meteorite.MyFile.mkv' using transcoding
2012-02-21 10:11:43,432 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.0.13, Profile=Playstation 3'
2012-02-21 10:11:43,455 DEBUG [MediaItemDAOImpl] Getting file of media item 4
2012-02-21 10:11:43,470 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /volume1/TV and Movies/MyFile/Meteorite.MyFile.mkv
2012-02-21 10:11:43,483 DEBUG [ProcessExecutor] Starting /volume1/@appstore/Serviio/bin/ffmpeg -i /volume1/TV and Movies/MyFile/Meteorite.MyFile.mkv -y -async 1 -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /volume1/@tmp/Serviio/transcoding-temp-4-MPEG2TS.stf
2012-02-21 10:11:46,158 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2012-02-21 10:11:46,194 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Meteorite.MyFile.mkv: AVC_TS_MP_HD_AC3_ISO
2012-02-21 10:11:46,196 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 4) as read
2012-02-21 10:11:46,920 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2012-02-21 10:11:47,020 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 50000000000
2012-02-21 10:11:47,022 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2012-02-21 10:11:47,048 DEBUG [ResourceTransportRequestHandler] Sending file back
2012-02-21 10:11:47,049 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,TimeSeekRange.dlna.org: npt=0.0-3434.0/3434,Date: Tue, 21 Feb 2012 00:11:47 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.6.2,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2012-02-21 10:11:48,320 WARN [ProcessExecutor] Process /volume1/@appstore/Serviio/bin/ffmpeg has a return code of 1! This is a possible error.
2012-02-21 10:11:48,369 DEBUG [TranscodingJobListener] Transcoding finished; successful: false
And the Meta Data from the
non working file itself:
- Code:
Lindsay-NAS> ffmpeg -i /volume1/TV\ and\ Movies/MyFile/Meteorite.MyFile.mkv
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 26 2011 15:08:38 with gcc 4.2.1
configuration: --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.120. 0 / 52.120. 0
libavformat 52.108. 0 / 52.108. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 77. 0 / 1. 77. 0
libswscale 0. 14. 0 / 0. 14. 0
[matroska,webm @ 0x33f20] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '/volume1/TV and Movies/MyFile/Meteorite.MyFile.mkv':
Duration: 00:57:14.09, start: 0.000000, bitrate: 1536 kb/s
Chapter #0.0: start 0.000000, end 6.006000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 6.006000, end 107.107000
Metadata:
title : 00:00:06.006
Chapter #0.2: start 107.107000, end 491.282000
Metadata:
title : 00:01:47.107
Chapter #0.3: start 491.282000, end 1130.254000
Metadata:
title : 00:08:11.282
Chapter #0.4: start 1130.254000, end 1639.721000
Metadata:
title : 00:18:50.254
Chapter #0.5: start 1639.721000, end 2297.587000
Metadata:
title : 00:27:19.721
Chapter #0.6: start 2297.587000, end 2746.410000
Metadata:
title : 00:38:17.587
Chapter #0.7: start 2746.410000, end 3366.780000
Metadata:
title : 00:45:46.410
Chapter #0.8: start 3366.780000, end 3366.780000
Metadata:
title : 00:56:06.780
Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 6 channels (FL|FR|FC|SL|SR), s16, 1536 kb/s (default)
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000 (default)
Stream #0.3(eng): Subtitle: [0][0][0][0] / 0x0000
At least one output file must be specified
Lindsay-NAS>
And finally, the meta data from the
working "sample" file:
- Code:
Lindsay-NAS> ffmpeg -i /volume1/TV\ and\ Movies/MyFile/Sample/MyFile.sample.mkv
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 26 2011 15:08:38 with gcc 4.2.1
configuration: --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- --enable-cross-compile --enable-optimizations --disable-yasm --disable-altivec --enable-pic --enable-shared --disable-static --disable-swscale-alpha --disable-ffserver --disable-ffplay --enable-libmp3lame
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.120. 0 / 52.120. 0
libavformat 52.108. 0 / 52.108. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 77. 0 / 1. 77. 0
libswscale 0. 14. 0 / 0. 14. 0
[matroska,webm @ 0x33f20] max_analyze_duration reached
[matroska,webm @ 0x33f20] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '/volume1/TV and Movies/MyFile/Sample/MyFile.sample.mkv':
Duration: 00:01:00.06, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1(eng): Audio: dca (DTS), 48000 Hz, 6 channels (FL|FR|FC|SL|SR), s16, 1536 kb/s (default)
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000 (default)
Stream #0.3(eng): Subtitle: [0][0][0][0] / 0x0000
At least one output file must be specified
Lindsay-NAS>