Página 12 de 24

Re: Ayuda con mkv

Publicado: 09 Feb 2013 01:49
por xuguang_he
I try this way but I have also noticed that the sar it gives was changeable. And the software shows that it's ITU or not and it's not judging by myself. Is that correct? :drinks:
professor keller escribió:Hi Alan,

First, welcome to Cinefórum-Clásico! Second, I'm afraid I'm not the "king" mentioned by Bunker; I'm just a guy who learnt a couple of things from some wizz kids. If you want to contact some more experienced rippers than me you should try Dardo or Roisiano (not sure if they can communicate in English though).

Just a few comments on you notes:
xuguang_he escribió: As for "--preset", is there a big difference between "slow" and "veryslow"? The loss in picture quality or anything else?
Yes, if you're aiming for quality, there's a big difference. Preset veryslow is far more efficient to get the most of the encoding process.
xuguang_he escribió:I have also noticed that, in some of the black-and-white pictures rip, rippers use this in command line: --no-chroma-me. What does it mean? Just to keep the picture in black-and-white and not to have color deviation? And how could I judge when should I use this or not?
Yes, --no-chroma-me (or other similar presets) is just to keep the picture in pure B&W with no color deviation. And you don't have to judge it at all: if you are about to rip an entirely B&W film, just use it. You only need to be completely sure that the original film was shot in B&W and doesn't have any color or tinted scenes on it.
xuguang_he escribió:As for the "--sar", could I use ARS Calculator to calculate out the sar number?
You could, but you better don't ;) In all my knowledge, the best way to get the best SAR calculation is using your eyes. You just need to copy some code on notepad and save it as *.avs file (you must edit all paths, of course). I'm quoting elguaxo:
elguaxo escribió:We'll save the script as my.movie.avs. It looks for example like this one:

Código: Seleccionar todo

DGDecode_mpeg2source("I:\VTS_01_1.demuxed.d2v")

crop( 52, 14, -52, -14)
From DGIndex's report we are going to see if the DVD is PAL/NTSC, Fullscreen/Widescreen. Remember:

720x576 = PAL
720x480 = NTSC

4:3 = Fullscreen
16:9 = Widescreen

We'll save this script below as SAR.avs under the same folder of my.movie.avs. We are going to edit format and wide according to the data reported by DGIndex.

Let's open SAR.avs in VDM. Don't mind the black border's you'll see now, just focus on the AR. Look at many many screens to decide if it's ITU or not. The third line says x264 --sar and a number, for example 40:33. Write it down. That's the Pixel Aspect Ratio aka SAR (Sample Aspect Ratio).

Código: Seleccionar todo

avsfile = "my.movie.avs"  # Encoding script
format  = 1             # 1=NTSC, 0=PAL
wide    = 1             # 1=Widescreen 16:9, 0=Full screen 4:3
#########################
ITU     = (format==1?10:12)/11.0*(wide==1?4.0/3:1)
SARs    = """"12:11","16:11","10:11","40:33","16:15","64:45","8:9","32:27""""
ITUprof = "SDB "+(wide==1?"ANAMORPHIC ":"")+(format==1?"NTSC":"PAL")
i=import(avsfile).converttorgb
i
ab = round(height*(sqrt(45.0/44)-1))
a = spline36resize(round(width*ITU),height)
a = a.addborders(0,floor(ab/2.0),0,ceil(ab/2.0))
bb = width(a)-round(width*ITU/sqrt(45.0/44))
b = spline36resize(round(width*ITU/sqrt(45.0/44)),height+ab)
b = b.addborders(floor(bb/2.0),0,ceil(bb/2.0),0)
interleave(a,b)
scriptclip("""subtitle("Playback Resolution: "+\
string(round(width(i)*ITU*pow(44.0/45,current_frame%2)))+"x"+string(height(i))+\
"\nMeGUI Profile: "+ITUprof+(current_frame%2==1?" NON-ITU":"")+\
"\nx264 --sar "+eval("select(2*format+wide+current_frame%2*4,"+SARs+")"),lsp=0)""")
Regarding filters, best rippers usually doesn't like filters (mostly). Generally speaking, we're not interested in "improving" the source. Our aim is to get the most of the DVD in order to produce the most "transparent" rip that we can.

Best regards!

Re: Ayuda con mkv

Publicado: 09 Feb 2013 03:02
por xuguang_he
I give M.E.Range 16, but somebody told me to use 20. I've look up some instructions and it said 24 will be the most efficient.
And I give Subpixel Refinemen 07, bacause my computer may not afford the high settings. Also, M.E. Algorithm I use Hexagon.

Any improvement? :drinks:

