Cannot transcode MKV to Xbox via mencoder

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Cannot transcode MKV to Xbox via mencoder

Postby zynox » Sat Nov 19, 2011 10:25 pm

I am having some issues trying to transcode some MKV files to my Xbox 360. Once I start playing the video, my xbox throws an "Unplayable Content" error "Status code: 69-C00D36C4". I hope I have attached all the required information to diagnosing this issue.

MEncoder SVN-r34344-4.6.2
PMS 1.40.0, I have also tried 1.50.0-beta2

As you can see at the bottom of the post I have tried running memcoder manually and here is the error:
Code: Select all
[asf @ 0xdbe000]Tag WMV2/0x32564d57 incompatible with output codec id '0'
[1]    13869 floating point exception  mencoder -ss 0 -quiet "/srv/media/shows/Fringe/Season 4/07 Wallflower.mkv"


I think this is the cause. Am I missing any dependencies?


Code: Select all
» cat PMS.conf
thumbnails = true
thumbnail_seek_pos = 1
nbcores = 2
turbomode = false
minimized = false
hidevideosettings = false
usecache = false
charsetencoding = 850
engines = mencoder,avsmencoder,tsmuxer,mplayeraudio,ffmpegaudio,tsmuxeraudio,vlcvideo,mencoderwebvideo,mplayervideodump,mplayerwebaudio,vlcaudio,ffmpegdvrmsremux
autoloadsrt = true
avisynth_convertfps = true
avisynth_script = #AviSynth script is now fully customisable !\u0001#You must use the following variables (\"clip\" being the avisynth variable of the movie):\u0001#<movie>: insert the complete DirectShowSource instruction [ clip=DirectShowSource(movie, convertfps) ]\u0001#<sub>: insert the complete TextSub\/VobSub instruction if there's any detected srt\/sub\/idx\/ass subtitle file\u0001#<moviefilename>: variable of the movie filename, if you want to do all this by yourself\u0001#Be careful, the custom script MUST return the clip object\u0001<movie>\u0001<sub>\u0001return clip
transcode_block_multiple_connections = false
tsmuxer_forcefps = true
tsmuxer_preremux_pcm = false
tsmuxer_preremux_ac3 = false
audiochannels = 6
audiobitrate = 448
maximumbitrate = 110
skiploopfilter = false
enable_archive_browsing = false
mencoder_fontconfig = false
mencoder_font =
mencoder_forcefps = false
mencoder_usepcm = false
mencoder_intelligent_sync = true
mencoder_decode =
mencoder_encode = keyint=5:vqscale=1:vqmin=2
mencoder_vobsub_subtitle_quality = 3
mencoder_overscan_compensation_width = 0
mencoder_overscan_compensation_height = 0
mencoder_nooutofsync = true
mencoder_audiolangs = fre,jpn,ger,eng
mencoder_sublangs = fre,eng
mencoder_audiosublangs =
mencoder_subfribidi = false
mencoder_ass_scale = 1.0
mencoder_ass_margin = 10
mencoder_ass_outline = 1
mencoder_ass_shadow = 1
mencoder_noass_scale = 3
mencoder_noass_subpos = 2
mencoder_noass_blur = 1
mencoder_noass_outline = 1
mencoder_subcp = cp1252
mencoder_disablesubs = false
mencoder_yadif = false
mencoder_scaler = false
mencoder_scalex = 0
mencoder_scaley = 0
ffmpeg = -g 1 -qscale 1 -qmin 2


Code: Select all
» mediainfo "/srv/media/shows/Fringe/Season 4/07 Wallflower.mkv"                                                                                     
General
Unique ID                                : 179379426906702564511779353970010857120 (0x86F3389167014816BA620DD11FE59EA0)
Complete name                            : /srv/media/shows/Fringe/Season 4/07 Wallflower.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 1.60 GiB
Duration                                 : 43mn 31s
Overall bit rate                         : 5 273 Kbps
Encoded date                             : UTC 2011-11-18 22:27:53
Writing application                      : mkvmerge v3.1.0 ('Happy up here') built on Jan 19 2010 12:09:24
Writing library                          : libebml v0.7.9 + libmatroska v0.8.1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 8 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 43mn 31s
Bit rate                                 : 4 720 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.214
Stream size                              : 1.43 GiB (90%)
Writing library                          : x264 core 119 r2106 07efeb4
Encoding settings                        : cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : No
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Codec ID                                 : A_AC3
Duration                                 : 43mn 31s
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 139 MiB (8%)
Default                                  : Yes
Forced                                   : No


