http://d-addicts.com
 
Register
 
HOME TORRENT DRAMA WIKI STATS HELP (FAQ) SEARCH GROUPS PROFILE PRIVATE MESSAGES LOGIN
      

encode a DVD-file into mpeg4/avi

Goto page Previous  1, 2, 3, 4  Next
 
Reply to topic    D-Addicts Forum Index -> Tech Support
View previous topic :: View next topic  
Author Message
gixo
Avatar

Fansubber
Gender: Female
PostPosted: Thu Nov 01, 2007 11:30 am    Post subject:    Post Rating: 0 Reply with quote

Thank you. I realized that there were some stripes in the video but didn't really figure out where they came from and how to get rid of them. So here is the resized and interlaced file
http://rapidshare.com/files/66697533/resize_and_blend.avi.html

hmmm.... Xvid and Dvix. Doesn't really make a difference for me but I realized that a lot of DVD players only support Dvix. That's why I am using that codec. Bah... test encodings to find the right size? Oh man, if i won't succed at once it'll take me hours.

Off Topic: haha, you are right about the English words. And sometimes the pronounciation is so weird that I don't even realize that it's English (not for that song but for a couple of other songs)


Btw. I would really appreciate if you guys (not only bankai) could give me some feedback wether you would watch a file with that kind of quality or not. I don't wanna get scolded by everyone for my poor encoding skills and go through the procees of reencoding and reuploding it again.


Back to top
View user's profile 
BankaiOffline
Avatar

Fansubber
Joined: 15 Jan 2006
Total posts: 171
Location: Australia
Gender: Male
PostPosted: Fri Nov 02, 2007 5:04 am    Post subject:    Post Rating: 0 Reply with quote

As long as you don't use too many special settings, XviD should do fine on a DivX player, since they both compress to the same standard. Standard video sizes are basically 700mb, 550mb, 450mb, or 350mb, etc. So whichever you think is suitable should be alright. To try and see what the quality would be like for an entire episode at a certain size, you can probably take a shortcut by just using a small clip from an entire episode, but when calculating the bitrate input the entire episode's filesize and length.

The quality of the video is excellent, the only thing I have to say is that sometimes Deinterlacing by blend makes the video blurrier than it should be, so if you want an almost perfect deinterlacing job, you can do this with Avisynth and a few filters, though sometimes it may take longer to encode. Though, you can also resize in Avisynth as well, and then choose fast recompress in VDub, so it might actually be faster. It's all pretty dependent on the source.

To make the avisynth script, open notepad, and type in something like this, and save it with an .avs extension: (assuming you use DGIndex to process the vob and have the DGIndex plugin installed in Avisynth)

Code:
MPEG2Source("video.d2v")
SeparateFields()
SmoothDeinterlace()
LanczosResize(704,528,0.25)
ConvertFPS(29.97)
ConverttoYV12()


I think you should try this out just to see how it looks, but you'll also need this plugin: http://www.guthspot.se/video/AVSPorts/SmoothDeinterlacer/ installed in your Program Files\Avisynth\plugins directory for it to deinterlace.

