2008/9/3 Rodion Brodetsky <[EMAIL PROTECTED]> > Wed, Sep 03, 2008 at 07:58:05PM +0100, Mikhail Ramendik написал: > > Как бы заставить mencoder загонять субтитры с DVD прямо в кодируемую > > картинку? > mencoder'ом - никак. Как вариант можно попробовать: > 1. "рипнуть" DVD в ogm/mkv контейнер. В этих форматах mplayer загружает > дорожку с субтитрами сразу (если она есть).
А как правильно рипать? :) > > 2. с помо transcode "поизвращаться". Там как-то можно было делать > устройством ввода поток с mplayer и на выходе получать видео с уже > "нарисованными" субтитрами. Про эту возможность я в курсе, но при этом нужно, чтобы mplayer играл уже с субтитрами. А как его заставить - вот вопрос. Ещё я попробовал кодировать vlc, но там почему-то кодирование сломано. AVI вообще неясно как делать, а MP4 после долгой работы получился 196 байт :( Какой бы в VLC выбрать Encapsulation method, чтобы и работало (!), и потом можно было нормальный AVI получить при помощи mplayer -ovc copy -oac copy? > > А то я в man mlayer запутался - не получается даже просто заставить > mplayer > > показывать субтитры сразу, без нажатия j. > хм... что-то не то. обычно он сразу подгружает субтитры... если можно, > то покажите конфиг mplayer'а. > Он был дефолтный с debian-multimedia, я попробовал раскомментировать субтитры - не получилось... сейчас /etc/mplayer/mplayer.conf выглядит так: # # MPlayer configuration file # # Configuration files are read system-wide from /usr/local/etc/mplayer.conf # and per user from ~/.mplayer/config, where per-user settings override # system-wide settings, all of which are overrriden by the command line. # # The configuration file settings are the same as the command line # options without the preceding '-'. # # See the CONFIGURATION FILES section in the man page # for a detailed description of the syntax. ################## # video settings # ################## # Specify default video driver (see -vo help for a list). #vo=xv # Use SDL video with the aalib subdriver by default. #vo = sdl:aalib # FBdev driver: # # mode to use (read from fb.modes) #fbmode = 640x480-120 # # location of the fb.modes file #fbmodeconfig = /etc/fb.modes # Specify your monitor timings for the vesa and fbdev video output drivers. # See /etc/X11/XF86Config for timings. Be careful; if you specify settings # that exceed the capabilities of your monitor, you may damage it. # # horizontal frequency range (k stands for 1000) #monitor-hfreq = 31.5k-50k,70k # # vertical frequency range #monitor-vfreq = 50-90 # # dotclock (or pixelclock) range (m stands for 1000000) #monitor-dotclock = 30M-300M # Start in fullscreen mode by default. #fs=yes # Change to a different videomode when going fullscreen. #vm=yes # Override the autodetected color depth, may need 'vm=yes' as well. #bpp=0 # Enable software scaling (powerful CPU needed) for video output # drivers that do not support hardware scaling. #zoom=yes # standard monitor size, with square pixels #monitoraspect=4:3 # Use this for a widescreen monitor, non-square pixels. #monitoraspect=16:9 # Keep the player window on top of all other windows. #ontop=yes ################## # audio settings # ################## # Specify default audio driver (see -ao help for a list). ao=alsa, # Use SDL audio driver with the esd subdriver by default. #ao = sdl:esd # Specify the mixer device. #mixer = /dev/mixer # Resample the sound to 44100Hz with the lavcresample audio filter. #af=lavcresample=44100 ################## # other settings # ################## # Pretend to be Window Media Player. # Fixes playback when playlist and media file use the same URL. #user-agent=NSPlayer/4.1.0.3856 # Drop frames to preserve audio/video sync. #framedrop = yes # Specify your preferred skin here (skins are searched for in # /usr/local/share/mplayer/skins/<name> and ~/.mplayer/skins/<name>). #skin = Abyss # Resample the font alphamap. # 0 plain white fonts # 0.75 very narrow black outline (default) # 1 narrow black outline # 10 bold black outline #ffactor = 0.75 # cache settings # # Use 8MB input cache by default. #cache = 8192 # # Prefill 20% of the cache before starting playback. #cache-min = 20.0 # # Prefill 50% of the cache before restarting playback after the cache emptied. #cache-seek-min = 50 # DVD: Display English subtitles if available. slang = en # DVD: Play English audio tracks if available. #alang = en ################### # DVDNAV Settings # ################### #vc=ffmpeg12, # get a default OSD font from fontconfig fontconfig = yes font = "Sans" subfont-text-scale = 3 # You can also include other configuration files. #include = /path/to/the/file/you/want/to/include -- Yours, Mikhail Ramendik

