Any help would be appreciated.
Hardware: Phenom II X3 720BE, 4GB DDR2
OS: FreeBSD 8.2-RELEASE
PMS: 1.50.1
Device: PS3
Network: Fileserver <-1Gbps-> GbE switch <-1Gbps-> PS3
Transcoding Engine: Mencoder (1.0.r20111218_1 from FreeBSD ports collection)
Here's the PMS.conf:
- Code: Select all
folders = /rz1/Media
hostname = 192.168.1.116
usecache = false
thumbnails = true
thumbnail_seek_pos = 15
use_mplayer_for_video_thumbs = true
nbcores = 3
turbomode = false
audiochannels = 6
audiobitrate = 384
embed_dts_in_pcm = true
maximumbitrate = 0
maxvideobuffer = 400
autoloadsrt = true
charsetencoding = 850
hide_extensions = false
hide_enginenames = true
hidevideosettings = false
engines = mencoder,mplayeraudio,ffmpegaudio,vlcvideo,mencoderwebvideo,mplayervideodump,mplayerwebaudio,vlcaudio,ffmpegdvrmsremux
transcode_block_multiple_connections = false
notranscode = avi,mp3,m2ts,ts
ffmpeg = -g 1 -qscale 1 -qmin 2
mencoder_decode =
mencoder_encode = keyint=25:vqscale=5:vqmin=2
mencoder_mt = true
mencoder_mux_compatible = true
mencoder_remux_ac3 = true
mencoder_remux_mpeg2 = true
mencoder_usepcm = true
mencoder_forcefps = true
mencoder_nooutofsync = true
mencoder_intelligent_sync = true
mencoder_audiolangs = en,eng,jpn,ja,und
mencoder_audiosublangs = en,eng,jpn,ja,und
mencoder_sublangs = eng,en,und
mencoder_subfribidi = false
mencoder_disablesubs = false
mencoder_ass = true
uuid = 78e16ac7-17c4-3794-80e1-28085128edf9
Here's the MediaInfo of the file I was testing with:
- Code: Select all
General
Unique ID : 218669154231438519818632010138119598578 (0xA48225AF36FDCC6397AA4145C2F871F2)
Complete name : Z:\[Commie]_Nisemonogatari_-_01_[FD2DD7A5].mkv
Format : Matroska
Format version : Version 2
File size : 152 MiB
Duration : 24mn 9s
Overall bit rate : 878 Kbps
Encoded date : UTC 2012-01-08 00:41:42
Writing application : mkvmerge v4.1.1 ('Bouncin' Back') built on Jul 3 2010 22:54:08
Writing library : libebml v1.0.0 + libmatroska v1.0.0
Attachment : Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes / Yes
Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 24mn 9s
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 : 10 bits
Scan type : Progressive
Writing library : x264 core 118 r2085+614 d1cc25d
Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=0.60:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=infinite / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=2:1.00
Language : English
Audio
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 24mn 9s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Title : Commie
Language : Japanese
Text
ID : 1
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Menu
00:00:00.033 : en:Intro
00:05:56.898 : en:OP
00:07:26.880 : en:Part A
00:13:09.856 : en:Part B
And here's the debug.log segment of PMS starting from it generating the thumbnail for the file to the transcoding (full debug.log is attached):
- Code: Select all
[New I/O server worker #1-1] DEBUG 20:00:09.113 Starting mplayer -ss 15.0 -quiet /rz1/Media/[Commie]_Nisemonogatari_-_01_[FD2DD7A5].mkv -msglevel all=4 -vf scale=320:-2,expand=:180 -frames 1 -vo jpeg:outdir=mplayer_thumbs:subdirs="683362635" -nosound
[New I/O server worker #1-1] DEBUG 20:00:09.124 Unix process ID (mplayer): 9747
[Thread-18] DEBUG 20:00:09.142 MPlayer SVN-r34449-snapshot-4.6.4 (C) 2000-2011 MPlayer Team
[Thread-18] DEBUG 20:00:09.144
[Thread-18] DEBUG 20:00:09.144 Playing /rz1/Media/[Commie]_Nisemonogatari_-_01_[FD2DD7A5].mkv.
[Thread-18] DEBUG 20:00:09.147 libavformat file format detected.
[Thread-18] DEBUG 20:00:09.264 [lavf] stream 0: subtitle (ass), -sid 0
[Thread-18] DEBUG 20:00:09.264 [lavf] stream 1: video (h264), -vid 0
[Thread-18] DEBUG 20:00:09.264 [lavf] stream 2: audio (aac), -aid 0, -alang jpn, Commie
[Thread-18] DEBUG 20:00:09.265 VIDEO: [H264] 1280x720 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[Thread-18] DEBUG 20:00:09.266 Load subtitles in /rz1/Media/
[Thread-18] DEBUG 20:00:09.266 jpeg: Progressive JPEG disabled.
[Thread-18] DEBUG 20:00:09.266 jpeg: Baseline JPEG enabled.
[Thread-18] DEBUG 20:00:09.266 Opening video filter: [expand h=180]
[Thread-18] DEBUG 20:00:09.266 Expand: -1 x 180, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
[Thread-18] DEBUG 20:00:09.267 Opening video filter: [scale w=320 h=-2]
[Thread-18] DEBUG 20:00:09.267 ==========================================================================
[Thread-18] DEBUG 20:00:09.267 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[Thread-18] DEBUG 20:00:09.268 Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
[Thread-18] DEBUG 20:00:09.268 ==========================================================================
[Thread-18] DEBUG 20:00:09.268 Audio: no sound
[Thread-18] DEBUG 20:00:09.268 Starting playback...
[Thread-18] DEBUG 20:00:09.306 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[Thread-18] DEBUG 20:00:09.308 [swscaler @ 0xcf23c0]BICUBIC scaler, from yuv420p10le to rgb24 using MMX2
[Thread-18] DEBUG 20:00:09.308 VO: [jpeg] 320x180 => 320x180 RGB 24-bit
[Thread-18] DEBUG 20:00:09.308 jpeg: mplayer_thumbs - Output directory already exists and is writable.
[Thread-18] DEBUG 20:00:09.331
[Thread-18] DEBUG 20:00:09.335
[Thread-18] DEBUG 20:00:09.335 Exiting... (End of file)
[Thread-16] DEBUG 20:00:12.121 Stopping Unix process 9747: mplayer
[New I/O server worker #1-2] INFO 20:00:19.225 Starting transcode/remux of [Commie]_Nisemonogatari_-_01_[FD2DD7A5].mkv
[mencoder] DEBUG 20:00:19.351 Starting mencoder -ss 0 -quiet /rz1/Media/[Commie]_Nisemonogatari_-_01_[FD2DD7A5].mkv -quiet -quiet -oac lavc -of mpeg -quiet -quiet -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 2 -lavdopts debug=0:threads=3 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=448:threads=3:keyint=25:vqscale=5:vqmin=2 -ass -nofontconfig -subcp cp1252 -ass-color ffffff00 -ass-border-color 00000000 -ass-font-scale 1.0 -ass-force-style FontName=Arial,Outline=1,Shadow=1,MarginV=10 -quiet -quiet -sid 0 -fps 24000/1001 -ofps 24000/1001 -quiet -quiet -lavdopts fast -mc 0 -noskip -af lavcresample=48000 -srate 48000 -o - -really-quiet -msglevel statusline=2
[mencoder] DEBUG 20:00:19.418 Attaching thread: mencoder
[mencoder] DEBUG 20:00:19.418 Unix process ID (mencoder): 9748
[Thread-26] DEBUG 20:00:27.969 Stopping Unix process 9748: mencoder
