CobraX
20th April 2006, 12:52
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.
# 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
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.
# 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