Roger's woze

November 30, 2010

mencoder woe

Filed under: Uncategorized — rogerdpack @ 4:06 pm
C:\dev\ruby\sensible-cinema\spec>ruby c:\installs\timer.rb “D:\installs\MPlayer-athlon-xp-svn-32492-mt\MPlayer-athlon-xp-svn-32492-mt\mencoder.exe”   dvd:// -oac copy -lavcopts keyint=1 -ovc lavc -o to_here.avi.fulli.tmp.avi
D:\installs\MPlayer-athlon-xp-svn-32492-mt\MPlayer-athlon-xp-svn-32492-mt\mencoder.exe dvd:// -oac copy -lavcopts keyint=1 -ovc lavc -o to_here.avi.fulli.tmp.avi
MEncoder SVN-r32492-4.2.5 (C) 2000-2010 MPlayer Team
SSE2 supported but disabled
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open D: with libdvdcss.
libdvdread: Can’t open D: for reading
Couldn’t open DVD device: D: (No error)
No stream found to handle url dvd://
Cannot open file/device.
Exiting…
0.048019
C:\dev\ruby\sensible-cinema\spec>timer “D:\installs\MPlayer-athlon-xp-svn-32492-mt\MPlayer-athlon-xp-svn-32492-mt\mencoder.exe”   dvd:// -oac copy -lavcopts keyint=1 -ovc lavc -o to_here.avi.fulli.tmp.avi -dvd-device e:\

C:\dev\ruby\sensible-cinema\spec>ruby c:\installs\timer.rb “D:\installs\MPlayer-athlon-xp-svn-32492-mt\MPlayer-athlon-xp-svn-32492-mt\mencoder.exe”   dvd:// -oac copy -lavcopts keyint=1 -ovc lavc -o to_here.avi.fulli.tmp.aviD:\installs\MPlayer-athlon-xp-svn-32492-mt\MPlayer-athlon-xp-svn-32492-mt\mencoder.exe dvd:// -oac copy -lavcopts keyint=1 -ovc lavc -o to_here.avi.fulli.tmp.aviMEncoder SVN-r32492-4.2.5 (C) 2000-2010 MPlayer TeamSSE2 supported but disabledlibdvdread: Using libdvdcss version 1.2.10 for DVD accesslibdvdread: Could not open D: with libdvdcss.libdvdread: Can’t open D: for readingCouldn’t open DVD device: D: (No error)No stream found to handle url dvd://Cannot open file/device.
Exiting…0.048019

meant “you need to specify the dvd device, because it’s not your D drive”
C:\dev\ruby\sensible-cinema\spec>timer “D:\installs\MPlayer-athlon-xp-svn-32492-mt\MPlayer-athlon-xp-svn-32492-mt\mencoder.exe”   dvd:// -oac copy -lavcopts keyint=1 -ovc lavc -o to_here.avi.fulli.tmp.avi -dvd-device e:\

mencoder how to mute audio (volume)

Filed under: Uncategorized — rogerdpack @ 1:55 pm
mencoder play_this_muted -o to_here.ts -ovc copy -af volume=-200 -oac lavc
(NB that “-af volume” does not work at all if you specify “-oac xxx” ).

mencoder mpeg2 woe