Re: Ayuda con mkv

Publicado: 09 Feb 2013 03:09
por xuguang_he
How to set this in order to get the best picture quality?

number of b-frames
number of reference frames

:)

Re: Ayuda con mkv

Publicado: 09 Feb 2013 11:02
por gilles
xuguang_he,

Did you know this page ?

http://www.avidemux.org/admWiki/doku.ph ... rial:h.264

Re: Ayuda con mkv

Publicado: 10 Feb 2013 02:18
por xuguang_he
Thank you, I will look up that page :drinks:

Re: Ripeando un mkv con asistencia desde cero

Publicado: 11 Feb 2013 18:57
por reid
Estoy siguiendo el camino que hizo Bunker.
Mi primer tropiezo ha sido al utilizar el archivo SAR.avs. Las especificaciones del .d2v dice :
Aspect_Ratio=4:3
Picture_Size=720x576
y así lo marco con un 1 en el archivo SAR.avs (PAL y 4:3).
Cuando reproduzco el sar.avs en el VDM me dice que es NTSC 16:9 y que por tanto los sars a escoger son 40:33 ITU y 32:27 non-ITU.
¿Qué hago mal?

Otra, cosa. Pongamos por ejemplo un DVD 4:3, ¿la diferencia entre si es ITU o non-ITU estribaria en que en el primer caso el AR sería 1.37:1 y en el segundo 1.33:1, con una pequeña diferencia de resolución?

Re: Ripeando un mkv con asistencia desde cero

Publicado: 11 Feb 2013 19:25
por Bunker
Hola reid,

Cuanto me alegro que el hilo le sirva a alguien más para aprender a ripear con mkv. :yahoo:

En cuanto a tu duda me parece que el fallo es el "1" del Aspect Ratio y del sistema. Recuerda que:

Código: Seleccionar todo

1=NTSC, 0=PAL
1=Widescreen 16:9, 0=Full screen 4:3
Si tu DVD es Pal y 4:3 entonces debes marcar "0" en ambos casos.
Creo que ese será el problema. Igual keller te informa mejor.

Un saludo.
:hi:

Re: Ripeando un mkv con asistencia desde cero

Publicado: 11 Feb 2013 19:42
por professor keller
Hola reid,

Lo primero es que, como dice Bunker, tu script debió ser así:

Código: Seleccionar todo

format  = 0             # 1=NTSC, 0=PAL
wide    = 0             # 1=Widescreen 16:9, 0=Full screen 4:3
Lo segundo es decirte que tal vez el resto de mi respuesta te decepcione jejeje

Seguramente hay alguna manera de comprender mejor técnicamente el problema del ITU / NON-ITU. A mí no me interesa, primero porque no soy técnico, y segundo porque estamos hablando de un problema que ni siquiera toman en cuenta algunos reproductores de DVD al reproducir! Las diferencias de aspecto son realmente pequeñas, pero entrenando el ojo aprendes a ver cuál de las dos es más proporcionada. No hay que decidir enseguida, y tampoco por el contraste entre ambas (si dejas una imagen lo suficiente, te parecerá más proporcionada que cuando saltas de un frame a otro), hay que darle un tiempo a la evaluación (que funciona mucho mejor con planos generales que con primeros planos) y si es posible pedir asistencia a otros (en Allzine tenemos un hilo en donde posteamos los diferentes cuadros y pedimos opiniones de evaluación a otros para decidir el SAR).

Saludos!

Re: Ripeando un mkv con asistencia desde cero

Publicado: 11 Feb 2013 19:45
por reid
Lo he solucionado poniendo 0 en format y wide. Lo entendí al revés.
Ahora me salen 12:11 ITU (más chafado sin lineas negras a los lados) y 16:15 non ITU (menos chafado sin lineas negras arriba y abajo). ¿Por cúal me he de decidir?

Re: Ripeando un mkv con asistencia desde cero

Publicado: 11 Feb 2013 19:54
por Bunker
reid escribió:Lo he solucionado poniendo 0 en format y wide. Lo entendí al revés.
Ahora me salen 12:11 ITU (más chafado sin lineas negras a los lados) y 16:15 non ITU (menos chafado sin lineas negras arriba y abajo). ¿Por cúal me he de decidir?
Es como dice keller, a ojo. Compara entre 12:11 y 16:15. Busca alguna referencia, un objeto o algo que te pueda indicar cual de los dos está más proporcionado. La diferencia es sutil pero se nota. Prueba con varios frames.

Si con chafado quieres decir deformado, entonces opta por el menos chafado jejeje

¿Porqué no pegas unas capturas y te ayudamos?
Un saludo