[How to convert dvr-ms to divx 5 or xvid] - Computer Technology Forums

WE HAVE MOVED. Please see our NEW Computer Forums

Technology Forums | Technology Careers

11-21-2009: Sorry for the inconvenience. We finally upgraded to vBulletin 3 !!
See you there,
Larry




How to convert dvr-ms to divx 5 or xvid

Go to the Tech-Forums Discussion Home Page



Posted by: office politics

How to convert dvr-ms to divx 5 or xvid

[b]REVISED: I revised this tut to teach you how to manually cut out the commericals and compress with any compatable codec using VirtualDub-MPEG2[/b]

Tools needed
[url=http://www.thegreenbutton.com/community/shwmessage.aspx?ForumID=26&MessageID=113435]DVRMSToolbox[/url]
[url=http://fcchandler.home.comcast.net/stable/]VirtualDub-MPEG2[/url]

Open C:\Documents and Settings\All Users\Documents\Recorded TV to view your recorded tv files

Start DVRMStoMPEGGUI application from the start menu

Enter the input file in the appropriate text box

Enter the destination file in the appropriate text box. Don’t forget to give it the correct extension (mpeg).
**You can find the episode name by selecting the drv-ms file in my computer or windows explorer and reading the info in the status bar

In the profile drop down list, choose which action you want the utility to perform. I usually choose Convert DVRMS to MPEG.

Click Run. Wait for this process to complete. You will be prompted to save a copy of the log to a file.

Open VirtualDub-MPEG2.

Open the MPEG video file either by file | open video file or drag and drop the file onto the VDub GUI

It will take a few mins to parse the data.

**In VDub, F9 toggles show/hide input video stream.
**In VDub, F10 toggles show/hide output video stream.
**You can find show input//output settings by clicking options on the menubar

Only show your input video stream. it will be displayed on the left hand side.

At the bottom, there a control for the current frame of the movie. As you move this handle from left to right, the input screen will show the movie's video data. Move this handle to the beginning of your show to get ready to cut out any unwanted data preceeding your show.

Press the End Key. This will select all frames from the beginning to the current frame.
Press the Delete Key. This will delete the selected frames.

Move the time handle to the beginning of the first set of commericals.
**When your close to where the commerical begins, you should use the right or left arrow keys to move back and forth in the file. If hold alt and use the arrow keys, the cursor will move 50 frames forward or backward.
Press the Home Key. This will set a start point
Move the time handle to the end of the first set of commericals.
Press the End Key. This will set your end point and select all frames inbetween start & end.
Press the Delete Key. This will delete the selected frames.
Repeat for all commerial sets.
**After you mark the beginning of your last set, press ctrl and the right arrow key to take you to the end of the file. Press End & Delete.

Click video in the menubar.
Click Full processing mode.
Click video in the menubar.
Click Compression.
Click which codec you wish to use to encode the file.
Click Configure to change the encoding settings.

I'm using xvid at 700 kbps
here's some files i created, note the file sizes and duration
[URL=http://www.theimagehosting.com][IMG]http://images5.theimagehosting.com/scr.jpeg[/IMG][/URL]

When your done fixing your video codec settings get back to the VDub GUI.

Click audio in the menubar.
Click Full processing mode.
Click audio in the menubar.
Click Compression.
I click LAME MP3 at 192Kbps
Click ok

Click video in the menubar.
Click Filters.
Click Add.
Pick Deinterlaced and set it to blend together. This will blend any bad horizontal lines.
**I've seen forum posts where ppl also add sharpen and smoother but i have since stop using these filters.
Click ok in the filters dialog box.

Now, you're back at the VDub GUI again and we want to make sure the audio is sync'd with the video.

Since, you only have your input video screen on, press F9 & F10 to swtich only your output video screen on.

The time handle is prolly to the far right. Move it back just bit to a screen where people are talking.

Press Enter. The output video will start to play. Try to tell if the audio is early or late. If the audio and video isn't sync'd, click audio in the menubar and click Interleaving. Put a positive value, if the audio is early, Negative value if its late. Click Ok. Review the output video again.

Press F7 to save the file. Enter a filename and click save. A progress bar will appear. When its finished, play your file. Check the end for audio//video sync. Close the file in VDub and delete the uncompressed files.

[URL=http://server5.theimagehosting.com/image.php?img=dvrtompeg.JPG][IMG]http://images5.theimagehosting.com/dvrtompeg.JPG[/IMG][/URL]

[URL=http://images5.theimagehosting.com/1.74.jpeg][IMG]http://images5.theimagehosting.com/1.74.jpeg[/IMG][/URL]


editor notes: I wrote this tutorial because i am a proud owner of a media center laptop. You wouldn't believe how much BS is out there on converting these files. I did run across one app that would convert the files as a single function, but you have to pay for it. I'm hoping search engines will pick this up so others will see. Maybe I should add the word freeware, or did I?



Posted by: dangrush

I was wondering if you know how to convert a bunch of files at once and also if you know how to remove commercials from files that have already been converted to wmv. Also awesome program thank you it took like one minute to convert a dvr-ms to mpeg thats just awesome.



Posted by: dangrush

Sorry i forgot to add this to the last post but when it finished converting the file size was a little bit bigger than i thought it would be last time when i was using dvr 2 wmv it would take a 3gig file and make it a 700 meg file but this program took a 3 gig file and made it a 2 gig file when converting to mpeg is wmv smaller than mpeg.



Posted by: office politics

looks like ppl are using windows movie maker to edit wmv files [url=http://www.aximsite.com/boards/showthread.php?t=59899]see here[/url]

wmv is a compressed format. the mpeg format being outputted is mpeg-2, very little compression, if any.

i need to revise this tutorial actually. now im using dvrmstompeg to convert the full mpeg file. then i use a special version of virtual dub to manually cut out commericals and compress both video and audio data.



Posted by: office politics

bumped for the revision.



Posted by: office politics

i found an awesome new option in vdub. When you goto save your file by either File | Save as AVI or F7, under the file type drop down is a checkbox that says Dont Run Job Now; Instead Save to Job Control To Be Run In Batch. When you check this option, i guess the instructions on creating the avi are written to memory. Press F4 to open Job Control. You'll see your file added to the list. You can now load another mpeg and repeat.

This is wonderful cus before i could only encode one movie at a time. But now i can queue up a bunch in Job Control, click start, and run off to do whatever; usually work, ugh. When i come back, all the file in the queue are complete.



Posted by: jthicks

Got to this point in the tutorial:

~Now, you're back at the VDub GUI again and we want to make sure the audio is sync'd with the video.

I hit enter and I get this error response:

"no audio decompressor could be found to decompress the source audio format"

I've searched for other postings but haven't found anything specific. I had previous errors prior to this one...installed Lame MP3 codec and AC3 codec and problems solved. Now am to this point and stuck. Any tips you can provide appreciated! Thanks!



Posted by: office politics

find out what format the audio is encoded with. I would use gspot that comes with the kazaa codec pack.

[url]http://www.videohelp.com/forum/archive/t263771.html[/url]



Posted by: esossai

Hey csamuels

Sorry if my problem is really basic but i am new on this thing. I didn't even know i could record my shows using my Media Center.

Anyway i've used your "tutorial" and everything looks OK except for the fact i didn't have the xVid codec (wich i already download and installed) but the LAME MP3 the only one i found is not an installation package, so i was wondering how does VirtualDub will recognize i now have this MP3 encoder?

Last question i promisse i also notice that the other software you mentioned on the tutorial DVRMSToolbox also has some option to convert w/o comenrcials or even cur the comercials. Does that work or is that another reason that you preffer to go to manually remove them using VirtualDub?


I appreciate your help?
Thanks
esossai



Posted by: office politics

my first draft of this tutorial did use the cut commericals. I stopped using it because some files would not be cut in the right spots and the screen screws up where the cut was made (unprofessional look). Cutting the files with vdub is much more efficient and time consuming.

about missing LAME. The codec pack i install on my machines is the kazaa codec pack. But i may have had to pick up some along the way.

Vdub should have its own way of checking to find if LAME is installed.



Posted by: esossai

Yes it might have but i could not find where to make VDub find the codec.

Anyway what is the difference betwwen the Vdub you said to use and the one on their oficial website?

Also i did create one movie with the tut you mentioned and used t xVid codec but the regular MPAG Layer-3 for Audio the video was fine but the problem is that the size was huge... more than 1024 MB.

I don't know if you're able to send the codec to me or If i am not able to use LAME what you suggest?
Thanks
esossai



Posted by: office politics

[QUOTE][i]Originally posted by esossai [/i]
[B]Yes it might have but i could not find where to make VDub find the codec.[/b][/quote]

vdub should automatically list which codecs are available.

[quote]
Anyway what is the difference betwwen the Vdub you said to use and the one on their oficial website?
[/quote]

the orignal vdub could not load/open MPEG2 files

[quote]
Also i did create one movie with the tut you mentioned and used t xVid codec but the regular MPAG Layer-3 for Audio the video was fine but the problem is that the size was huge... more than 1024 MB.[/quote]

check the bitrates for each codec. my values are in the tutorial.



Posted by: office politics

this thread may help you get lame setup

[url]http://forum.videohelp.com/viewtopic.php?t=239448[/url]



Posted by: esossai

Actually yesterday i manage to get the kazaa-codec-pack like you mentioned and installed. The problem is that it unistalled the other divx, xvid and ac3 i had before but looks like everything is working as normal.
Now i will try with this new one and check the bitrates like you said and see what happens.
Thanks a lot.
esossai



Posted by: office politics

I've had this problem where i would have to manually edit the filename to include the episode name. I found a script online that changed the dvrms filename and tweaked it to my preference.

the script will prompt you for the directory containing the dvrms files. It will have a default set to C:\Documents and Settings\All Users\Documents\Recorded TV\. It will rename all dvrms files to the following syntax:

YYYYMMDD [AM/PM] HHMM - Show Name - Episode Name.dvr-ms

i chose this syntax so i can sort my files by filename and have them listed in the chonological in which they were created. You know how some shows will run over into the next time slot.

save the attached txt file as a .vbs and execute



Posted by: dennislizard

Hi
I followed your tutorial and everything seemed to go smoothly, but when i tried to play the final .avi file it crashes windows mediaplayer and media center, but works on nero showtime for some reason. thanks for your help.



Posted by: office politics

Did you preview the output?

any errors reported? check event log too.

try reinstalling codecs.



Posted by: dennislizard

yeah it was a problem w/ the codecs, thanks for the help.



Posted by: tech_pete

Digital media converter can [URL=http://www.topvideopro.com/software/video_converters/dvr-ms_to_wmv_avi_mpeg.htm]convert dvr-ms to divx, xvid, avi, mpeg, wmv, ipod, psp, dvd[/URL]
Free download it to have a try. It works for me.



Posted by: office politics

[quote]Get Full Version Only $39.95[/quote]



Posted by: ihateacid

heres a free+easy way to just convert[no editing out commercial, just converting]
1) Get a MPEG2 decoder[eg nVidia's PureVideo Decoder[$], get some freeware decoder]
2) Get [url=http://www.erightsoft.com/SUPER.html]Super[/url] Freeware
3) settings-> [eg] encoding to view on a pocketpc
output container: avi[pocketpc], MPEG4, MP3,
ffmpeg + DirectShow
any video size/audio size to suit ur needs
i usually go with 320x240 128kbps video, 22500frequency 1 channel 48kbps audio

WARNING: Super doesnt 'recognise' dvr-ms as a file when u try to add a file, but if u drag a dvr-ms file into the batch-processingarea at the bottom, it'll work. press encode

open with WMP, make sure video/audio sync/works, sync to pocketpc, voila...

nice freeware solution...



Posted by: office politics

nice first post



Posted by: b0nobon0

I used to encode dvds to divx using gordian knot but, I know nothing about avs scripting. I have a couple of questions about the conversion..

how can I set the file size, the number of pass and interleaving&avi-overhead?

how can I apply input setting as pal and Input pixel aspect ratio as pal non anamorphic (4:3) on vdubmod?



Posted by: office politics

for file size, nth pass, etc settings, click video | compression, select which codec, then click configure.

i would believe input settings would depend on the files you are loading. when i encoded dvds, id use dvd decrypter to create an mpeg and load the mpeg into vdub. g. knot makes it easier than this tho. but if you wanted a clip or to modify the mpeg, you could load it into vdub.



Posted by: ihateacid

another way:
you can mess around with GraphEdit

i stripped metadata from my dvr-ms and just made it to .mpg format(no encoding, just stripping), then i can use any program to import the .mpg and convert it to any format i want.(any program as ur dvr-ms metadata is gone and its in mpeg2 codec)

[so now, any program that opens ur .mpg is using the same codecs as ur .dvr-ms, but handling .mpg is basic in any program]

maybe i'll post my graph if anyone needs a sample.


<hence>
1)use MediaCenter to make a Best-quality dvr-ms file[3GB/hour]
b)use dCut to remove commercials(without encoding)
2)strip metadat from .dvr-ms to make it a .mpg(without encoding)
3)use ur favorite encoding program/codec to compress ur video(i choose H.264, takes about 1:1 encoding time on my computer, encodes out about 500MB/hour good-quality)

one thing about GraphEdit is that you probably could extract out the Line21(closed captioning) data from ur dvr-ms through the filters and use it as subtitle(im trying to make this work though :P)



Posted by: office politics

dvrmsToolbox is a frontend for graph edit. if you follow the link in the original post, they discuss how the application was developed. I've tried to use graph edit by itself but couldn't get it to work properly.



Posted by: khaag

[QUOTE][i]Originally posted by office politics [/i]
[B]for file size, nth pass, etc settings, click video | compression, select which codec, then click configure.

i would believe input settings would depend on the files you are loading. when i encoded dvds, id use dvd decrypter to create an mpeg and load the mpeg into vdub. g. knot makes it easier than this tho. but if you wanted a clip or to modify the mpeg, you could load it into vdub. [/B][/QUOTE]

OfficePolitics you mentioned as above that you use dvd decrypter to create an mpeg and load the mpeg into vdub. I haven't been able to figure out how to make a mpeg from dvd decrypter. How do you do that? And if not I must have miss understood you. Then I guess I would like to know how you make a mpeg of a dvd. If you could, please? I understand the mpeg in vdub part already from your tutorial in this thread. I have successfully turned a dvr-ms file into a xvid file now. Thanks for your know how and look forward to more. :D

Kevin



Posted by: office politics

its been too long for me to remember how i got decrypter to rip to mpg....but here a link that should help

convert dvd to mpg
[url]http://forum.videohelp.com/viewtopic.php?t=224833[/url]




Please Visit the Online Configurator, Email Hosting, Internet Marketing , Computer Schools , Software for Real Estate , AAOutlook , Search Engine Site