EDIT: One more thing is, in some cases (it's happened to me) the Avisynth method can stuff up some of the words that fly by during the credits, but usually it should be fine. Oh and I just noticed in your screenshot that the calculator has the audio set to 128kbps. I can't remember if I told you, but if you are encoding at 160kbps in LAME then make sure you input 160kbps for the audio in the calculator too, that may be why your files are coming out at the wrong size.

_________________

Jiang Hu Projects // PM me or khmai_kandi22 to join Jiang Hu.
Back to top
View user's profile 
gixo
Avatar

Fansubber
Gender: Female
PostPosted: Sat Nov 10, 2007 10:39 pm    Post subject:    Post Rating: 0 Reply with quote

Finally had the time to try out avisynth. However I did sth wrong. when I tried to open the file I got a message that sth in my code were wrong.


avisynth encoden.JPG
 Description:
 Filesize:  21.53 KB
 Viewed:  809 Time(s)

avisynth encoden.JPG


Back to top
View user's profile 
BankaiOffline
Avatar

Fansubber
Joined: 15 Jan 2006
Total posts: 171
Location: Australia
Gender: Male
PostPosted: Sat Nov 10, 2007 10:54 pm    Post subject:    Post Rating: 0 Reply with quote

Do you have the DGDecode.dll? If you do, make sure it's in the Avisynth 2.5/plugins folder, and the .dll is the same version as the DGIndex program you used to make the d2v. (In any case, the right dll should come in the same package as the DGIndex program.)

_________________

Jiang Hu Projects // PM me or khmai_kandi22 to join Jiang Hu.
Back to top
View user's profile 
pariahOffline
Joined: 30 Oct 2006
Total posts: 1
Location: uk
Gender: Male
PostPosted: Sat Nov 10, 2007 11:29 pm    Post subject:    Post Rating: 0 Reply with quote

Hey i use a program called AutoGK very simple to use and the results are really good In my opinion and as the title says its automatic for the most part.
Choose the file size and under advanced setting choose whether xvid of divx (i use xvid mainly) and what format and bitrate to make audio and click start! thats it!.
Runs a 2 pass encode you can go deeper (CTRL-F9) if you want but for the usually its not necessary and if you want to add hardcoded subtitles you can (CTRL-F8 ) add srt subtitles then uncheck external subtitles thats it
Back to top
View user's profile 
gixo
Avatar

Fansubber
Gender: Female
PostPosted: Sun Nov 11, 2007 6:00 pm    Post subject:    Post Rating: 0 Reply with quote

@bankai

I copied the DGEncode.dll which came with the PGIndex into my avisynth folder. So it's definetely the same version as the PGIndex. However I am receiving the above mentioned message over and over again. I don't get it. I had no problems when I used a d2v for a rmvb file to encode it into avi. So I know that the virtual dub on my PC can handle d2v. However for the vob-files... If I can't figure out the problem, I'll stick with the stuff I already am able to do so the result isn't as good as it could be. btw. do you use lame MP3? Coz I am not using it since it crashes my virtual dub. I wonder why I am the only one who can't use it while everyone else is using it.

@pariah
thanks for the tip with AutoGK. I tried it some month ago. however there were some problems with my old PC so I stopped using it. But since I got a new one now, maybe I should give it a try again.
Back to top
View user's profile 
BankaiOffline
Avatar

Fansubber
Joined: 15 Jan 2006
Total posts: 171
Location: Australia
Gender: Male
PostPosted: Mon Nov 12, 2007 9:05 am    Post subject:    Post Rating: 0 Reply with quote

Did you make sure it's in your plugins folder as well? I'm not sure what you mean by you used a d2v for an rmvb, seeing as d2v only handles mpeg files. Did you mean avs files? To make sure that avisynth loads the .dll, you could always put in LoadPlugin("Filepath\DGDecode.dll") at the top of your script. If all else fails, then I have no idea, lol. I have no idea why you can't use Lame either. Maybe you can try encoding the audio separately, and then muxing it back with your final avi file.

_________________

Jiang Hu Projects // PM me or khmai_kandi22 to join Jiang Hu.
Back to top
View user's profile 
gixo
Avatar

Fansubber
Gender: Female
PostPosted: Mon Nov 12, 2007 11:49 am    Post subject:    Post Rating: 0 Reply with quote

yeah, I made sure that the dll is in my pluginfolder. as for what I meant with rmvb file is that I used avisynth before to create a code so virtual dub was able to handle it. So I know that avisynth normally is working for me. As for LameMP3. It seems that there are some issues between Lame and Xvid or sth. I get a message about licenced sth or what. I can tell you exactly when I am at my PC at home. But I think the audio I had for the files before is ok as well. so maybe I just leave it as it is.
Back to top
View user's profile 
BankaiOffline
Avatar

Fansubber
Joined: 15 Jan 2006
Total posts: 171
Location: Australia
Gender: Male
PostPosted: Tue Nov 13, 2007 5:04 am    Post subject:    Post Rating: 0 Reply with quote

Maybe try processing the vob through the DGindex again to get your d2v file, perhaps the first one somehow got corrupted? I'm not sure it'll work, but I guess you should try. After reading the error again, it looks like it *could* be something to do with the d2v.

_________________

Jiang Hu Projects // PM me or khmai_kandi22 to join Jiang Hu.
Back to top
View user's profile 
AkumaXOffline
Avatar

Upload Addict
Joined: 19 Apr 2006
Total posts: 570
Gender: Unknown
PostPosted: Tue Nov 13, 2007 6:43 pm    Post subject:    Post Rating: 0 Reply with quote

try opening your .d2v file that was generated with DGIndex with Notepad. if it's empty, something's wrong. the .d2v file is basically a pointer to your .vob file, but tells your processing program what to do with the vob (kinda like how your .avs files point to a video file (.rmvb, .d2v, .avi), when the .avs file isnt the video file itself)

your .d2v file should look something like this:
Code:

DGIndexProjectFile16
1
C:\wedding\VTS_01_1.VOB

Stream_Type=1
MPEG_Type=2
iDCT_Algorithm=6
YUVRGB_Scale=1
Luminance_Filter=0,0
Clipping=0,0,0,0
Aspect_Ratio=16:9
Picture_Size=720x480
Field_Operation=0
Frame_Rate=29970 (30000/1001)
Location=0,0,0,1931c9

f00 6 0 2048 0 1 1 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
f00 6 0 34816 0 1 1 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
f00 6 0 69632 0 1 1 d0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0 f0 f0 e0
...
FINISHED  100.00% VIDEO


i just looked at my .avs file, try using the function below instead:

DGDecode_mpeg2source("c:\wedding\VTS_01_1.d2v")
Back to top
View user's profile Visit poster's website 
gixo
Avatar

Fansubber
Gender: Female
PostPosted: Fri Nov 16, 2007 7:16 pm    Post subject:    Post Rating: 0 Reply with quote

I don't know why it's not working. I created a new d2v file and the txt looks similar to the one AkumaX posted. And still I receive an error for whatever reasons.

I used another encoding programm to create this file

http://sharebee.com/f5f3fc13

It looks ok, I guess. However with that programm you can't add subtitles or change the file size (it automatically creates it for you). So I don't know if I should use it. But it should be good enough for some raw uploads. Please tell me what you think about it.
Back to top
View user's profile 
AkumaXOffline
Avatar

Upload Addict
Joined: 19 Apr 2006
Total posts: 570
Gender: Unknown
PostPosted: Fri Nov 16, 2007 8:15 pm    Post subject:    Post Rating: 0 Reply with quote

Looks pretty good to me Smile It uses 2800kbps for XviD, which is pretty high however. Too bad you can't change the bitrate :\. Also, have you tried DGdecode_mpeg2source() vs mpeg2source()?

Last edited by AkumaX on Fri Nov 16, 2007 10:15 pm; edited 1 time in total
Back to top
View user's profile Visit poster's website 
gixo
Avatar

Fansubber
Gender: Female
PostPosted: Fri Nov 16, 2007 10:03 pm    Post subject:    Post Rating: 0 Reply with quote

Oh, wrong epression. I can change the bitrate. What I meant is that I don't really have an influence of the ending size result. I mean what you see is the highest quality I could get with that programm. So my original file was about 80Mb big and I encoded it to 33MB. So if I want an even higher quality it's not possible to do that with that certain programm. However I can create files with smaller size since it's actually differentiate betweent encdoding for TV, PC, mobile etc.

DGdecode_mpeg2source() vs mpeg2source???

I am not really good with avisynth commandos. Normally, I simply uses the codes which were given to me. I don't really try to different commando codes. So I don't really understand what you mean.

wah, encoding is soooo complicated.
Back to top
View user's profile 
BankaiOffline
Avatar

Fansubber
Joined: 15 Jan 2006
Total posts: 171
Location: Australia
Gender: Male
PostPosted: Fri Nov 16, 2007 10:18 pm    Post subject:    Post Rating: 0 Reply with quote

Basically AkumaX is saying to replace MPEG2Source with DGDecode_MPEG2Source in your Avisynth script.

_________________

Jiang Hu Projects // PM me or khmai_kandi22 to join Jiang Hu.
Back to top
View user's profile 
AkumaXOffline
Avatar

Upload Addict
Joined: 19 Apr 2006
Total posts: 570
Gender: Unknown
PostPosted: Fri Nov 16, 2007 10:22 pm    Post subject:    Post Rating: 0 Reply with quote

gixo wrote:
What I meant is that I don't really have an influence of the ending size result.


use a bitrate calculator! there's one included in the K-Lite Codec Pack (full)
or you can try this online version http://www.videohelp.com/calc.htm (select custom, divx)

gixo wrote:
DGdecode_mpeg2source() vs mpeg2source()???


give me your .avs file (you could even cut and paste it here) and i'll edit it for you to save it

gixo wrote:
wah, encoding is soooo complicated.


no its not Tongue
Back to top
View user's profile Visit poster's website 
Display posts from previous:   
Reply to topic    D-Addicts Forum Index -> Tech Support All times are GMT - 1 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum