Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 20th April 2006, 12:52   #1  |  Link
CobraX
Registered User
 
Join Date: Apr 2002
Location: Belgium
Posts: 14
Converting XviD 23.976 fps to PAL/NTSC DVD. Help needed please.

Hi folks

First of all. I don't have great technical skills so that's probably the reason why I can't figure this out. I've tried searching these forums, searching google, searching the avisynth docs but still I can't figure this out.

I have a xvid movie with the following specifications:

- Video Codec: XviD
- Video Bitrate: ~907 Kbps
- Resolution: 640x272
- Aspect Ratio: 2.35:1
- Framerate: 23.976
- Audio Codec: MP3 VBR (Stereo)
- Audio Bitrate: ~129 Kbps
- Audio Sampling Frequency: 48000 Hz

I believe the video is progressive cause I can't see any horizontal (scan)lines.

The thing I wanna accomplish is converting this XviD movie to a PAL or NTSC DVD (I prefer PAL cause I have a European 4:3 TV). I've tried this before with a XviD movie with 25 fps framerate and HCencoder did it flawlessly. I converted my audio using BeSweet to a 2 channel (192 kbps) AC3 file and everything worked fine.

But with this movie HCencoder keeps complaining about the framerate (23.976 fps) which isn't dvd compliant. So I guess I have to convert it to either 29.97 fps (NTSC) or 25 fps (PAL).

At this point I'm stuck and have many questions.

- Should I resize the movie to 4:3 or 16:9?
- How can I convert the framerate using avisynth (I read something about ConvertFPS in the avisynth docs but it's Chinese to me)?
- What about the audio after the framerate conversion? Will it be out-of-sync and if so what can I do about it? Maybe it's possible to resync the audio using avisynth and then load this avisynth script in virtualdubmod so I can extract the synced audio and convert it using BeSweet?
- Are there any great filters for removing artifacts/blocks that are produced by the XviD codec? Better ones than the one I'm using?

After all of this has been done, I'll try to author the DVD using DVDLab Pro (can't be that hard to convert the srt subtitle file using DVDLab Pro I guess).

Ow yeah this is my avisynth script file so far.

Quote:
# Video Codec: XviD
# Video Bitrate: ~907 Kbps
# Resolution: 640x272
# Aspect Ratio: 2.35:1
# Framerate: 23.976
# Audio Codec: MP3 VBR (Stereo)
# Audio Bitrate: ~129 Kbps
# Audio Sampling Frequency: 48000 Hz

# Loading Video
AviSource("amovie.avi")

# Convert to 16:9 PAL
#
# (576 * 16/9)x576 = 1024x576
# 1024 / 640 = 1.6
# 272 * 1.6 = 435.2 (rounded 436)
# 576 - 436 = 140
# 140 / 2 = 70

Lanczos4Resize(720,436)
AddBorders(0,70,0,70)

# Convert to 16:9 NTSC
#
# (480 * 16/9)x480 = 853(rounded)x480
# 853 / 640 = 1.33
# 272 * 1.33 = 362.66 (rounded 362)
# 480 * 362 = 118
# 118 / 2 = 59
#
# Lanczos4Resize(720,362)
# AddBorders(0,58,0,60)

# Noise Removal
# ConvertToYUY2()
# SpatialSoften(4,2,2)
Help would really be appreciated guys!

Thanks in advance

CobraX
CobraX is offline  
Old 20th April 2006, 14:30   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Where did you get the XviD movie?
Guest is offline  
Old 20th April 2006, 14:33   #3  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
The thing I wanna accomplish is converting this XviD movie to a PAL or NTSC DVD (I prefer PAL cause I have a European 4:3 TV).
Just telecine it to PAL after encoding: http://www.neuron2.net/dgpulldown/dgpulldown.html
Use custom: 23.976 -> 25 (i think this is also supported).

edit: i didn't see neuron2's post. You are lucky if you didn't encode it yourself.
Wilbert is offline  
Old 20th April 2006, 15:49   #4  |  Link
CobraX
Registered User
 
Join Date: Apr 2002
Location: Belgium
Posts: 14
Quote:
Originally Posted by neuron2
Where did you get the XviD movie?
From a friend. Why?
CobraX is offline  
Old 20th April 2006, 17:38   #5  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Quote:
Originally Posted by CobraX
From a friend. Why?
Please read and follow forum rules, specifically, rule 6. Thank you.
Guest is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.