FAQ  •  Register  •  Login

mkv issue

<<

Kayman42

Serviio newbie

Posts: 1

Joined: Thu Nov 10, 2011 12:13 am

Post Thu Nov 10, 2011 12:22 am

mkv issue

Having some trouble with some specific mkv's. Most of the time mkv's seem to work but for some of them I get a media server error 00000000. I did some digging around on these forums but still couldn't get it to work. Here's the output from ffmpeg -i

  Code:
C:\Program Files (x86)\Serviio\lib>ffmpeg -i "C:\Users\Karen\Videos\Clone\Season
01\1x01 - Ambush.mkv"
ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov  6 2011 22:08:46 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 24. 0 / 51. 24. 0
  libavcodec   53. 28. 0 / 53. 28. 0
  libavformat  53. 19. 0 / 53. 19. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 0 /  2. 47. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0

Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (18
0000/1) -> 23.98 (24000/1001)
Input #0, matroska,webm, from 'C:\Users\Karen\Videos\Clone\Season01\1x01 - Ambus
h.mkv':
  Duration: 00:22:37.14, start: 0.000000, bitrate: 3950 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x816 [SAR 1:1 DAR 40:17],
 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s (default)
At least one output file must be specified


Here is the Mediainfo output of one of the files.
  Code:
General
Count                            : 278
StreamCount                      : 1
StreamKind                       : General
StreamKind/String                : General
StreamKindID                     : 0
Inform                           : Matroska: 639 MiB, 22mn 37s
UniqueID                         : 18481917098052221093303331556488533380
UniqueID/String                  : 18481917098052221093303331556488533380 (0xDE77CDDA2911CA4F13B361D4D1E5584)
VideoCount                       : 1
AudioCount                       : 1
Video_Format_List                : AVC
Video_Format_WithHint_List       : AVC
Video_Codec_List                 : AVC
Video_Language_List              : English
Audio_Format_List                : AC-3
Audio_Format_WithHint_List       : AC-3
Audio_Codec_List                 : AC3
Audio_Language_List              : English
CompleteName                     : C:\Users\Karen\Videos\Clone\Season01\1x01 - Ambush.mkv
FolderName                       : C:\Users\Karen\Videos\Clone\Season01
FileName                         : 1x01 - Ambush
FileExtension                    : mkv
Format                           : Matroska
Format/String                    : Matroska
Format/Url                       : http://packs.matroska.org/
Format/Extensions                : mkv mk3d mka mks
Format_Commercial                : Matroska
Format_Version                   : Version 2
Codec                            : Matroska
Codec/String                     : Matroska
Codec/Url                        : http://packs.matroska.org/
Codec/Extensions                 : mkv mk3d mka mks
FileSize                         : 670237130
FileSize/String                  : 639 MiB
FileSize/String1                 : 639 MiB
FileSize/String2                 : 639 MiB
FileSize/String3                 : 639 MiB
FileSize/String4                 : 639.2 MiB
Duration                         : 1357148
Duration/String                  : 22mn 37s
Duration/String1                 : 22mn 37s 148ms
Duration/String2                 : 22mn 37s
Duration/String3                 : 00:22:37.148
OverallBitRate                   : 3950856
OverallBitRate/String            : 3 951 Kbps
StreamSize                       : 13337403
StreamSize/String                : 12.7 MiB (2%)
StreamSize/String1               : 13 MiB
StreamSize/String2               : 13 MiB
StreamSize/String3               : 12.7 MiB
StreamSize/String4               : 12.72 MiB
StreamSize/String5               : 12.7 MiB (2%)
StreamSize_Proportion            : 0.01990
File_Created_Date                : UTC 2011-10-14 16:44:43.935
File_Created_Date_Local          : 2011-10-14 11:44:43.935
File_Modified_Date               : UTC 2011-10-14 18:45:42.858
File_Modified_Date_Local         : 2011-10-14 13:45:42.858
Encoded_Application              : HandBrake svn3743
Encoded_Library                  : libmkv 0.6.4.1
Encoded_Library/String           : libmkv 0.6.4.1

