¡Hola, Invitado! (Iniciar sesiónRegístrate)
Hora: 02 May 2024, 22:27

Pequeño problema con MPC-HC + K-Lite Codec Pack

06 Dec 2022, 20:12
Mensaje: #1

Pequeño problema con MPC-HC + K-Lite Codec Pack

Hola, vengo a ver si algún alma caritativa que controle de esto es capaz de ayudarme con este pequeño aunque complicado problema.

El problema es acerca de la sincronización de los subs en MPC-HC + K-Lite Codec Pack y es que recientemente he cambiado de ordenador portátil y estoy teniendo que ponerlo todo como lo tenía en el viejo. He configurado el MPC tal y como lo tenía antes pero hay una desincronización de 4 frames (entran y salen 4 frames tarde) pero solo con la configuración del Renderizador de Vídeo Mejorado (EVR) (presentador personalizado) y el renderizador interno de subtítulos (si cambio el interno de subtítulos por VSFilter no sucede esto pero los subs se "pegan" al vídeo). Para diálogos normales no le doy mucha importancia porque es casi imperceptible pero cuando hay carteles el pequeño retardo es un poco incómodo y más cuando hay 2 carteles en 2 escenas diferentes seguidas que se mezclan.

He probado instalando la última versión tanto del reproductor como de codecs pero me pasa lo mismo.

Sé que está la opción de adelantar y retrasar los subs con F1/F2 pero me molesta un poco tener que hacerlo en cada vídeo.

PD: Con el MPV esto no me pasa y con el VLC no lo sé porque no lo he instalado aún xD.
06 Dec 2022, 23:39
Mensaje: #2

RE: Pequeño problema con MPC-HC + K-Lite Codec Pack

Pues mira, puede que tu problema se solucione instalando el xy-subfilter y configurándolo bien, pero...
Si ya tienes el MPV, solo úsalo, no hay mejor reproductor que ese... solo tienes que configurar un poco el mpv.conf y el input.conf y nada más.
Te dejo mi confi:
mpv.conf:
Mostrar
Código:
#############
# Subtitles #
#############

sub-visibility=yes
demuxer-mkv-subtitle-preroll=yes # try to show embedded subs when seeking even when no index information is present
demuxer-mkv-subtitle-preroll-secs=2

sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
sub-file-paths-append=ass # search for external subs in these relative subdirectories
sub-file-paths-append=srt
sub-file-paths-append=ssa
sub-file-paths-append=sub
sub-file-paths-append=subs
sub-file-paths-append=subtitles

embeddedfonts=yes # use embedded fonts for SSA/ASS subs
sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases)
sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts
sub-use-margins
sub-ass-force-margins

# Esto es para que modifiques como se miran los subs (para los SRT)
sub-font="Nombre de la fuente"
sub-font-size=50
sub-color="#FFFFFFFF"
sub-border-color="#FF262626"
sub-border-size=0
sub-shadow-offset=3
sub-shadow-color="#000000"
sub-spacing=0.5

keep-open # keep the player open when a file's end is reached

#############
# Language #
#############

alang= jpn, eng, spa, jp, en, es
slang= lat, spa, es, en
audio-file-auto=fuzzy
save-position-on-quit=yes
#autofit-larger=100%x100%
#geometry=50%:50%
fs=yes
# OSC/OSD #
#osc=yes
#osd-font=<name>
#osd-font-size=<size>
osc=yes
# uosc provides its own seeking/volume indicators, so you also don't need this
cursor-autohide=1500 #synchronized with hidetimeout
osd-bar=yes


# Screenshots #
screenshot-template="C:tudirectorioaquí\SS-%F-T%wH.%wM.%wS"
screenshot-format=png # Set screenshot format
screenshot-png-compression=5 # Range is 0 to 10. 0 being no compression.
screenshot-tag-colorspace=yes
screenshot-high-bit-depth=no # Same output bitdepth as the video

