Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > AVI, DivX/Xvid

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 5 Mar 2003, 11:11 PM   #1
Junior Member
Junior Member
 
Join Date: Mar 2003
Posts: 14
Default divx avi 2 dvd (PAL)

how is this done? most divx files i download are 640x252 and frame rates of 23.976, but i want to convert them to 720x576 and 25fps. The only reason i want to do this is to record them onto a dvd. the authoring program i use is spruce up and if i leave the frame rate the way it is spruce up gives an error message of invalid frame rate. is there a full guide to convert divx to dvd pal if so could someone direct me to it.

thx

i know i have posted a similar question 1 down and i thank the persons for responding but i think i was asking the wrong questions, sorry big newbie here.

thx again


tommy
tommyboy is offline   Reply With Quote
Old 5 Mar 2003, 11:47 PM   #2
Digital Video Expert
Digital Video Expert
 
The Edge's Avatar
 
Join Date: Jan 2003
Location: Ireland
Posts: 610
Default

Hi again

I would use AVISynth for this.
Open Notepad and copy/paste the following into it:

avisource("c:\temp\my_Movie.avi")
BicubicResize(720,288,0,0.75)
AddBorders(0,144,0,144)
AssumeFPS(25)


Change the location of the movie on your hdd above.
Save in notepad with a *.avs extension and NOT .txt
Open in Tmpeg and encode using a PAL DVD template.

The audio is a different matter. It will be out of synch now.
Use CoolEdit to match the time to the above script. (E.g open the above in VirtualDub and check the lenth)

Now feed the above avs and newly created wav into TMPGEnc and encode. (For MPEG-2, you have 30day trial with TMPGEnc)


Well, that's how I would do it.

AVISynth
TMPGEnc

Any questions, ask away mate.

Edge

Edit:
typo
__________________
"ůI know the industry is formally opposed to that kind of thing [bootlegging] but I'm not. I don't have a problem with it at all." -- Paul McGuiness"

Last edited by The Edge; 6 Mar 2003 at 12:01 AM
The Edge is offline   Reply With Quote
Old 6 Mar 2003, 04:36 AM   #3
Junior Member
Junior Member
 
Join Date: Mar 2003
Posts: 14
Default

thx m8 will give it a go and c what happens.

just a quickie in the template the bicubic part


avisource("c:\temp\my_Movie.avi")

BicubicResize(720,288,0,0.75) (is this size for pal?)

just that im confused by the 288,0,0.75?

AddBorders(0,144,0,144)

AssumeFPS(25)

thx again for your help

tommy#

do you open the avi in tempgnec or the script?

Last edited by tommyboy; 6 Mar 2003 at 05:07 AM
tommyboy is offline   Reply With Quote
Old 6 Mar 2003, 07:47 AM   #4
Digital Video Expert
Digital Video Expert
 
The Edge's Avatar
 
Join Date: Jan 2003
Location: Ireland
Posts: 610
Default

Quote:
(is this size for pal?)
No, but adding the borders later in the script you get a nice 720x576 (PAL) resolution. The 720 and 288 are the width and height. The 0 and 0.75 are just settings.

Quote:
AddBorders(0,144,0,144)
Addborders works like this:
Addborders(Left,Top,Right,Bottom)
So, 288+144+144=576

Quote:
do you open the avi in tempgnec or the script?
AviSynth acts as the "middle man" between your videos and video applications. It "tricks" most video apps into thinking there opening an avi.

One more point.
If you add:

ConvertToRGB()

to the end of the script, you'll get a speed increase!

Good Luck.


Edge
The Edge is offline   Reply With Quote
Old 6 Mar 2003, 08:20 PM   #5
Junior Member
Junior Member
 
Join Date: Mar 2003
Posts: 14
Default

ok so i managed to set up the script and load it in to tmpgenc, but i get a message in tmpgenc video window saying can't open audio or something like that then at the bottom it says please check you have the proper codec installed?

now i know the codec is installed so why won't the scipt work?

i can open the divx file in tmpgenc normally, or i can watch it through realplayer, also i used gspot to check the file info and i know the codecs are there.

any ideas

tnx again for your time

tommy
tommyboy is offline   Reply With Quote
Old 6 Mar 2003, 09:26 PM   #6
Digital Video Expert
Digital Video Expert
 
The Edge's Avatar
 
Join Date: Jan 2003
Location: Ireland
Posts: 610
Default

Try adding "ConvertToRGB24()" to the end of the script.
If not, install DivX 5.0* which will act as a decoder.

Edge