Code: Select all
cat /tmp/debug.log
[New I/O server worker #1-2] INFO  21:02:35.190 Starting transcode/remux of 07 Wallflower.mkv
[New I/O server worker #1-2] DEBUG 21:02:35.201 Starting ffmpeg -vframes 1 -i /srv/media/shows/Fringe/Season 4/07 Wallflower.mkv -vcodec copy -f h264 -vbsf h264_mp4toannexb -an -y pipe:
[New I/O server worker #1-2] DEBUG 21:02:35.210 Attaching thread: ffmpeg
[New I/O server worker #1-2] DEBUG 21:02:35.210 Unix process ID (ffmpeg): 11240
[Thread-16] DEBUG 21:02:38.202 Stopping Unix process 11240: ffmpeg
[New I/O server worker #1-2] INFO  21:02:39.206 Fatal error when retrieving AVC informations !
[mkfifo] DEBUG 21:02:39.284 Starting mkfifo --mode=777 /tmp/ps3mediaserver/mencoder1321736559283
[mkfifo] DEBUG 21:02:39.284 Unix process ID (mkfifo): 11258
[mencoder] DEBUG 21:02:39.334 Starting mencoder -ss 0 -quiet /srv/media/shows/Fringe/Season 4/07 Wallflower.mkv -quiet -quiet -oac lavc -of lavf -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=2 -lavcopts autoaspect=1:vcodec=wmv2:acodec=wmav2:abitrate=256:threads=1:keyint=5:vqscale=1:vqmin=2:vrc_maxrate=30000:vrc_buf_size=1835 -subfont-text-scale 3 -subfont-outline 1 -subfont-blur 1 -subpos 98 -quiet -quiet -subdelay 20000 -quiet -quiet -ofps 24000/1001 -quiet -quiet -lavdopts fast -mc 0 -noskip -af lavcresample=44100 -srate 44100 -o /tmp/ps3mediaserver/mencoder1321736559283
[mencoder] DEBUG 21:02:39.335 Reading pipe: /tmp/ps3mediaserver/mencoder1321736559283
[mencoder] DEBUG 21:02:39.772 Attaching thread: mencoder
[mencoder] DEBUG 21:02:39.776 Unix process ID (mencoder): 11262
[mencoder] INFO  21:02:39.777 Process mencoder has a return code of 136! Maybe an error occurred... check the log file
[mencoder] DEBUG 21:02:39.778 Stopping Unix process 11258: mkfifo
[Thread-29] DEBUG 21:02:47.940 Stopping Unix process 11262: mencoder
[Thread-6] DEBUG 21:05:23.558 Sending ALIVE...
[Thread-6] DEBUG 21:08:28.681 Sending ALIVE...
[Thread-6] DEBUG 21:11:33.264 Sending ALIVE...
[Thread-6] DEBUG 21:14:38.695 Sending ALIVE...
[New I/O server worker #1-3] INFO  21:15:58.620 Starting transcode/remux of 07 Wallflower.mkv
[mkfifo] DEBUG 21:15:58.646 Starting mkfifo --mode=777 /tmp/ps3mediaserver/mencoder1321737358645
[mkfifo] DEBUG 21:15:58.651 Unix process ID (mkfifo): 13596
[mencoder] DEBUG 21:15:58.696 Starting mencoder -ss 0 -quiet /srv/media/shows/Fringe/Season 4/07 Wallflower.mkv -quiet -quiet -oac lavc -of lavf -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=2 -lavcopts autoaspect=1:vcodec=wmv2:acodec=wmav2:abitrate=256:threads=1:keyint=5:vqscale=1:vqmin=2:vrc_maxrate=30000:vrc_buf_size=1835 -subfont-text-scale 3 -subfont-outline 1 -subfont-blur 1 -subpos 98 -quiet -quiet -subdelay 20000 -quiet -quiet -ofps 24000/1001 -quiet -quiet -lavdopts fast -mc 0 -noskip -af lavcresample=44100 -srate 44100 -o /tmp/ps3mediaserver/mencoder1321737358645
[mencoder] DEBUG 21:15:58.697 Reading pipe: /tmp/ps3mediaserver/mencoder1321737358645
[mencoder] DEBUG 21:15:58.906 Attaching thread: mencoder
[mencoder] DEBUG 21:15:58.906 Unix process ID (mencoder): 13614
[mencoder] INFO  21:15:58.922 Process mencoder has a return code of 136! Maybe an error occurred... check the log file
[mencoder] DEBUG 21:15:58.922 Stopping Unix process 13596: mkfifo
[Thread-42] DEBUG 21:16:07.298 Stopping Unix process 13614: mencoder
[Thread-6] DEBUG 21:17:42.532 Sending ALIVE...


Code: Select all
» mencoder -ss 0 -quiet "/srv/media/shows/Fringe/Season 4/07 Wallflower.mkv" -quiet -quiet -oac lavc -of lavf -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=2 -lavcopts autoaspect=1:vcodec=wmv2:acodec=wmav2:abitrate=256:threads=1:keyint=5:vqscale=1:vqmin=2:vrc_maxrate=30000:vrc_buf_size=1835 -subfont-text-scale 3 -subfont-outline 1 -subfont-blur 1 -subpos 98 -quiet -quiet -subdelay 20000 -quiet -quiet -ofps 24000/1001 -quiet -quiet -lavdopts fast -mc 0 -noskip -af lavcresample=44100 -srate 44100 -o /tmp/ps3mediaserver/mencoder1321737358645
MEncoder SVN-r34344-4.6.2 (C) 2000-2011 MPlayer Team
176 audio & 379 video codecs
success: format: 0  data: 0x0 - 0x6696df20
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0
VIDEO:  [H264]  1280x720  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1280x720  fps:23.976  ftime:=0.0417
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit.
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 86
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
videocodec: libavcodec (1280x720 fourcc=32564d57 [WMV2])
[VE_LAVC] Using constant qscale = 1.000000 (VBR).
VIDEO CODEC ID: 0
AUDIO CODEC ID: 0, TAG: 0
Writing header...
[asf @ 0xdbe000]Tag WMV2/0x32564d57 incompatible with output codec id '0'
[1]    13869 floating point exception  mencoder -ss 0 -quiet "/srv/media/shows/Fringe/Season 4/07 Wallflower.mkv"
zynox
 
Posts: 1
Joined: Sat Nov 19, 2011 10:07 pm

Re: Cannot transcode MKV to Xbox via mencoder

Postby patato » Thu Nov 24, 2011 10:33 pm

I am having exactly the same problem on MacOSX with PMS 1.50.0 and mencoder SB17:

Code: Select all
VIDEO CODEC ID: 0
AUDIO CODEC ID: 0, TAG: 0
Writing header...
[asf @ 0xfc1360]Tag WMV2/0x32564d57 incompatible with output codec id '0'
Floating point exception: 8
patato
 
Posts: 1
Joined: Thu Nov 24, 2011 10:29 pm

Re: Cannot transcode MKV to Xbox via mencoder

Postby timman123 » Sun Nov 27, 2011 2:21 am

Same exact problem..any answers?
timman123
 
Posts: 22
Joined: Tue Jun 07, 2011 3:09 am

Re: Cannot transcode MKV to Xbox via mencoder

Postby timman123 » Mon Nov 28, 2011 3:46 am

I reinstalled older version and problem goes away. not sure what difference is.
timman123
 
Posts: 22
Joined: Tue Jun 07, 2011 3:09 am

Re: Cannot transcode MKV to Xbox via mencoder

Postby VitusVenture » Thu Dec 08, 2011 7:17 pm

I was having this same problem with PMS 1.50 on Arch Linux. It turns out the most recent package of mencoder in Arch is SVN-r34344. I downloaded and compiled the latest mplayer from their SVN, bringing the revision to SVN-r34412. After installing the latest version of mencoder, it seems that this problem (Return Code 136) has stopped.

Not sure if it will work for others, but it worked for me!
VitusVenture
 
Posts: 1
Joined: Thu Dec 08, 2011 7:14 pm


Return to Linux/Unix Support

Who is online

Users browsing this forum: Bing [Bot] and 4 guests