input.conf:
Mostrar
Código:
# mpv keybindings
#
# Location of user-defined bindings: ~/.config/mpv/input.conf
#
# Lines starting with # are comments. Use SHARP to assign the # key.
# Copy this file and uncomment and edit the bindings you want to change.
#
# List of commands and further details: DOCS/man/input.rst
# List of special keys: --input-keylist
# Keybindings testing mode: mpv --input-test --force-window --idle
#
# Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore').
#
# Strings need to be quoted and escaped:
# KEY show-text "This is a single backslash: \\ and a quote: \" !"
#
# You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
# the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal).
#
# The default keybindings are hardcoded into the mpv binary.
# You can disable them completely with: --no-input-default-bindings

# Developer note:
# On compilation, this file is baked into the mpv binary, and all lines are
# uncommented (unless '#' is followed by a space) - thus this file defines the
# default key bindings.

# If this is enabled, treat all the following bindings as default.
#default-bindings start

#MBTN_LEFT ignore # don't do anything
#MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen
#MBTN_RIGHT cycle pause # toggle pause/playback mode
#MBTN_BACK playlist-prev # skip to the previous file
#MBTN_FORWARD playlist-next # skip to the next file
#MBTN_RIGHT script-binding uosc/menu
#menu script-binding uosc/menu
# Mouse wheels, touchpad or other input devices that have axes
# if the input devices supports precise scrolling it will also scale the
# numeric value accordingly
#WHEEL_UP seek 10 # seek 10 seconds forward
#WHEEL_DOWN seek -10 # seek 10 seconds backward
#WHEEL_LEFT add volume -2
#WHEEL_RIGHT add volume 2