Last edited by The Edge; 15 Mar 2003 at 01:25 AM
The Edge is offline   Reply With Quote
Old 7 Mar 2003, 11:07 PM   #7
Junior Member
Junior Member
 
Join Date: Mar 2003
Posts: 14
Default

hi again m8 (edge), sorry to bother you again, but i have managed to change the frame rate to 25 fps and it looks ok in the authoring program, i also used beesweet to convert the audio match the video BUT it is slighty out of synch towards the end of the film. This film was joined at the divx stage and the second part was slighty out of synch when it was joined.

can it be fixed or will i have to rejoin and re-blah-blah

hope you get what i mean m8

cheers

tommy
tommyboy is offline   Reply With Quote
Old 8 Mar 2003, 12:09 AM   #8
Digital Video Expert
Digital Video Expert
 
The Edge's Avatar
 
Join Date: Jan 2003
Location: Ireland
Posts: 610
Default

Good man. I see your getting there

Ok, the sound can sometimes be a biatch to get in synch.
Quote:
his film was joined at the divx stage and the second part was slighty out of synch when it was joined.
Your joining it corectly (or at least the way I would)
The problem is the sound is not play the same speed as the video It needs to be "stretched" to the same lenth as the video. Seems ok at the beginning but gets gradually worse as the film plays, as what your getting. Besweet should be able to modify the sound but you must enable it (attached image)

If that does not work you could use CoolEdit too.
Try Besweet again with this setting enabled.
Good luck.


Edge
Attached Thumbnails
divx avi 2 dvd (PAL)-ntsc2pal_besweet.jpg  
The Edge is offline   Reply With Quote
Old 8 Mar 2003, 09:34 AM   #9
Junior Member
Junior Member
 
Join Date: Mar 2003
Posts: 14
Default

hi m8, have tried that with audio it seemed to work but i keep getting clicking noises through the sound track?. does beesweet stretch the track or add to each frame (i hope you get what i mean).

thx again m8

so far you've been a gr-8 help

tommy
tommyboy is offline   Reply With Quote
Old 8 Mar 2003, 10:15 AM   #10
Digital Video Expert
Digital Video Expert
 
The Edge's Avatar
 
Join Date: Jan 2003
Location: Ireland
Posts: 610
Default

Cool. Hopefully synch is now sorted.
In Besweet, transcode to WAV first. If your source is VBR MP3, your bound to get those annoying clicks
Ok, what I would try is open the original avi in NanDub and goto File/Save Wav. Now, NanDub does NOT actually create a WAV but just extracts the soundtrack but with a *.wav extension. It's important you RENAME the file to "whatever.mp3 " as that's what it is. (rename to *.ac3 if it's an AC3)

Now, open this mp3 (I think it was a mp3 that your using) in Besweet and convert it to WAV (enabling that setting I mentioned eariler) and also ensuring it is set to 48000hz output too.

Use that wav file now for the sound and see what happens mate.
Good luck again

Edge
The Edge is offline   Reply With Quote
Old 11 Mar 2003, 09:13 PM   #11
Junior Member
Junior Member
 
Join Date: Mar 2003
Posts: 14
Default

hi m8 thnx for all your help, i now have it working and joined and synched and no clicks WHOO HOOO!!!

your the man

thnx again


tommy
tommyboy is offline   Reply With Quote
Old 11 Mar 2003, 09:39 PM   #12
Digital Video Expert
Digital Video Expert
 
The Edge's Avatar
 
Join Date: Jan 2003
Location: Ireland
Posts: 610
Default

Good man. Thanks for the feedback.
He, he....got there in the end. Have a pint on me.


Edge
The Edge is offline   Reply With Quote
Old 1 Apr 2003, 05:59 AM   #13
Junior Member
Junior Member
 
Join Date: Apr 2003
Posts: 2
Default

hi, i've been following your post, i got the same problem but inversed, i need to convert from 25 to 23.976, i do the video with FPs, but i could not get the audio working, not even in synch and not even without the repetitive words. also the movie goes form 1:47 to 1:51, so the audio should be the same, i have an mp2 already in 48, but its 1:47, the wav its the same, how should i do the ac3? i tried besweet selecting 25 to 29.9 because its going to be needed for a dvd but the audio is reptitive and the duration its shorter...the original audio is in mp3 44.1...please any help...
otacon is offline   Reply With Quote
Old 1 Apr 2003, 06:06 AM   #14
Junior Member
Junior Member
 
Join Date: Apr 2003
Posts: 2
Default

i forgot something, in nandub i save the wav but its just 1:29...somethimes 1:43..not even close to the original in 1:47 and of course far from 1:51 thats what i need.
otacon is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 11:44 PM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com