Filed under: Uncategorized — rogerdpack @ 1:08 pm
C:\dev\ruby\sensible-cinema\spec>D:\installs\MPlayer-rtm-svn-32492\MPlayer-rtm-svn-32492\mencoder -of mpeg to_here.avi.fulli.tmp.avi -ss 1.0 -endpos 0.999 -o to_here.avi.avi.0 -ovc copy  -nosound -noskip   -mpegopts tsaf:vbitrate=800:muxrate=5000000
MEncoder Sherpya-SVN-r32492-4.2.5 (C) 2000-2010 MPlayer Team
success: format: 0  data: 0×0 – 0x1b19800
MPEG-PS file format detected.
FPS seems to be: 29.970030
[V] filefmt:2  fourcc:0×10000004  size:720×480  fps:29.970  ftime:=0.0334
PACKET SIZE: 2048 bytes, deltascr: 88
MPEG MUXER, patching bitrate to 800
videocodec: framecopy (720×480 24bpp fourcc=10000004)
Limiting audio preload to 0.4s.
Increasing audio density to 4.
Writing header…
INITV: 0.200, 0.167, fps: 29.970
Pos:   0.1s      2f ( 1%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
FRAME DURATION: 54000   0.002
BUFFER UNDEFLOW at stream 0, raising muxrate to 2064026 kb/s, delta_scr: 214

C:\dev\ruby\sensible-cinema\spec>D:\installs\MPlayer-rtm-svn-32492\MPlayer-rtm-svn-32492\mencoder -of mpeg to_here.avi.fulli.tmp.avi -ss 1.0 -endpos 0.999 -o to_here.avi.avi.0 -ovc copy  -nosound -noskip   -mpegopts tsaf:vbitrate=800:muxrate=5000000MEncoder Sherpya-SVN-r32492-4.2.5 (C) 2000-2010 MPlayer Teamsuccess: format: 0  data: 0×0 – 0x1b19800MPEG-PS file format detected.FPS seems to be: 29.970030[V] filefmt:2  fourcc:0×10000004  size:720×480  fps:29.970  ftime:=0.0334PACKET SIZE: 2048 bytes, deltascr: 88MPEG MUXER, patching bitrate to 800videocodec: framecopy (720×480 24bpp fourcc=10000004)Limiting audio preload to 0.4s.Increasing audio density to 4.Writing header…INITV: 0.200, 0.167, fps: 29.970Pos:   0.1s      2f ( 1%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]FRAME DURATION: 54000   0.002
BUFFER UNDEFLOW at stream 0, raising muxrate to 2064026 kb/s, delta_scr: 214

meant “rip it first as avi, then grab from that into mpeg type container” (but it still shtinks…)

mencoder disable subtitles from DVD

Filed under: Uncategorized — rogerdpack @ 8:39 am

wonder if using “-sid 1000″ would disable the subtitles, basically…(for some reason, when using it with keyint, it was hardcoding them, for me…)

See also http://betterlogic.com/roger/2011/07/mplayer-disable-subtitles/ “-nosub -noautosub -forcedsubsonly -sid 1000″ was what worked in the end for me (phew that was hard)

November 29, 2010

VLC woe

Filed under: Uncategorized — rogerdpack @ 10:03 pm
ask if this related: [015c24fc] main input error: Invalid PCR value in ES_OUT_SET_(GROUP_)PCR !

not sure what that meant, as it still wrote out to disk fine…hmm…

mencoder copy a dvd with keyint

Filed under: Uncategorized — rogerdpack @ 9:09 pm

mencoder dvd:// -oac copy  -lavcopts keyint=1 -ovc lavc  -o out23 -dvd-device D:\

This sweet command will convert all frames to I-frames, thus allowing “laymen” encoders to be able to actually split the thing.

See http://en.wikibooks.org/wiki/Mplayer#Split.2Fsub-section_videos for why this is useful.

mencoder play a specific title in a DVD

Filed under: Uncategorized — rogerdpack @ 9:08 pm

$ mencoder dvd://2 -oac copy  -ovc copy out23.ts  -dvd-device D:\

This sweet command will copy title 2 of the DVD in the D:\ drive to the file out23.ts

Magick: no decode delegate for this image format `c:\dev\test.png’ @ error/constitute.c/ReadImage/532.

Filed under: Uncategorized — rogerdpack @ 3:28 pm

meant (for me) you can’t use imagemagick by copying its files around unless you use the portable version (.zip from the distro)…

ffmpeg “illicit users”

Filed under: Uncategorized — rogerdpack @ 10:50 am

They requested I post a link for google’s sake…

http://www.ffmpeg.org/shame.html

free windows dvd player

Filed under: Uncategorized — rogerdpack @ 10:27 am

Had to put a plug in for http://www.videolan.org/vlc/ (for google’s sake)

Older Posts »

Powered by WordPress