--no-input-default-bindings
## Seek units are in seconds, but note that these are limited by keyframes
RIGHT seek 5 # seek 5 seconds forward
LEFT seek -5 # seek 5 seconds backward
UP add volume 2
DOWN add volume -2
n seek 85 # seek 1 minute y 25 seconds forward
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
# Don't show them on the OSD (no-osd).
Shift+RIGHT no-osd seek 1 exact # seek exactly 1 second forward
Shift+LEFT no-osd seek -1 exact # seek exactly 1 second backward
#Shift+UP no-osd seek 5 exact # seek exactly 5 seconds forward
#Shift+DOWN no-osd seek -5 exact # seek exactly 5 seconds backward
Ctrl+LEFT no-osd sub-seek -1 # seek to the previous subtitle
Ctrl+RIGHT no-osd sub-seek 1 # seek to the next subtitle
Ctrl+Shift+LEFT sub-step -1 # change subtitle timing such that the previous subtitle is displayed
Ctrl+Shift+RIGHT sub-step 1 # change subtitle timing such that the next subtitle is displayed
Ctrl+z sub-step -1
Ctrl+x sub-step 1
Alt+left add video-pan-x 0.1 # move the video right
Alt+right add video-pan-x -0.1 # move the video left
Alt+up add video-pan-y 0.1 # move the video down
Alt+down add video-pan-y -0.1 # move the video up
Alt++ add video-zoom 0.1 # zoom in
Alt+- add video-zoom -0.1 # zoom out
Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings
PGUP add chapter -1 # seek to the next chapter
PGDWN add chapter 1 # seek to the previous chapter
Shift+PGUP seek 600 # seek 10 minutes forward
Shift+PGDWN seek -600 # seek 10 minutes backward
[ multiply speed 1/1.1 # decrease the playback speed
] multiply speed 1.1 # increase the playback speed
{ multiply speed 0.5 # halve the playback speed
} multiply speed 2.0 # double the playback speed
BS set speed 1.0 # reset the speed to normal
Shift+BS revert-seek # undo the previous (or marked) seek
Shift+Ctrl+BS revert-seek mark # mark the position for revert-seek
q quit
Q quit-watch-later # exit and remember the playback position
#q {encode} quit 4
ESC set fullscreen no # leave fullscreen
#ESC {encode} quit 4
p ignore # cycle pause # toggle pause/playback mode
. frame-step # advance one frame and pause
, frame-back-step # go back by one frame and pause
SPACE cycle pause # toggle pause/playback mode
> playlist-next # skip to the next file
ENTER playlist-next # skip to the next file
< playlist-prev # skip to the previous file
O no-osd cycle-values osd-level 3 1 # toggle displaying the OSD on user interaction or always
o show-progress # show playback progress
P ignore # show-progress # show playback progress
i script-binding stats/display-stats # display information and statistics
I script-binding stats/display-stats-toggle # toggle displaying information and statistics
#` script-binding console/enable # open the console
#z add sub-delay -0.1 # shift subtitles 100 ms earlier
#Z add sub-delay +0.1 # delay subtitles by 100 ms
x add sub-delay +0.1 # delay subtitles by 100 ms
X add sub-delay -0.1 # delay subtitles by 100 ms
ctrl++ add audio-delay 0.100 # change audio/video sync by delaying the audio
ctrl+- add audio-delay -0.100 # change audio/video sync by shifting the audio earlier
#Shift+g add sub-scale +0.1 # increase the subtitle font size
#Shift+f add sub-scale -0.1 # decrease the subtitle font size
#9 add volume -2
#/ add volume -2
#0 add volume 2
#* add volume 2
m cycle mute # toggle mute
#1 add contrast -1
#2 add contrast 1
#3 add brightness -1
#4 add brightness 1
#5 add gamma -1
#6 add gamma 1
#7 add saturation -1
#8 add saturation 1
#Alt+0 set current-window-scale 0.5 # halve the window size
#Alt+1 set current-window-scale 1.0 # reset the window size
#Alt+2 set current-window-scale 2.0 # double the window size
#d cycle deinterlace # toggle the deinterlacing filter
r add sub-pos -1 # move subtitles up
R add sub-pos +1 # move subtitles down
#t add sub-pos +1 # move subtitles down
v cycle sub-visibility # hide or show the subtitles
Alt+v cycle secondary-sub-visibility # hide or show the secondary subtitles
V cycle sub-ass-vsfilter-aspect-compat # toggle stretching SSA/ASS subtitles with anamorphic videos to match the historical renderer
u cycle-values sub-ass-override "force" "no" # toggle overriding SSA/ASS subtitle styles with the normal styles
j cycle sub # switch subtitle track
J cycle sub down # switch subtitle track backwards
SHARP ab-loop # set/clear A-B loop points
_ cycle video # switch video track
T cycle ontop # toggle placing the video on top of other windows
f cycle fullscreen # toggle fullscreen
s screenshot # take a screenshot of the video in its original resolution with subtitles
S screenshot video # take a screenshot of the video in its original resolution without subtitles
Ctrl+s screenshot window # take a screenshot of the window with OSD and subtitles
Alt+s screenshot each-frame # automatically screenshot every frame; issue this command again to stop taking screenshots
#w add panscan -0.1 # decrease panscan
W add panscan +0.1 # shrink black bars by cropping the video
#e add panscan +0.1 # shrink black bars by cropping the video
A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" # cycle the video aspect ratio ("-1" is the container aspect)
POWER quit
b ignore
PLAY cycle pause # toggle pause/playback mode
PAUSE cycle pause # toggle pause/playback mode
PLAYPAUSE cycle pause # toggle pause/playback mode
PLAYONLY set pause no # unpause
PAUSEONLY set pause yes # pause
STOP quit
FORWARD seek 60 # seek 1 minute forward
REWIND seek -60 # seek 1 minute backward
NEXT playlist-next # skip to the next file
PREV playlist-prev # skip to the previous file
VOLUME_UP add volume 2
VOLUME_DOWN add volume -2
MUTE cycle mute # toggle mute
CLOSE_WIN quit
#CLOSE_WIN {encode} quit 4
E cycle edition # switch edition
l cycle audio # switch audio track
L cycle-values loop-file "inf" "no" # toggle infinite looping
Ctrl+c ignore
#DEL script-binding osc/visibility # cycle OSC visibility between never, auto (mouse-move) and always
ctrl+h cycle-values hwdec "auto" "no" # toggle hardware decoding
F8 show-text ${playlist} # show the playlist
F9 show-text ${track-list} # show the list of video, audio and sub tracks