Video
Count                            : 204
StreamCount                      : 1
StreamKind                       : Video
StreamKind/String                : Video
StreamKindID                     : 0
Inform                           : English, 3 232 Kbps, 1920*816 (2.35:1), at 23.976 fps, AVC (High@L4.0) (CABAC / 4 Ref Frames)
ID                               : 1
ID/String                        : 1
UniqueID                         : 1314997078
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format/Url                       : http://developers.videolan.org/x264.html
Format_Commercial                : AVC
Format_Profile                   : High@L4.0
Format_Settings                  : CABAC / 4 Ref Frames
Format_Settings_CABAC            : Yes
Format_Settings_CABAC/String     : Yes
Format_Settings_RefFrames        : 4
Format_Settings_RefFrames/String : 4 frames
InternetMediaType                : video/H264
CodecID                          : V_MPEG4/ISO/AVC
CodecID/Url                      : http://ffdshow-tryout.sourceforge.net/
Codec                            : V_MPEG4/ISO/AVC
Codec/String                     : AVC
Codec/Family                     : AVC
Codec/Info                       : Advanced Video Codec
Codec/Url                        : http://ffdshow-tryout.sourceforge.net/
Codec_Profile                    : High@L4.0
Codec_Settings                   : CABAC / 4 Ref Frames
Codec_Settings_CABAC             : Yes
Codec_Settings_RefFrames         : 4
Duration                         : 1357149
Duration/String                  : 22mn 37s
Duration/String1                 : 22mn 37s 149ms
Duration/String2                 : 22mn 37s
Duration/String3                 : 00:22:37.149
BitRate                          : 3232234
BitRate/String                   : 3 232 Kbps
Width                            : 1920
Width/String                     : 1 920 pixels
Height                           : 816
Height/String                    : 816 pixels
PixelAspectRatio                 : 1.000
DisplayAspectRatio               : 2.353
DisplayAspectRatio/String        : 2.35:1
FrameRate_Mode                   : VFR
FrameRate_Mode/String            : Variable
FrameRate                        : 23.976
FrameRate/String                 : 23.976 fps
FrameCount                       : 32539
Resolution                       : 8
Resolution/String                : 8 bits
Colorimetry                      : 4:2:0
ColorSpace                       : YUV
ChromaSubsampling                : 4:2:0
BitDepth                         : 8
BitDepth/String                  : 8 bits
ScanType                         : Progressive
ScanType/String                  : Progressive
Interlacement                    : PPF
Interlacement/String             : Progressive
Bits-(Pixel*Frame)               : 0.086
Delay                            : 0
Delay/String3                    : 00:00:00.000
Delay_Source                     : Container
Delay_Source/String              : Container
StreamSize                       : 548327887
StreamSize/String                : 523 MiB (82%)
StreamSize/String1               : 523 MiB
StreamSize/String2               : 523 MiB
StreamSize/String3               : 523 MiB
StreamSize/String4               : 522.9 MiB
StreamSize/String5               : 523 MiB (82%)
StreamSize_Proportion            : 0.81811
Encoded_Library                  : x264 - core 112
Encoded_Library/String           : x264 core 112
Encoded_Library/Name             : x264
Encoded_Library/Version          : core 112
Encoded_Library_Settings         : cabac=1 / ref=3 / deblock=1:-2:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=24 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=0 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                         : en
Language/String                  : English
Language/String1                 : English
Language/String2                 : en
Language/String3                 : eng
Language/String4                 : en
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
Count                            : 188
StreamCount                      : 1
StreamKind                       : Audio
StreamKind/String                : Audio
StreamKindID                     : 0
Inform                           : 640 Kbps, 48.0 KHz, 16 bits, 6 channels, AC-3
ID                               : 2
ID/String                        : 2
UniqueID                         : 1638403137
Format                           : AC-3
Format/Info                      : Audio Coding 3
Format_Commercial                : AC-3
Format_Settings_ModeExtension    : CM (complete main)
CodecID                          : A_AC3
Codec                            : AC3
Codec/String                     : AC3
Codec/Family                     : AC3
Codec/Info                       : Dolby AC3
Duration                         : 1357148
Duration/String                  : 22mn 37s
Duration/String1                 : 22mn 37s 148ms
Duration/String2                 : 22mn 37s
Duration/String3                 : 00:22:37.148
BitRate_Mode                     : CBR
BitRate_Mode/String              : Constant
BitRate                          : 640000
BitRate/String                   : 640 Kbps
Channel(s)                       : 6
Channel(s)/String                : 6 channels
ChannelPositions                 : Front: L C R, Side: L R, LFE
ChannelPositions/String2         : 3/2/0.1
SamplingRate                     : 48000
SamplingRate/String              : 48.0 KHz
SamplingCount                    : 65143104
Resolution                       : 16
Resolution/String                : 16 bits
BitDepth                         : 16
BitDepth/String                  : 16 bits
Compression_Mode                 : Lossy
Compression_Mode/String          : Lossy
Delay                            : 0
Delay/String3                    : 00:00:00.000
Delay_Source                     : Container
Delay_Source/String              : Container
Video_Delay                      : 0
Video0_Delay                     : 0
StreamSize                       : 108571840
StreamSize/String                : 104 MiB (16%)
StreamSize/String1               : 104 MiB
StreamSize/String2               : 104 MiB
StreamSize/String3               : 104 MiB
StreamSize/String4               : 103.5 MiB
StreamSize/String5               : 104 MiB (16%)
StreamSize_Proportion            : 0.16199
dialnorm                         : -27
dialnorm/String                  : -27 dB
compr                            : 1.49
compr/String                     : 1.49 dB
bsid                             : 6
dialnorm_Average                 : -27
dialnorm_Average/String          : -27 dB
dialnorm_Minimum                 : -27
dialnorm_Minimum/String          : -27 dB
dialnorm_Maximum                 : -27
dialnorm_Maximum/String          : -27 dB
dialnorm_Count                   : 2
compr_Average                    : 1.72
compr_Average/String             : 1.72 dB
compr_Minimum                    : 1.49
compr_Minimum/String             : 1.49 dB
compr_Maximum                    : 1.94
compr_Maximum/String             : 1.94 dB
compr_Count                      : 2



Here's the error that pops up in the Serviio log.

  Code:
2011-11-09 18:51:11,805 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
   at org.serviio.delivery.resource.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:117)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:93)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)


OS: Windows 7 Ultimate SP 1 64 bit
Renderer: PS3

Let me know if you need anything else, thanks!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Nov 10, 2011 8:09 am

Re: mkv issue

This is a ffmpeg error.
Could enable detailed logging file (see signature), clean log file, restart serviio service, start the movie and look at the log file to find the ffmpeg command line used.
Try locally in windows terminal the same command line and look at the ffmepg log error.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 9 guests

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