Bienvenue invité ( Connexion | Inscription )
09/11/2003 19:23
Message
#1
|
|
Figurant Groupe : Membres Messages : 76 Inscrit : 31/08/2003 Membre no 262 |
@ Pepsilite j'ai glané quelques infos sur l'anamorphic encoding, une option qui serait interessante pour ripp-it (IMG:http://forum.ripp-it.com/style_emoticons/default/cling.gif)
plus d'infos sur doom http://forum.doom9.org/showthread.php?s=&t...&threadid=40572 Anamorphic encoding with RV9 I just wanted to mention a feature in RealVideo 9 that is not well known, and quite useful for those high bitrate encodes. Most of you know what anamorphic means. If not, check out http://gregl.net/videophile/anamorphic.htm The upsize feature in producer is not well documented, but what happens if you specify a resize size that is larger than your input video size, producer will not actually resize the video, but add a flag to the bitstream, such that the player will stretch the video to the desired size. This stretching is a high quality interpolation done by the video card without extra CPU overhead. So how can you use this to achieve anamorphic encodes? It is quite simple. In your AVISynth script, first crop the video (preferably to a height divisble by four). Then, do not resize to correct aspect ratio like you normally would. No resizing is needed. Add the option to producer (GUI or command line) to resize up such that the aspect ratio on playback will be correct. Here is an example: After cropping, the video size could be 712x368. The correct aspect ratio after resizing should be 2.35:1. Normally you would resize to 640x272 and encode at this resolution. If you have more than enough bits, but not a lot more than you need, you will get some improvement by resizing to 720x304 instead, but that's only half way there. For true anamorphic encoding at the native resolution, do not resize in AVISynth, but resize in producer to 856x364 (364 * 2.35 = 856). Producer will then encode at 712x368, and RealOne will stretch this to 856x364 on playback. This resolution looks just awesome, and much better than 640x272! Caveats: If you play back via TV out, your video card may be limited to a resolution of 640 wide. In this case, the anamorphic encoding technique will probably not gain much quality. The producer resize feature is available only in the full version, and helix producer from Helix Community. Edit: Instructions for Anamorphic encoding with AutoRV9 1.2 1: Setup the encode like you normally would in AutoRV9, including video/audio source, audio bitrate, cropping, possibly pre-filters, and target filesize. The aspect ratio should be 16:9 for anamorphic source material. Pick Neutral bicubic for the resize, since this loads no plugins. We will later edit the .avs script to remove this step. Do not use separate quality for credits, that's a little too complicated for this manual process. In my example, I have a semi-slow, darkish source that's 2hr 10mins or so, and with a 2CD encode, the bitrate is clearly high enough to warrant anamorphic encoding. When the resolution is only 640x272, the bits/pixel number os 0.327, which is too high, i.e. higher quality can be achieved by increasing the resolution. 2: Start the encode, and let the audio transcoding complete. Then, when the producer command line window appears, CTRL-C out of it. I copied the command line first though. 3: Edit the .avs script to remove the resizing step. In my example, I also modified it to use YV12 mpeg2dec3. It should now look something like: LoadPlugin("C:MISCAutorv9SOFTSAVSFILEyv12MPEG2DEC3.DLL") Video=Mpeg2Source("<path>source.d2v") Audio = WavSource("<path>Stream1.WAV") Video=AudioDub(Video,Audio) Video=Crop(Video,10,56,704,364) #Video=BicubicResize(Video,640,272,0,0.5) #Do not resize before producer Return(Video) ** For a YV12 encode, at this point replace the original avisynth.dll with avisynth 2.5 (AutoRV9 requires the original AVISynth) 4: Run a resize capable (see above) producer with the AutoRV9 command line parameters, but with resize added. In this case, it's a 2.35:1 source, so the width will be as follows: height * 2.35 = 364 * 2.35 = 856. The input .avs script is the edited version. producer.exe -i anamorphic.avs -o anamorphic.rmvb -ad c:AutoRV9_Movie.rpad -am music -vm normal -lc e,d -rs 856x364 Part of the Diagnostic output from producer should look like: Diagnostic: Input Filename: anamorphic.avs Diagnostic: Total Duration: 02:10:04.973 Diagnostic: Video Track Diagnostic: Dimensions: 704 x 364 Diagnostic: Frame Rate: 23.976 FPS Diagnostic: Format: YV12 Diagnostic: Using AutoRV9_Movie Audience Diagnostic: Using audio codec: cook (96468 bps) Diagnostic: Using video codec: rv9 (1364532 bps) That should be it, unless I forgot something. My encode is still running, but I ran a short test with '-dt' (no 2-pass) and looked at the first few seconds, which looked fantastic. Will update when complete. Edit: The encode is complete, and looks fantastic. Every little detail is preserved, and it is almost impossible to tell the difference from the source. -= Une explication plus claire en Français : (IMG:http://forum.ripp-it.com/style_emoticons/default/cling.gif) l'anamorphisme est une technique utilisée dans le support DVD. En effet la véritable résolution d'un DVD c'est pour du PAL 720x576, c'est à dire si on fait le rapport on a 1.25, hors un film en 16/9 a un rapport 1,85 ou 2,35. On a donc une différence de ratio (ou rapport) entre le stockage et la lecture, ce qui fait qu'automatiquement le lecteur (la platine salon ou un player de DVD) sait qu'il doit élargir l'image. Le RV9 offre la possibilité d'utiliser le principe de l'anamorphisme, c'est à dire qu'il est possible d'encoder des images en basse résolution, le player (mediaplayer classic ou realone) sera capable d'élargir la résolution automatiquement. Autorv9 offre deux modes d'utilisation de l'anamorphisme. - utiliser le redimensionnement anamorphique : c'est l'idéal pour le bas débit, on ne tient pas compte du crop, la résolution apparente est une image à dimension classique (non croppée), l'image encodée réelement par contre est de résolution inférieure (sa valeur est donnée dans le redimensionnement) elle sera étirée par le player. Le fait d'encoder une image de plus basse résolution donne une meilleure qualité que l'encodage à plus haute résolution, en étirant, le résultat est bien meilleur donc que si on avait encodé à la résolution initiale. (la taille du redimensionnement possède le même ratio que l'originale). - Garder la résolution croppée : en fait dans ce cas on conserve le crop, et on utilise l'anamorphisme pour ramener la résolution apparente à la compensation du ratio. Dans le cas d'un film en 16/9 par exemple la résolution croppée donne 716x422 et redimensionnée par autorv9 à 720x292 pour avoir le bon ratio à c'est à dire un ratio de 2.46 on va compenser la perte de hauteur due à la suppression des bandes noires et ramener l'image à un format 2.46 pour ne pas déformer l'image en augmentant la valeur de la largeur de l'image ce qui va donner une résolution apparente de 1040x422. Même si on a une augmentation de la résolution de la source on ne perd pas de qualité car les filtres sont performants et l'agrandissement n'a lieu que sur la largeur, on obtient une image plus grande et donc plus belle. Toutefois il faut un bitrate beaucoup plus important car on étire l'image et que plus l'image est grande, plus il faut de bitrate pour assurer la qualité. On retiendra de façon générale que l'anamorphique est une option incontournable, pour les bas bitrate on ne fera qu'utiliser le redimensionnement anamorphique, pour des bitrate plus élevés on fera garder la résolution croppée pour un cas normal (qu'est ce que le normal ?) on n'utilisera pas l'anamorphique. En espérant que ça t'aidera (IMG:http://forum.ripp-it.com/style_emoticons/default/cling.gif) @+ (IMG:http://forum.ripp-it.com/style_emoticons/default/an_coucou.gif) |
|
|
09/11/2003 19:30
Message
#2
|
|
none Groupe : Membres Messages : 942 Inscrit : 12/05/2003 Membre no 3 |
Mince alors, et moi qui n'ai plus d'aspirine... (IMG:http://forum.ripp-it.com/style_emoticons/default/yahoo.gif)
|
|
|
09/11/2003 20:07
Message
#3
|
|
Jeune premier(e) Groupe : Membres Messages : 305 Inscrit : 20/05/2003 Membre no 28 |
MUSASHI a de la concurance (IMG:http://forum.ripp-it.com/style_emoticons/default/an_ouarf.gif)
|
|
|
09/11/2003 20:22
Message
#4
|
|
Admin Groupe : Admin Messages : 32.192 Inscrit : 12/05/2003 Lieu : DivX ou XviD Membre no 2 |
Dur pour Musashi ça (IMG:http://forum.ripp-it.com/style_emoticons/default/beuh.gif)
(IMG:http://forum.ripp-it.com/style_emoticons/default/an_ouarf.gif) |
|
|
09/11/2003 21:11
Message
#5
|
|
Figurant Groupe : Membres Messages : 76 Inscrit : 31/08/2003 Membre no 262 |
Heu Musashi kézako ?????? (IMG:http://forum.ripp-it.com/style_emoticons/default/gloups.gif)
|
|
|
09/11/2003 21:14
Message
#6
|
|
Producteur Groupe : Membres Messages : 10.947 Inscrit : 20/05/2003 Membre no 15 |
C'est un membre du forum (IMG:http://forum.ripp-it.com/style_emoticons/default/glass.gif)
|
|
|
31/12/2003 16:28
Message
#7
|
|
Cascadeur Groupe : Membres Messages : 126 Inscrit : 11/06/2003 Lieu : Gora Euskadi Membre no 95 |
Kézako un nouveau membre, boudouille j'le connais point (IMG:http://forum.ripp-it.com/style_emoticons/default/glaps.gif)
Bonne année (IMG:http://forum.ripp-it.com/style_emoticons/default/ziiio.gif) Urte berri on (IMG:http://forum.ripp-it.com/style_emoticons/default/zjk.gif) Feliz aà±o nuevo (IMG:http://forum.ripp-it.com/style_emoticons/default/glass.gif) |
|
|
31/12/2003 16:52
Message
#8
|
|
Vedette Groupe : Membres Messages : 1.114 Inscrit : 10/08/2003 Lieu : Au pays des samouraïs Membre no 216 |
:$:
|
|
|
Discussions similaires à la discussion "Request : RV9 Anamorphic encoding"
Sujet | Réponses |
---|---|
Anamorphic | 0 |
REQUESTS Ri4m v5.x.x | 202 |
Request | 52 |
Requests Ri4m | 289 |
REQUESTS Ri4m v4.x.x | 31 |
REQUESTS Ri4m v4.x.x | 165 |
rv9ou rv10 | 2 |
Request v2.xx | 56 |
rv9 en dvd | 15 |
RV9 / RV10 | 15 |
Sujets récents
Nous sommes le : 28/04/2024 15:01 |