Si tienes una buena pc puedes hacer muchas cosas más, como usar tu tarjeta gráfica para mejorar la reproducción, pero eso ya te tocaría investigarlo a ti, esa configuración te servirá para cualquier video y subtítulos, siempre y cuando, obviamente; los subs y el video estén bien.
07 Dec 2022, 02:38
Mensaje: #3

RE: Pequeño problema con MPC-HC + K-Lite Codec Pack

Acabo de probar el xy-subfilter y hace lo mismo que el VSFilter pero con la desincronización del renderizador interno de subtítulos. He ido a cambiar el delay de los subs en la configuración del xy-subfilter y al poner un valor distinto de 0 tanto positivo como negativo los subs del video no se muestran Llorando.

El problema con el MPV es que lo utilizaba como última solución en el portátil viejo cuando no tenía los recursos necesarios para tirar el vídeo con el MPC pero ahora ya no tengo ese problema, lo único que el MPC tiene una interfaz mucho más intuitiva que el MPV si quieres modificar algo y por eso es el que más utilizo.

Ojalá se pudiera poner el delay automático en el interno (o igual si se puede hacer pero no he encontrado el modo).

De todas formas muchas gracias por la ayuda.
07 Dec 2022, 08:36
Mensaje: #4

RE: Pequeño problema con MPC-HC + K-Lite Codec Pack

Jamás esperé que eso fuera tan complicado, solo le doy siguiente, siguiente y finalizar. A lo único que le muevo es al madvr para que se coma la gráfica.

No es mala leche, solo que jamás vi un tutorial o pregunta similar.

Lo del MPV solo lo uso para meterle judder al anime.
07 Dec 2022, 18:07
Mensaje: #5

RE: Pequeño problema con MPC-HC + K-Lite Codec Pack

Bueno, pues después de innumerables búsquedas, problema resuelto y era más fácil de lo que pensaba.

En el apartado de windows de configuración - sistema - pantalla - configuración de gráficos abajo del todo donde sale el icono del MPC cambiar al alto rendimiento que en mi caso sale la tarjeta gráfica y que antes estaba en permitir que windows decida por lo que doy por hecho que pillaba los gráficos integrados.

He ido a mirar por las dudas como estaba en el PC viejo y estaba en permitir que windows decida y he probado con los gráficos integrados y con la tarjeta gráfica y no hay desincronización en ninguno.

Lo raro es que a pesar de que ahora tengo 10 veces mejores gráficos integrados que antes me pasara eso por lo que supongo que hay algo en el centro de comandos gráficos de intel que se puede cambiar pero ahora mismo no estoy por la labor de seguir comiéndome la cabeza con algo que de momento está solucionado.

Gracias también a @Reina Perry porque me diste una leve idea con lo del madvr y la gráfica Risa.
09 Dec 2022, 14:18
Mensaje: #6

RE: Pequeño problema con MPC-HC + K-Lite Codec Pack

Ya que lo mencionas me sucedio lo mismo. Me preguntaba porque rayos se me congelaba el video a cada rato jsjsjs se me ocurrio abrir el panel de nvidia y picarle por aqui y alla y vi la seccion de switchable graphics y me ilumino todo el carril.

La integrada de AMD es muy 😎 hace una buena chamba, pero total el portatil se la pasa conectado asi que me vale lo del ahorro de energia y prefiero exprimir lo que se pueda.


Usuario(s) navegando en este tema: 1 invitado(s)