chocolateboy wrote:lovswr wrote:Well there was no log in /tmp for ps3mencoder
That means ps3mencoder wasn't started successfully.& whereis ps3mencoder.log returns nothing.
"whereis" and "which" only work with commands. Try:
- Code: Select all
locate ps3mencoder.log
- for general file finding. You may need to update the db first:
- Code: Select all
sudo updatedb
But don't bother in this case as a) the file doesn't exist yet, and b) when it does, it'll be in /tmp.I don't know what options I should be trying to pass
Try this:
- Code: Select all
ps3mencoder http://movies.apple.com/movies/wb/inception/inception-tlr2_h640w.mov -prefer-ipv4 -nocache -quiet -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -ofps 24000/1001 -o deleteme.mov
If it works from the command line but not from PMS, then make sure PMS has the right permissions to execute the file:
- Code: Select all
chmod a+rx /path/to/ps3mencoder
Failing that, the most likely culprit is your PMS.conf...
Well I executed that entire line as one long string & it created the deleteme.mov file in /home/user-name/usr/bin
Otherwise the output is as below:
- Code: Select all
/usr/bin/ps3mencoder: exec: /usr/bin/mencoder http://movies.apple.com/movies/wb/inception/inception-tlr2_h640w.mov -prefer-ipv4 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -ofps 24 -o deleteme.mov -user-agent Quicktime/7.6.4
MEncoder SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
Resolving movies.apple.com for AF_INET...
Connecting to server movies.apple.com[168.143.241.57]: 80...
Cache size set to 320 KBytes
success: format: 7 data: 0x0 - 0xb63fde
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
VIDEO: [avc1] 640x268 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x31637661 size:640x268 fps:23.976 ftime:=0.0417
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
** 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)
==========================================================================
VDec: vo config request - 640 x 268 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (640x268 fourcc=3267706d [mpg2])
VIDEO CODEC ID: 1
AUDIO CODEC ID: 15003, TAG: 0
Writing header...
Pos: 0.0s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.004 [0:0]
1 duplicate frame(s)!
[h264 @ 0xa3939f0]concealing 544 DC, 544 AC, 544 MV errors:0.084 [185:127]
Skipping frame!
Pos: 41.5s 998f ( 0%) 52.17fps Trem: 0min 0mb A-V:0.040 [2232:127]
1 duplicate frame(s)!
Pos: 80.5s 1932f ( 0%) 40.46fps Trem: 0min 0mb A-V:-0.008 [2736:128]
Flushing video frames.
Writing index...
Video stream: 2736.599 kbit/s (342074 B/s) size: 27537028 bytes 80.500 secs 1932 frames
Audio stream: 128.000 kbit/s (16000 B/s) size: 1289544 bytes 80.596 secs
Also I ran that command twice & NOW I have a /tmp/ps3mencoder.log file. It has that I ran that command twice, but nothing about PS3 Media Server, even though I have restarted PS3 Media Server 3 times.
I can not get any attachment to upload here, so here is my PMS.conf file
- Code: Select all
folders = \/home\/lovswr\/public\/pms\/video
mencoder_path = \/usr\/bin\/ps3mencoder
hostname =
port = 6001
language =
thumbnails = true
thumbnail_seek_pos = 1
nbcores = 2
turbomode = false
minimized = false
hidevideosettings = false
usecache = true
charsetencoding = 850
engines = tsmuxer,mencoder,mplayeraudio,ffmpegaudio,tsmuxeraudio,vlcvideo,mplayervideodump,mplayerwebaudio,vlcaudio
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 = 384
maximumbitrate = 0
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=25:vqmax=5:vqmin=2
mencoder_nooutofsync = true
mencoder_audiolangs = eng,fre,jpn,ger,
mencoder_sublangs = eng,fre
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_ass = true
mencoder_disablesubs = false
mencoder_yadif = false
mencoder_scaler = true
mencoder_scalex = 1280
mencoder_scaley = 720
ffmpeg = -g 1 -qscale 1 -qmin 2
tsmuxer_mux_all_audiotracks = true
hide_enginenames = true
mencoder_remux_ac3 = false
mencoder_mux_compatible = true
Also, since I moved ps3mencoder into /usr/bin I have to use sudo in front of ANY command or it tells me that I do not have permission.
