Mencoder doesn't work (UMS 2.2.1)
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
-
- Posts: 1
- Joined: Sat Dec 29, 2012 1:41 pm
Mencoder doesn't work (UMS 2.2.1)
I've been using UMS for a long time now after having problems with PMS, but now I'm a having problem with this. Mencoder doesn't work. All other engines work, but Mencoder does nothing and on my PS3 I get a "content cannot be played" error. I need subtitles for what I want to watch, so I have to figure this out. I'm not sure what I could have changed because it was working yesterday. I tried re-installing and rolling back to a previous version, but I still get the same problem with any mkv file I try. Any suggestions? I'm on Windows 7 Ultimate x64. I'll post a random log:
What I've noticed during this process is that:
1. Mencoder sits on about 50% CPU for about 10 seconds then disappears. Never goes higher than that.
2. The transcoding buffer remains at 0mb.
Code: Select all
DEBUG 2012-12-28 20:08:51.229 [New I/O server worker #1-1] Starting "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -ss 2 -i C:\Untitled.mkv -an -an -s 320x180 -vframes 1 -f image2 pipe:
DEBUG 2012-12-28 20:08:51.229 [New I/O server worker #1-1] Attaching thread: ffmpeg.exe-1
DEBUG 2012-12-28 20:08:54.146 [Buffered IO End Checker] Stopping process: ffmpeg.exe-1
DEBUG 2012-12-28 20:08:54.754 [UPNP-AliveMessageSender] Sending ALIVE...
INFO 2012-12-28 20:08:54.814 [New I/O server worker #1-2] Starting transcode/remux of Untitled.mkv
DEBUG 2012-12-28 20:08:54.835 [New I/O server worker #1-2] Starting "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -i C:\Untitled.mkv -vframes 1 -vcodec copy -f h264 -vbsf h264_mp4toannexb -an -y pipe:
DEBUG 2012-12-28 20:08:54.838 [New I/O server worker #1-2] Attaching thread: ffmpeg.exe-2
DEBUG 2012-12-28 20:08:54.862 [Thread-18] ffmpeg version N-44966-g82db8ee-SB3 Copyright (c) 2000-2012 the FFmpeg developers
DEBUG 2012-12-28 20:08:54.863 [Thread-18] built on Oct 30 2012 13:48:31 with gcc 4.6.3 (GCC)
DEBUG 2012-12-28 20:08:54.863 [Thread-18] configuration: --enable-static --disable-shared --extra-version=SB3 --enable-runtime-cpudetect --enable-gpl --enable-nonfree --enable-libfaac --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-avisynth --enable-pthreads --enable-libfreetype --enable-libmp3lame --disable-ffplay --disable-ffserver --disable-ffprobe --extra-libs=-static --extra-cflags=--static
DEBUG 2012-12-28 20:08:54.863 [Thread-18] libavutil 51. 73.101 / 51. 73.101
DEBUG 2012-12-28 20:08:54.863 [Thread-18] libavcodec 54. 63.100 / 54. 63.100
DEBUG 2012-12-28 20:08:54.863 [Thread-18] libavformat 54. 29.105 / 54. 29.105
DEBUG 2012-12-28 20:08:54.863 [Thread-18] libavdevice 54. 3.100 / 54. 3.100
DEBUG 2012-12-28 20:08:54.863 [Thread-18] libavfilter 3. 19.102 / 3. 19.102
DEBUG 2012-12-28 20:08:54.863 [Thread-18] libswscale 2. 1.101 / 2. 1.101
DEBUG 2012-12-28 20:08:54.863 [Thread-18] libswresample 0. 16.100 / 0. 16.100
DEBUG 2012-12-28 20:08:54.863 [Thread-18] libpostproc 52. 1.100 / 52. 1.100
DEBUG 2012-12-28 20:08:54.887 [Thread-18] Input #0, matroska,webm, from 'C:\Untitled.mkv':
DEBUG 2012-12-28 20:08:54.887 [Thread-18] Metadata:
DEBUG 2012-12-28 20:08:54.887 [Thread-18] creation_time : 2012-11-15 08:21:49
DEBUG 2012-12-28 20:08:54.887 [Thread-18] Duration: 00:01:28.68, start: 0.000000, bitrate: 4095 kb/s
DEBUG 2012-12-28 20:08:54.887 [Thread-18] Stream #0:0: Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
DEBUG 2012-12-28 20:08:54.888 [Thread-18] Stream #0:1: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s (default)
DEBUG 2012-12-28 20:08:54.889 [Thread-18] Output #0, h264, to 'pipe:':
DEBUG 2012-12-28 20:08:54.889 [Thread-18] Metadata:
DEBUG 2012-12-28 20:08:54.889 [Thread-18] encoder : Lavf54.29.105
DEBUG 2012-12-28 20:08:54.889 [Thread-18] Stream #0:0: Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 29.97 tbc (default)
DEBUG 2012-12-28 20:08:54.889 [Thread-18] Stream mapping:
DEBUG 2012-12-28 20:08:54.890 [Thread-18] Stream #0:0 -> #0:0 (copy)
DEBUG 2012-12-28 20:08:54.890 [Thread-18] Press [q] to stop, [?] for help
DEBUG 2012-12-28 20:08:54.894 [Thread-18] frame= 1 fps=0.0 q=-1.0 Lsize= 37kB time=00:00:01.16 bitrate= 260.5kbits/s
DEBUG 2012-12-28 20:08:54.894 [Thread-18]
DEBUG 2012-12-28 20:08:54.894 [Thread-18] video:37kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.092166%
DEBUG 2012-12-28 20:08:55.012 [New I/O server worker #1-2] Creating pipe \\.\pipe\mencoder1356746935010
DEBUG 2012-12-28 20:08:55.049 [Thread-21] Waiting for pipe connection \\.\pipe\mencoder1356746935010
DEBUG 2012-12-28 20:08:55.099 [mencoder.exe-3] Starting "C:\Program Files (x86)\Universal Media Server\win32\mencoder.exe" -ss 0 C:\Untitled.mkv -msglevel statusline=2 -oac copy -of mpeg -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=2 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=448:threads=2:keyint=5:vqscale=1:vqmin=2:vrc_maxrate=54000:vrc_buf_size=7000 -subdelay 20000 -ofps 30000/1001 -lavdopts fast -mc 0 -o \\.\pipe\mencoder1356746935010
DEBUG 2012-12-28 20:08:55.101 [mencoder.exe-3] Reading pipe: \\.\pipe\mencoder1356746935010
DEBUG 2012-12-28 20:08:55.101 [mencoder.exe-3] Attaching thread: mencoder.exe-3
DEBUG 2012-12-28 20:08:55.165 [Thread-25] MEncoder SB44 (C) 2000-2012 MPlayer Team
DEBUG 2012-12-28 20:08:55.165 [Thread-25] Custom build by SubJunk, http://www.spirton.com
DEBUG 2012-12-28 20:08:55.165 [Thread-25]
DEBUG 2012-12-28 20:08:55.169 [Thread-25] success: format: 0 data: 0x0 - 0x2b4ce00
DEBUG 2012-12-28 20:08:55.169 [Thread-25] libavformat version 54.40.100 (internal)
DEBUG 2012-12-28 20:08:55.172 [Thread-25] libavformat file format detected.
DEBUG 2012-12-28 20:08:55.195 [Thread-25] [lavf] stream 0: video (h264), -vid 0
DEBUG 2012-12-28 20:08:55.195 [Thread-25] [lavf] stream 1: audio (ac3), -aid 0
DEBUG 2012-12-28 20:08:55.195 [Thread-25] VIDEO: [H264] 1280x720 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
DEBUG 2012-12-28 20:08:55.195 [Thread-25] [V] filefmt:44 fourcc:0x34363248 size:1280x720 fps:29.970 ftime:=0.0334
DEBUG 2012-12-28 20:08:55.195 [Thread-21] Result of \\.\pipe\mencoder1356746935010 : true
DEBUG 2012-12-28 20:08:55.198 [Thread-25] PACKET SIZE: 2048 bytes, deltascr: 884
DEBUG 2012-12-28 20:08:55.198 [Thread-25] libavcodec version 54.77.101 (internal)
DEBUG 2012-12-28 20:08:55.198 [Thread-25] Opening video filter: [expand osd=1]
DEBUG 2012-12-28 20:08:55.198 [Thread-25] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
DEBUG 2012-12-28 20:08:55.200 [Thread-25] ==========================================================================
DEBUG 2012-12-28 20:08:55.200 [Thread-25] Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO 2012-12-28 20:08:55.224 [StartPlaying Event] Started playing Untitled.mkv on your PlayStation 3
DEBUG 2012-12-28 20:08:55.226 [StartPlaying Event] The full filename of which is: C:\Untitled.mkv and the address of the renderer is: 192.168.1.70
DEBUG 2012-12-28 20:08:55.226 [Thread-24] Limiting audio preload to 0.4s.
DEBUG 2012-12-28 20:08:55.226 [Thread-24] Increasing audio density to 4.
DEBUG 2012-12-28 20:08:55.227 [Thread-24] Unsupported PixelFormat 61
DEBUG 2012-12-28 20:08:55.227 [Thread-24] Unsupported PixelFormat 53
DEBUG 2012-12-28 20:08:55.227 [Thread-24] Unsupported PixelFormat 81
DEBUG 2012-12-28 20:08:55.226 [Thread-25] Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
DEBUG 2012-12-28 20:08:55.228 [Thread-25] ==========================================================================
DEBUG 2012-12-28 20:08:55.229 [Thread-25] audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=0 B/s=48000 sample-0)
DEBUG 2012-12-28 20:08:55.309 [Thread-25] Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
DEBUG 2012-12-28 20:08:55.309 [Thread-25] videocodec: libavcodec (1280x720 fourcc=3267706d [mpg2])
DEBUG 2012-12-28 20:08:55.309 [Thread-25] [VE_LAVC] Using constant qscale = 1.000000 (VBR).
DEBUG 2012-12-28 20:08:57.398 [Buffered IO End Checker] Stopping process: ffmpeg.exe-2
DEBUG 2012-12-28 20:09:12.735 [Buffered IO End Checker] Stopping process: mencoder.exe-3
INFO 2012-12-28 20:09:14.283 [StopPlaying Event] Stopped playing Untitled.mkv on your PlayStation 3
DEBUG 2012-12-28 20:09:14.283 [StopPlaying Event] The full filename of which is: C:\Untitled.mkv and the address of the renderer is: 192.168.1.70
DEBUG 2012-12-28 20:09:18.293 [UPNP-AliveMessageSender] Sending ALIVE...
1. Mencoder sits on about 50% CPU for about 10 seconds then disappears. Never goes higher than that.
2. The transcoding buffer remains at 0mb.
Re: Mencoder doesn't work (UMS 2.2.1)
Does it work with 2.2.2?