Forum Archive Home -> User guides -> Blue-Ray / HD-DVD / TS / DVD / AVI -> TO H.246 using MEGUI
Blue-Ray / HD-DVD / TS / DVD / AVI -> TO H.246 using MEGUI | ||||
| DJRumpy posted 2007 Jul 20 12:15 | ||||
| (Note: I'm in the process of uploading the guide images, so bear with me...)
Synopsis: Using MEGui to convert any DirectShow compatible video source to H246 (MPEG-4). With this guide you will be able to convert AVI, DVD, Blue-Ray, HD-DVD, Real Media, or any other video source that can be played via the DirectShow interface (the file plays in Windows Media Player). All of the tools listed here are open source or freeware. Tools Needed: MEGui ( http://sourceforge.net/projects/megui ) Note: there are many sub tools that are loaded under MEGui. Those tools are downloaded automatically the first time you launch MEGui. Suggested Tools: FFDShow Haali Media Splitter Media Player Classic VirtualDubMod (for AVI Sources) Note: If you are having difficulty reading your source files due to codec issues, you can try demuxing your source file using TsRemux. This can be useful if you want to grab a specific audio track from an HD source. Testing your configuration: In order to properly input Blue-Ray/HD-DVD video, your PC must be capable of using DirectShow to play back the M2TS or EVO files. To test this, you can create a simple AVISynth script with Notepad. If you know yours is working, you can skip this step. Your AVISynth script should have only one line. In this example I'm simply checking to see if the script will play back in Media Player Classic. If you are not familiar with AVISynth, I would suggest you check the GUIDES section as that is another topic. The script in my example needs only one line. This will allow me to verify my AVISynth install is working and that DirectShow can properly decode my source. Open Notepad and use the DirectShowSource command to point to our input file: DirectShowSource("C:\Media\Video\HP5_PHOENIX\BDMV\STREAM\00000.m2ts",fps=23.976,audio=false) Note that you could use the above example for your input, but it may not match your source, and of course the input file path wouldn't match your input. Lastly, the frame rate (FPS) may not match your source You would need to correct those three things for your specific input. In any case, once you have created and saved your sample AVISynth script with Notepad, save it as "test.avs". You can then open it with your player of choice. I prefer Media Player Classic. If your PC is properly configured, you should get video with no audio. Note that it doesn't have to play smoothly as your PC may not be capable of keeping up with 1080p video. Once you have verified that your PC is able to read the input via DirectShowSource, then you are ready to move on to the next step. If your PC will not open the file (you get filter errors with AVISynth), then you have Codec issues. This is not something that a generic guide can help you with as the possibilities are almost endless as to what you may have installed and what order your filters are using. You should post your specific issue in the main forum to resolve those issues. For my test bed, I installed Nero, FFDShow, Haali, Media Player Classic, and VirtualDubMod. There were no other codecs installed. I also disabled the Nero Splitter as it overrides the Haali splitter, preventing Haali from being used. This is an example of software causing conflicts ;) I've also been told by rhegedus that .EVO files from HD-DVD in particular can be problematic for DirectShow decoding. This is most likely due to the splitter that is being used. You can manually demux the file (the splitter would normally do this for you). In any case, If you are having problems with .EVO source files, use the following steps to demux your files and then use GraphEdit to create a DirectShow compatible file. Demux/Rebuild the EVO with EVOdemux to remove unwanted audio streams and subs then use GraphEdit: Haali Media Splitter ---> WMVideo Decoder DMO Once you have built that filter with GraphEdit, save it as video.GRF and make and AviSyth script with Notepad or a similar text editor:
and save that file as a .avs file. If everything has gone well, you should be able to play that .AVS file in your media player. Configuring MEGUI: (Version 0.2.5.1007) Ensure you have a recent build of MEGUI. If you are running Windows Vista, I would suggest you run MEGUI with full admin rights (Right click the Shortcut icon, select Properties -> Advanced Button -> Check 'Run As Administrator'). The program has a self updater, however under Vista, it will not allow MeGUI to launch all outside processes or restart properly. turning on the Administrator option will allow the Update process to function properly under Vista. The first time you Launch MEGUI, it should inform you that updates are available. Allow it to update and restart. It will also ask you to import various Video and Audio profiles. Make sure you Shift Select all of the profiles it offers so that you import all of them. You can also hold down the Control Key to select individual profiles to import if you know you only want specific profiles. The only item that will not update automatically is the Nero Digital Audio codec pack. You can download it for free from the Nero site ( http://www.nero.com/nerodigital/eng/Nero_Digital_Audio.html ) Once you have downloaded the files, place them in a TOOLS\NeroAACenc folder of your MEGUI install (the Tools folder will be created after MEGUI updates). Just create the NeroAACenc folder. You must also point your MEGUI configuration to that folder for the Nero audio. To do so, select TOOLS -> Settings from menus, and then the Program Paths tab. Click the button next to NeroAACEnc and browse to the "neroAacEnc.exe" executable.
MEGUI itself only accepts input from AVISynth files (.AVS). AVISynth in turn can accept input from a multitude of input sources. I assume the reason for this is just to ensure they have consistent input on a known interface. Makes troubleshooting and coding easier I suspect. No worries if your AVISynth impaired however, as it has a handy AVISynth Script Creator that will do the dirty work for you. Lets get started... Selecting your input:
To select your input, you must give MEGUI an AVISynth input file to work with. For this example, I'm working on a Blue-Ray rip. You can use almost any type of input however (DVD, AVI, TS, RM, etc). If you drag and drop a source video file onto MEGUI it will typically open the AVISynth Script Creator for you. Under Vista, the drag and drop doesn't function so you always have to browse to your source. For simplicity's sake, I would suggest you just select the AVISynth Script Creator manually from the menus.
The idea here is to browse to your MPEG, AVI, .D2V file, or whatever source your using with the AVISynth Script Creator. From that, an AVISynth script file will be created that will be used as input for MEGUI. Open the AVISynth Script Creator now from the TOOLS menu (Tools -> AVISynth Script Creator). Note that there are Keyboard shortcuts listed next to most of the tools if you like that sort of thing (Control + R). In the Video Input section, you select your input file. The Script Generator will accept input from any DirectShow compatible source, although the input is filtered to show only the following file types: Dgindex (.d2v ) files mpeg-2 (.m2v, .mpg ) .avi,.mp4,.mkv, .rmvb VirtualDub frameserver files You can also just enter an asterisk "*" to force it to show all files. Again I should note that you can technically use any input that can be read via DirectShow ( files like .m2ts, .ts, etc will work as long as you have the necessary codecs installed). This allows you to convert files like Blue-Ray, HD-DVD, HDTV, etc. I would suggest you get a good splitter like Haali Media Splitter. FFDShow has also made huge leaps in quality. It's an easy addon that will allow you to decode and play just about any media file type.
For my example, I'm going to browse to my Blue-Ray rip of The Fifth Element. The file has an .M2TS extension, so it's not an 'allowed' input type for MEGUI by default. However I have FFDShow installed and the Haali Media Splitter, meaning the file can be viewed with DirectShow. As you register files with a media player, they may show up in the list. Once you select your source file, assuming it is DirectShow compatible, it should show up in with a preview window. If you do not get a preview window, and you see an error, that would indicate your source isn't setup properly for DirectShow. Post your issue in the main forum in that case. If your input source is MPEG based (.MPG, .TS, .M2TS, .M2V, etc), and you do not have compatible codec installed, you can use DGIndex to create a .D2V file which can be read by MEGUI. DGIndex is one of the Tools that is updated/downloaded automatically by MEGUI. You'll find it in the tools folder of your MEGUI install. Just drag/drop your MPEG file onto DGIndex, (see the GUIDES section for help with DGIndex) and save your project as a D2V file. For my Blue-Ray project, I will use DGIndex to extract the audio track from my .M2TS and to read the file since it creates a .D2V file for me. Note I could simply use the .M2TS file directly for video if I chose to since I have FFDShow and Haalie Media Splitter installed. If your input source is AVI then you can simply select your AVI file directly. OPTIONS Tab: Once I select my Source .D2V file in the AVISynth Script Creator screen I see a preview window. The preview window size can be changed by dragging the window edges. Bigger sources makes the window unwieldy so I would suggest you make it small enough so that you can see the MEGUI interface underneath. Leave the preview window open as we'll be modifying some elements on the preview screen.
The Input DAR (Display Aspect Ratio) should be displayed. In my case, my input is 16:9. Directly below that is a checkbox for 'Clever (TM) anamorphic encoding'. This option allows you to simply encode the video as is without any drastic resizing. This is desirable so that you do not have to unnecessarily resize your video. The encoding process will embed the Aspect Ratio of your video when it is encoded so that it is stretched back to the proper proportions during playback. I would highly suggest you select this option. For the Anamorphic option, I always choose "Overcrop to achieve mod 16" to avoid any resizing at all. If your a bit anal about having any of your video cropped, you can choose "Resize to Achieve Mod 16". MEGUI will require that your video's dimensions are divisible by 16. Choose on of those two options (resize to mod 16 or overcrop to mod 16).
Below that, you'll see the 'Auto Crop' button. This function will easily remove any letterboxing that may be present. It will also remove any wasted black or noisy edges on your video. I would suggest you use it every time, even if your video appears to fill the preview with no letterboxing. (Before Autocrop)
(After Autocrop)
Once you have the preview properly cropped, then click on the FILTERS tab at the top of the MeGUI Avisynth Script Creator window. FILTERS Tab:
From here you should analyze your source video for interlacing and field order. This is important and not something you should skip. I can't say how many times I've encoded a project that seemed to be entirely progressive only to find a scene that was mixed. Getting the field order right is also important. Note that if your source is Anime/CGI then you should check the option "Source is Anime (isn't detected automatically)" before analyzing your material. Once the analysis is completed you can also choose what Resizing and noise filtering options you want. Since we are using the 'Clever Anamorphic Encoding' option, we won't be resizing anything. This option is applied only if you are actually resizing the video. If you selected "Resize to achieve Mod 16" on the Options tab then I would suggest you select Lanczos4Resize as your resizing option. That would give you the sharpest resize with the least loss of detail. I would suggest you always leave "Minimal Noise" selected, even for 'clean' sources. For older source material, I would suggest you select "Little Noise". Anything beyond that can have a noticeable softening affect which you may find unpleasant. Experiment here to find what you see as acceptable. This setting can have a very beneficial effect on Bit Rate usage even when the noise isn't immediately obvious to you. Below that you also have options for Mpeg2 Deblocking and Colour Correction. The Deblocking option is useful if your source has obvious macroblocking (this would sometimes be the case on previously encoded MPEG material like home burned DVD or SVCD's). The Colour Correction option ensures the colors are calibrated properly. I tend to avoid both of these filters as I have found little use for them. EDIT Tab The EDIT tab allows you to make any final modifications to your AVISynth script before saving it. For instance if you wanted to tweak some of the filter functions, resize it or add an additional filter, etc. You can also add preconfigured text that will always show up here. You'll find those options in your MEGUI settings. If you have no other modifications to enter, you can just click SAVE in the bottom right corner of the AviSynth Script Creator window. From here you will have a Preview Window and you main MEGUI screen with the Input Source filled in. You can also click the 'Show DAR' option to see what your output video will look like on playback (that options displays your output properly stretched out according to the Display Aspect Ratio). At this point you can close the preview window. Choosing your Video Profile:
Choosing a video profile may seem a bit daunting considering the options you are presented with. There are a few factors to take into consideration when you do choose one. What is your target player? What kind of processing power do you have to encode your media with? How much time do you want to spend? If you are encoding video for an iPod for example, you would want to choose an iPod compatible profile. If you have an older PC (non-dual core) then I would suggest you use CE-Mainprofile. If you have a faster CPU, or Dual-Core, then I would suggest you use the AE profiles. I always use AE-Maxquality or AE-Goodquality with a tiny bit of tweaking. For this example, lets choose AE-Goodquality. It's a good tradeoff for excellent quality although it requires high cpu specs. I would highly suggest you have decent CPU power (read: dual core) to use the AE profiles with the settings I'll be suggesting. Choose the profile from the Video Profile dropdown, and then click the Config button. Video Configuration Dialog: MAIN TAB
Turbo should be enabled Select Automated 2pass For the bitrate, that would vary depending on your source. If you are encoding an AVI or DVD, you can start with the bitrate as low as 700 or so. The default is 1000 which will work fine. If your not sure you can encode a small sample by adding a the following at the end of your AVS Script: TRIM(1000,6000) That will encode a portion of the beginning of your video. Just don't forget to remove it from your AVS script before doing your final encode. General guidelines for encoding bitrates: For typical XviD/DivX AVI's I would suggest you start with 600-700 kbps for bitrate For DVD Rips I would suggest you start with 800-1000 kbps for bitrate For Blue-Ray/HD-DVD/HD @ 720p I would suggest you start with 2000 - 3000 kbps For Blue-Ray/HD-DVD/HD @ 1080i I would suggest you start with 3000 - 4000 kbps For Blue-Ray/HD-DVD/HD @ 1080p I would suggest you start with 4000 - 5000 kbps (note that these are guidelines only...it depends entirely on your source video) Set the remainder of the Main tab as shown. ZONES TAB This tab allows you to specify custom bitrate zones much like MPEG-2 encoders used. I rarely use this. Just be aware that if you have a problem scene that seems to be getting excessive macroblocking you can tweak that 'zone' here. RC and ME Tab - This TAB has four subsections - Rate Control, M.E., Misc, and Quant Options
These sections contains the guts of the H264 codec. These settings also have a huge impact on the speed that your PC will encode your output. The items of interest are highlighted. Rate Control section Leave the Rate Control section at the defaults. M.E. Section Set your M.E. Algorithm to a minimum of Hexagon. If you have the CPU power I would suggest you set it on Multi-Hex. Subpixel Refinement: I would not suggest you go any higher than '6 - RDO (Slow)'. RDO Level 2 is EXTREMELY slow for very little gain. 6 - RDO is required to use 'RDO for B-Frames' on the Advanced Tab. I would suggest you select 6 - RDO. MISC Section Set your Keyframe interval to 10 times your output video's framerate. If your encoding video that is 23.976 frames per second, then set the Keyframe Interval to 240. If you wer encoding video at 29.97 fps, then set your keyframe interval to 300. For the Min GOP size, set this to the rounded value of your framerate (ex: for 23.976 framerate video set it to 24). Quant Options Trellis: Set this to 1 - Final MB. Optional set it to '2 - Always' but expect a bit more processing time Number of Reference Frames: Set this to from 5 to 8. This value can have a big impact on your processing time. The lower the number the faster the encode. The higher the number the slower the encode, but the better the quality. Note that values over 5 give marginal improvements. You can go as high as 16. Do not set this value lower than 3. Set the rest of the options as shown. ADVANCED TAB
The only options you should tweak here are on the Macroblock section, or the B-Frames section. For the macroblock Options, I would suggest you enable all of them for maximum benefit. In the B-Frames section I would suggest you set this to 5 for maximum benefit. Don't set this value lower than 2. If a setting of 5 is too slow for your configuration, try setting this to 3. The reason I suggest 5 is that using the B-frame mode to Auto typically won't ever use more than 5 B-frames. The remainder of the B-Frames options should be enabled and the B-Frame mode should be set to Auto. Note that RDO for B-Frames will not be available unless you selected "6 - RDO (Slow)" or higher on the RC and ME Tab. Configure the remainder of the Advanced options as shown. If you want to save these settings in a new profile rather than overwriting one of the default profiles then click the 'New' button and give your profile a new name. Otherwise, just click the 'Update' button and then click OK. This will put you back to the Main MEGUI page. At this point, you can begin encoding your video if you like, however I would suggest you also setup your Audio option at this point. For you audio, you can demux it using a variety of methods depending on your source material. For any MPEG-2 type material (.m2v, mpg, .ts), use DGIndex to save the audio. For AVI material, use VirtualDubMod and the STREAMS menu to demux your audio. Once you have an audio file, simply use the Audio Input button to select your audio file.
For the Codec select "ND AAC" if you downloaded the Nero Digital Audio codec. If not, select FAAC. For the Container select "MP4-AAC" For the Audio Profile, select NDAAC-HE-MultiChannel-128kbps if you downloaded the Nero files, or NCTAAC-HE-MultiChannel-128kbps if you did not download the Nero files. Click the CONFIG button to configure the selected profile.
Select the options as shown. If your audio file needs a delay correction, then place a check in th Delay correction box. If your audio has a negative ( - ) delay correction then place a check next to the minus (-) sign and input the number of milliseconds to offset your audio. IMPORTANT: If you decide to encode your audio, ensure it has a different filename than your video output!! You can end up overwriting your video with your audio file. The program does not double check this for you so be warned! If you want to keep your original audio without re-encoding, you can mux your output as an MKV file instead of an MP4 file. If you choose to do that it is not necessary to choose an audio file at this point. If your ready to go, click the ENQUEUE button in the Video section, and if you are encoding Audio, click the ENQUEUE button in the Audio section. Now click the QUEUE tab at the top of the Main MEGUI window to see your queued workload. Click START to begin the encoding process. When your encode is finished, you must then mux your audio in with your video. TOOLS -> MUXER -> MP4/MKV Muxer If you chose to encode your audio to MP4 then you should choose the MP4 Muxer. If you chose to keep the original audio, then choose the MKV muxer. Select your .MP4 Video file for the Video Input Select your audio input for the Audio Input section. If you have an OGG compatible chapter file you can select it here. MP4 files support chapter points. If you want to rip these from a DVD you can use DVD Decryptor and select the 'Chapter Information-OGG' option. I haven't figured out how to automatically extract them from Blue-Ray just yet ;) Last but not least, specify your final Output filename in the Output | Muxed Output section and click the QUEUE button. After a few minutes you should have a completed file. Note that you must have an MP4 compatible codec installed like Nero, or the freeware FFDShow to play back these files. | ||||
| rhegedus posted 2007 Aug 12 03:22 | ||||
| THANKYOU!!!
I've been wanting to do something like this for the past month, but wasn't aware of AviSynth. | ||||
| jawgee posted 2007 Aug 19 05:42 | ||||
| Thanks for the great guide, DJRumpy!
Speaking to the Hi-Def conversions, in your experience (or anyone else's), how do Bluray &/or HD-DVD encodes to x264 look? Can one get a near perfect conversion whilst saving gigabytes of space? In rough numbers, how long would it take to encode an average length Hi-Def movie to an x264 file with something like a Core 2 Duo processor? I think most of us who have a Hi-Def format player also have a nice HDTV to go with, so we'd want to preserve the best quality when converting to another format. Thanks, jawgee | ||||
| DJRumpy posted 2007 Aug 19 08:00 | ||||
| The encodes look excellent. I find h.264 to be much better with fine detail than the older xvid/divx codecs. For my blue-ray I typically rescale to a 720p resolution rather than keeping the 1080p simply for space considerations. I have a very large dvd collection that I've converted entirely to 264, keeping the original dvd resolutions. They look like 1:1 copies to my eye.
Most of your newer hd-dvd/bd disks will use MPEG4 (H.264). The older ones ones are more likely to use MPEG-2. They typically state what encoding method they use on the box. | ||||
| mike1 posted 2007 Aug 20 01:32 | ||||
| Sounds good.
Is it possible for me to rip a blue ray or hd dvd to my harddrive on a normal dvd drive using slysoft any dvd HD.If so, as i dont yet have a blue ray or hd disc is there any chance you could upload me a file so that i could try out your method Thanks mike1 | ||||
| rhegedus posted 2007 Aug 20 01:41 | ||||
No. You need a Blu-Ray or HD DVD drive.
:shock: :shock: :shock: No - the files are gigabytes in size. | ||||
| mike1 posted 2007 Aug 20 02:11 | ||||
| I know that the files are gigabytes in size but is there a chance that a small sample file could be given?
Thanks | ||||
| DJRumpy posted 2007 Aug 20 06:19 | ||||
| I'm not inclined to upload one, as anything I have would be copyrighted material. That said, I suppose you could always ask in the main forum for a sample of a file in the main forum, or just download a sample from the newsgroups if you can find one. | ||||
| MaxBlack posted 2007 Aug 21 10:49 | ||||
| ||||
| DJRumpy posted 2007 Aug 21 11:40 | ||||
| The source doesn't matter as long as you have the necessary decoders installed. MEGUI uses AVISynth and DirectShow to translate input sources to a compatible input format. | ||||
| FulciLives posted 2007 Aug 22 23:12 | ||||
| I was just fooling around with MEGUI a few days ago and I was following some guide that was OK but not that great. So your guide is most welcomed. Too bad I didn't notice it until just now LOL
I don't know if I had some "extreme" settings but my 3.2Ghz Prescott running WinXP Pro took something like 2 hours or less to do the first pass but then took something like 12 hours to do the 2nd pass. The source was a DVD Rip not a HD source. Time to get a faster computer I guess LOL - John "FulciLives" Coleman | ||||
| DJRumpy posted 2007 Aug 23 07:19 | ||||
| If you use a slightly easier set of settings..something like one of the HQ profiles instead of the AE profiles, you can get the second pass encode done in 4-6 hours on a decent'ish machine. I use the more extreme profiles since I upgraded to dual core (the first pass never takes long, even on an older pc).
If you choose you can always up the bitrate a bit and use a lesser profile to ease up the burden on the processor. h.264 is so much better than the older implementation of mpeg-4 in DivX and XviD that bitrate is easily tweaked to fit a DVD into very low bitrates with very little obvious loss in quality. I encoded over 300 dvd's and I kept pushing the limits of the codec to see how low I could go on the bitrate while retaining the full DVD resolutions. Typically, assuming the DVD was a nice clean source, 500-600 kbps easily do-able although I would occasionally catch a glimmer of compression artifacts in a scene here or there. That was with the settings maxed out. I typically stick with the AE-GoodQuality profile as a good balance on a dual core PC. | ||||
| jkleslie posted 2007 Aug 23 09:40 | ||||
| This is a very good guide and very similar to how I've been using MeGUI for the past few months. There are definitely some changes you made in the way you do things that I never considered, but can't wait to try...thanks!
Jon | ||||
| FulciLives posted 2007 Aug 28 00:11 | ||||
| @DJRumpy
How do you watch your H.246 encoded files? Do you watch them on a computer that is connected to a TV or do you use some sort of media streamer type player or what? Just curious is all. I can't see a "good solution" other than hooking up a computer to a TV and using a high end video card (such as one of the Nvidia cards that support PureVideo or the ATI cards with AVIVO). I realize H.246 is better than standard DivX and XviD but the nice thing about DivX and XviD is that I can burn to a DVD disc and play it back on my TV using a MPEG-4 capable DVD player. I'm not crazy about having to hook a computer up to my TV especially since I have one computer and it's nowhere near the TV *sigh* Sorry I realize I'm ranting a bit but I am curious as to how you watch your H.264 content. - John "FulciLives" Coleman P.S. I understand the Apple TV supports H.264 but do I really want to spend another $299 for a media streamer box? Still cheaper than a 2nd computer I suppose. | ||||
| DJRumpy posted 2007 Aug 28 10:55 | ||||
| I use a media PC. I can't suggest one enough. Although you can buy black-box media devices, the aren't as flexible. Depending on what you buy you may not even be able to upgrade it. I not only use my Media PC for video, I also use it for storing all of my DVD's, my music, as a backup center for my other in-house PC's, etc. Just the money I saved on burning DVD's more than pays for it..lol
It isn't necessary to spend hundreds of dollars on a video card, although you would want a decent card capable of 1080p playback, or if you don't have a 1080p TV, at least 1080i playback. I've used both nVidia and ATI. I prefer the nVidia simply due to their superior setup in the driver area. It doesn't take a lot of hardware to handle media playback. If you just have standard def tv, then just about any video card with Component or DVI/DHMI outputs, or worse case, even Composite output would work. I also bought an HD capture card for it so that I can turn it into a Tivo as needed. My current Media PC is a Core 2 duo (2.4Ghz), 2 GB of ram, XP, and 1TB of storage and an nVidia 7600 GS. My previous Media PC was an old hyperthreaded 3.0 Ghz P4 with 300 GB of HD space and a gig of ram using an old ATI 9800 video card. It didn't have any performance problems with my old one. I ended up replacing it due to a mother board failure. I don't think I could function without it at this point. | ||||
| rhegedus posted 2007 Sep 09 12:27 | ||||
| @DJRumpy
Have you tried this with HD-DVD .EVO files? I've ripped a HD-DVD movie and demuxed the main feature to VC1 using EVODemux but every time I point the AviSynth scrip creator at it MeGUI just chokes in a noise of hard drive activity. Any ideas? | ||||
| DJRumpy posted 2007 Sep 09 19:24 | ||||
| As long as you have hte necessary codecs installed, you shouldn't have a problem. You should be able to play back the raw files using DirectShow with something like Windows Media Player or something similar. The .AVS file should also be play-able as well. | ||||
| rhegedus posted 2007 Sep 10 14:31 | ||||
| Well, I've managed to get a video stream to VirtualDub but I'm still having problems with the audio (DTS) despite GraphEdit having both Cyberlink and Nero audio decoders in its filter list.
Anything I'm leaving out? | ||||
| DJRumpy posted 2007 Sep 11 06:34 | ||||
| You'll have to be more specific about your audio problems guy. "Still having problems" doesn't tell me enough ;)
You should also be able to play the DTS stream directly, just like the video. If you can't, then something is still wrong with your codecs. The guide assumes you have a properly and configured system. I'll try to help if I can, but you may have better luck in the main forum with your issues. | ||||
| rhegedus posted 2007 Sep 11 11:51 | ||||
Sorry - newbie mistake :oops: Both the original EVO and the rebuilt EVO (made from the demuxed VC1 and english dts) both play in CyberlinkPowerDVD. I've tried loading both the original EVO and the demuxed VC1 & dts files into meGUI: the EVO gives an AviSynth script error (DirectSHowSource: RenderFile, the filter graph manager won't talk to me) and the VC1 just chokes the program. I've got round this by making a graph in graph edit that uses the Haali Media Splitter to output the video of the rebuilt EVO into the WMVideo Decoder DMO, and using the resultant GRF file in an avs script. This avs can be dragged straight into VirtualDub MPEG and the video stream visualised :) However, the audio is causing problems. I can't get any graph edit filters to agree on a connection and the meGUI method gives:
Essentially, I need to get the audio in a usable form (wav, mp3 etc) from either the rebuilt EVO or the dts file. | ||||
| DJRumpy posted 2007 Sep 11 16:52 | ||||
| Your DirectShow setup still isn't working properly if your getting that error. Try FFDShow for the audio (make sure it's configured to decode it in the audio filter selection), and then use GraphEdit to write the DTS to an AC3 5.1 file using ffdshow. | ||||
| rhegedus posted 2007 Sep 12 14:06 | ||||
| I'll re-format and re-install XP this w/e to try and get things configured right from scratch. :idea:
This is my typical sledgehammer approach to PCs :wink: | ||||
| DJRumpy posted 2007 Sep 12 19:06 | ||||
| Try FFDShow first. If it doesn't work, you've only lost a few minutes, no? ;) | ||||
| rhegedus posted 2007 Sep 13 01:42 | ||||
| Just about everything I try results in a "GRF file does not have a compatible open audio pin" error. | ||||
| rhegedus posted 2007 Sep 13 02:16 | ||||
| To take a step back, should I be working with the demuxed dts audio file or with the remuxed EVO? | ||||
| DJRumpy posted 2007 Sep 13 03:33 | ||||
| Whether or not hte audio is muxed or not doesn't matter. The AVISynth script will filter remove the DTS audio from the input via DirectShow. You can do it either way.
Post your question in the main forum and see if anyone has any other suggestions. Reinstalling is a bit extreme and something more common on Windows 95/98 then XP ;) It's most likely just a codec issue which could easily be fixed with a little adding/removing of programs. | ||||
| rhegedus posted 2007 Sep 13 11:57 | ||||
| Thanks ;-) | ||||
| merkman posted 2007 Sep 13 19:48 | ||||
| Greetings all. I was very interested in this thread, as it's the first I've seen discussing converting HD-DVD files to iPod format. Since I bought Heroes on HD-DVD, I don't want to have to re-buy the show in DVD or other formats to convert and watch on an iPod touch.
So, starting at the top, I downloaded the applications as requested. And as best I can tell, I still don't have what I need to convert an HD-DVD file. I've ripped the HD-DVD to the hard drive with AnyDVD HD, gone to the HVDVD_TS folder, and tried selecting the 1GENESIS.EVO file with meGUI directly, AVISynth, DGIndex, etc. Looking in FFDShow, if there is a codec to configure for HD-DVD, I can't figure it out. Maybe someone else has an answer there. In any event, I'm crashing every program I try to open the EVO files with, and not sure how to proceed. Any help is appreciated. | ||||
| rhegedus posted 2007 Sep 13 22:28 | ||||
| Demux/Rebuild the EVO with EVOdemux to remove unwanted audio streams and subs then use GraphEdit:
Haali Media Splitter ---> WMVideo Decoder DMO Save as video.GRF and make and AviSyth script:
and save as .avs This avs should be accepted by VirtualDub, TMPGEnc etc. I'm still stuck on the audio. | ||||
| Soopafresh posted 2007 Sep 14 00:20 | ||||
| Wow, fantastic How-To guide, DJRumpy. :) Really clear and precise. My only suggestion is to change your title, since you're talking about h264 and not h246 | ||||
| rhegedus posted 2007 Sep 18 14:51 | ||||
Sorted! For anyone getting errors with the audio stream, try eac3to to get an ac3 file. | ||||
| mixja posted 2007 Sep 25 20:19 | ||||
| Great guide, haven't tried it as yet but I have a quick question related to Bluray/HDDVD movies.
Rather than re-encode the video, can you just mux the native streams without re-encoding into an appropriate format (e.g. MP4 for H.264/AVC or WMV for VC-1)? | ||||
| Scott R posted 2007 Sep 30 11:12 | ||||
| Thanks for this guide. I'm practically a total noob when it comes to ripping/converting movies. I did it over a year ago for the purpose of getting a DVD converted to a Tapwave Zodiac-friendly format, but since then haven't done anything. I've also been a long-time Windows Media Center user that stopped using it (due to flakiness and other issues) but recently bought a new HP Slimline Vista Media Center computer (refurb) for about $350. I own a standalone HD DVD player but have been somewhat jealous of my brother who has an AppleTV and has been ripping his standard-def DVD collection and streaming it wirelessly from his desktop to his two AppleTV units. Recently I played with the Yougle plug-in for VMC which allows watching streaming video through the VMC interface. One of the sources is DivX Stage 6. I was impressed that I could watch some 1080p trailers streamed from the internet (via 802.11g) so it all got me to thinking: Could I rip an HD DVD, compress/rescale it to 720p, and be able to stream it within my house to multiple computers via 802.11g? If I could do it with these Stage 6 trailers, it seemed like I should be able to. My 2.0 GHz Athlon 64 X2 3800+ only has 1GB of RAM and integrated 6150LE graphics. I know that the graphics chipset isn't quite good enough for playing 1080p source HDTV material, with many users reporting skipping, so I'm also thinking that compressing/rescaling would allow me to use my lowly computer as-is without having to upgrade components. Sorry for the long-winded intro...a few questions...
1) How does H.246 compare to DivX in terms of: file size and CPU/graphics horsepower required to decode? Based on my positive experience with playing streaming DivX trailers at 1080p, is it correct to assume that I should have as good (maybe even better) experience with H.246? 2) Do I need an HD DVD / Blu-ray player (like PowerDVD) in order to use the conversion process described here? I'm thinking I should only need that if I was going to watch the movies in pre-converted format. 3) Rough ballpark estimate: About how many GB's would a 720p 120 minute movie be? Thanks! | ||||
| Nightshiver posted 2007 Oct 11 15:04 | ||||
| I have a few problems with installing MeGUI. Here is a screen shot of the errors:
http://i231.photobucket.com/albums/ee80/whynotco/prob1.jpg It says that the paths are invalid. Well, how do I make them valid? Also, I don't know where to put the Neroaccenc. You said to put it in the TOOLS/Nero folder, but I don't have a folder called Nero or anything like that. | ||||
| DJRumpy posted 2007 Oct 12 15:24 | ||||
| Sounds like the PATHS config in your MeGUI is invalid. You can do one of two things. Either wipe your MEGUI install and allow it to configure itself fresh. Usually if I do that, just download the latest executable from the Sourceforge site, and rename the old directory, or if you want to try to fix our install; in the MEGUI options, look for the Paths configuration and ensure the paths you have configured there are correct. | ||||
| Nightshiver posted 2007 Oct 12 21:06 | ||||
| Thanks, it worked :) | ||||
| ROBERT74 posted 2007 Oct 17 19:14 | ||||
| Having problems importing VC-1 and eac3 to megui(after demuxing with evodemux).
I must be missing some codecs. Is there a list of codecs needed for these type of operations?I currently have ffdshow and haali media splitter. Thanks Robert | ||||
| OneStepAhead posted 2007 Oct 20 21:18 | ||||
| you will never be able to convert bluray/hdtv audio with this guide. It is much more complex then a few sentences. If you are skilled in en/decoding you can find out how to do it here: http://forum.doom9.org/showthread.php?t=125966 i will warn you this is not for the beginner. -OSA | ||||
| dontasciime posted 2007 Oct 24 06:54 | ||||
| I followed guide I have picture just can't seem to get sound.
Night at the museum is the br i have, I have loaded dgindex and tried all of the pids(i think) only when I select The DTS i get error in megui(start auido encdoing job) using nd aac container mp4-aac. The other one selects commentary. Anyone know for sure which PID i should be demuxing, thanks | ||||
| Baldrick posted 2007 Oct 24 07:18 | ||||
| dontasciime: http://forum.doom9.org/showthread.php?t=125966 | ||||
| dontasciime posted 2007 Oct 24 08:12 | ||||
| Thanks. I did click on the link provided by your self andonestepahead but cannot get eac3 to accept my dgindex demuxed .dts file
is this nero aac old 1.1.34.2 ? and not up to the job or is it a multi channel version as this guide says you can download it free from the link however i think they have changed the link or you cannot get it for free anymore and had to hunt a round for a version, maybe its down to that why megui using nero errors out. Any way I will leave it for now in here as I just noticed this is Sticky, sorry for posting in here | ||||
| Jebrew posted 2007 Oct 25 22:21 | ||||
| Wonderful guide, got me up and running in no time at all. Quick pointers for those having problems:
1. If you're not updated to Windows Media Player 11, you might not be able to get the VC-1 codec to talk to the filter graphs. (The "graph won't talk to me" was poping up on my system before I updated) 2. If you use the EVODemux, LOOK at the type of audio you're demuxing, if it's AC-3, you don't really need to convert to AC-3 (as you're already in it), just rename the file to a .ac3 extension (worked for Bourne Identity). Exciting...like when I started copying my DVD's all those years ago. Someday maybe I'll have the space to hold my HDDVD collection without recompressing like I've done with the DVD's. Combine a big NAS with a Media PC and you won't even have to leave your couch to browse/watch any movies in your collection! Freakin' sweet. Jebrew | ||||
| psychosmurf74 posted 2007 Oct 30 23:18 | ||||
| @DJRumpy:
Thanks for the great post, DJRumpy. I'm not new to video encoding but I am new to h.264 (still in the experimenting phase looking for the best quality; lowest size sweet spot) and I've been using a different tutorial that was much less detailed than yours which of course brings me to my problem. I followed your post to the letter (save for the bit rate) for the first time through because I wanted to see how it worked out and then do some tweaking on my own to see if I could decrease the size a bit, etc. Unfortunately, I think I screwed something up because I wound up with a backup of my Batman Begins DVD that was 2x the size of the original MPEG2 files: a whopping 12GB :shock: . I'm not quite sure how that happened: It's a standard DVD, no HD or Blu-Ray and the DVD was ripped with DVD-Decrypter and then stripped with Nero Recode (by stripped, I just mean I took out the extra audio, subtitles, menus, etc. so that I was left with only the main movie and audio). I'm in the process of recoding it again having started from the beginning but I'm encoding the video on my old machine and it takes about 17 hours to encode half an hour of video at these high quality profile settings so I figued in the meantime, I'd query the experts to see if I could garner any additional information. When I was going through the tutorial, I used the guidelines for DVD encoding and set the bit rate in the AE Good Quality profile to 1000 and all the other options as they were supposed to be. (I'm an admitted videophile ( :P )and rue the loss in quality from compression but I hate having my DVDs scratched even more :-x .) With the last tutorial, I just used the profile as is and used the Auto Encode button to specify the size of the output file that I wanted meGUI to produce. With your tutorial, there was no instructions on Auto Encode so following the given instructions, I encoded the video and audio from the enqueue buttons and then manually muxed the audio and video. I didn't see anything about restricting the size of the file. My guess would be that the size restriction would be the bit rate but I wanted to confirm because even if I halved the bit rate to 500; I'd still have a 6 GB MP4 which is the same size as the ripped DVD files. Does this sound right? The file played fine and the quality was great, but an HD DVD would play even better and only take a bit more space. This probably isn't enough information but do you have any idea what I might have done wrong? And by all means if there is more information that's required, please let me know and I'll post whatever you need; well anything shy of violating copyright :D . Many thanks, P | ||||
| ozzieman posted 2007 Nov 03 23:14 | ||||
| I am trying to gather all the necessary software but from what i can tell it looks like the neroaccenc software is no longer available from Nero's website. Is there any other place to get that? | ||||
| rhegedus posted 2007 Nov 04 02:08 | ||||
| http://www.nero.com/eng/nero-aac-codec.html | ||||
| maxpower2078 posted 2007 Nov 07 13:02 | ||||
Thank you for this guide, very detailed, I have followed it but am still having trouble with directshow recognizing the source, an EVO file from an HD DVD. I have all the appropriate programs installed, the splitter, ffdshow and all programs listed by megui including the Neroaac and avisynth, but when I go to the avisynth script editor and browse for the input, changing the file type to all as it doesn't look for .EVO files I get a message saying that directshow cannot display the file. What else do I need to do? This is on Vista home premium with megui up-to-date manually because I couldn't get the autoupdate to work, but it's up-to-date. I have Powerdvd installed which is the only program that will play the files. I have ffdshow configured to play avc/h264 files with the libavc dll but doesn't seem to work as the files won't play in media player either. Thanks for your help. | ||||
| rhegedus posted 2007 Nov 07 15:02 | ||||
| You need to use EVOdemux to split the audio and video streams. | ||||
| maxpower2078 posted 2007 Nov 07 15:58 | ||||
Thanks, I'll give it a try when I get home. Will I still have the problem with directshow with the streams seperated. Won't it still be an unrecognizable format, just a video by itself? | ||||
| rhegedus posted 2007 Nov 07 17:39 | ||||
| You can keep the streams separated and then remux them at the end. | ||||
| maxpower2078 posted 2007 Nov 07 19:45 | ||||
So I was able to split the streams up just find with EVO demux into a mpv and an mpa and subpicture files. I try to use the avisynth creator again an it says that for MPEG sources I need to use d2v creator and then use the d2v file instead. Well this is th error I get when trying to use the d2v creator.[/img] ![]() | ||||
| tomRiddle posted 2007 Nov 22 17:45 | ||||
| I really like these tutorials but sometimes I think, I'm too dumb ot some things are missing in the tutorial.
I installed everything as told but i get several errors. I installed the .net framework, avisynth, ffdshow etc but there are stil the same issues. I can't open a m2ts file with megui. I tried to open it from the Tools > Avisynth Script Creator but then there is stil the error: Avisynth script error: DirectShowSource: Renderfile, the filter grah manager won't talk to me. What the F....???? My Computer is a Dell Inspiron 9300 wiht an Intel Pentium M with 1,60 Ghz and my grafic card is an ATI radeon with 128 MB Ram. maybe that is important. It is really frustrating because I tried everything but I can't make my .mkv file. Please help me!!!!! THANX ALOT | ||||
| tomRiddle posted 2007 Nov 22 17:49 | ||||
| Btw. I try to convert a Blu-ray and the m2ts file is shown in the Avisynth script creator but I cna't open it.
Thanx | ||||
| abd640 posted 2007 Nov 23 04:36 | ||||
| is there is away to permeanet subtitle on the video(mp4) ??? | ||||
| Kartman posted 2007 Nov 29 13:18 | ||||
| h264 Encode.... well almost
I've ripped a m2ts file from an HD disc that I own... I've managed to get MeGUI to resize and reencode the beast as an MP4 stream. One issue... the origianl file was ~7mins in length but the ripped m2ts is showing up as almost 11mins in PowerDVD if I try to play it back before conversion. When converted, the new MP4 file plays correctly out to the original ending time and then seems to loop back to a part way point and then plays sucessfully the end... Help?!?!?! *EDIT* The original video clip is 7min10sec in length but if I take the m2ts file that AnyDVD lifted and drop it into PowerDVD Ultra, it shows a playback length of 10min47sec. This file contains an MPEG-2 stream from what I believe is a 1080p-24 encoded disc... Interestingly, Gordian Knot (after running through DGIndex to create d2v file) finds 10317 frames which is exactly 7min10sec at 23.976fps. But, MeGUI is finding 15512 which is exactly 10min47sec. Any ideas? is this a ripping issue or a problem with the codecs? Seems to be something with the AVISynth Script Creator (or at least the codecs it's employing)... I believe my install of PowerDVD is the latest which is where some of the codecs came from) *End_EDIT* | ||||
| tomRiddle posted 2007 Dec 02 12:46 | ||||
| So I managed avisynth to import the m2ts file. the problem was a windows format sdk 9.5 codec i had to install because the video in the m2ts file is wvc1 coded. and that codec was missing. after the very complicated install of the codec i could make avisynth to read the file an make an avs file to import it in megui. so far so good. i made all the adjustnments as told in the tutorial above. then i identified the PID of the audiotrack with in the m2ts i used with tsremux. i opened dgindex 1.50b13 and tried to demux the audiotrack. 1st it was not possible but after some errors i made it. WOW. i imported the file into megui, made the adjustments as told and put both, the video and audio in the queue. then i swited to the queue and hit the start button. After 14 hours (14 HOURS!!!!!!!!!!) i got an audio- and a videofile. when i put them together with the mxv muxer the audio is not synchron with the video. i tried twice and even took once the ac3 instead of the mp4 track. no changes. Any idea?? Thanx alot.
All around the net u find thousends of ripped blu-rays or HDDVDs. So somebody has to know exactly what to do. please help!!!!! | ||||
| bytre posted 2007 Dec 07 14:04 | ||||
I've stuck at the same spot with VC1 streams. | ||||
| sgtelias posted 2008 Feb 13 10:40 | ||||
| I am trying to encode a blue-ray video (Planet Earth) that I ripped to my hard drive using DVDFab HD. I'm having two weird and possibly related issues that I'm hoping someone can help with: (1) on the machine I'm using to encode the video, I have ffdshow tryouts installed. The pre-encoded video loads up fine in AviSynth and I get a working preview of the video in megui. However, when I try to play back the output from megui on the same machine I just get an hour of black video.
HOWEVER, when I open it on another machine that has regular ffdshow (non-tryouts) installed, the video plays perfectly. This wouldn't bother me so much except I'm wondering if it is a clue to the second problem I'm having: (2) audio and video are out of sync (and seem to get gradually more out of sync as the video plays) in the final muxed MKV. I have tried both compressing the audio using FAAC as well as using the uncompressed AC3 file I get from xport, but both are out of sync. Any ideas? | ||||
| DJRumpy posted 2008 Feb 13 10:49 | ||||
| The first issue is definitely codec related. I would say you need to stick with the codec that works consistently on the machine doing the encoding (the non-tryouts version) or possibly try a stable version of tryouts if your using a non-stable alpha or beta version.
The audio since issue is odd. Since it strays gradually, that would normally indicate a bad rip/corruption/dropped frames. It's also possible that it's some sort of copy protection issue. You might try posting that one in the main forum to see if anyone else has experienced problems ripping that particular blue-ray. | ||||
| Killerdog posted 2008 Feb 14 06:43 | ||||
| Hi,
i recently buy ratatouille in Bluray PAL (french version) and i'll manage to convert it to MKV (h264+AAC) and finally to ts for uploading it to my freebox HD (capability to read TS in H264+AC3 or H264+AAC into the HDD of the box) the reap is OK but the file isn't in the right order, i'll find the right order :
video PID 4113 Audio PID 4355 (french AC3) Audio PID 4352 (some files have only this audio track, intro and end credit) but now, how i can i'll make only one mkv for the video unless multiple mkv ? for some reason i dont' understand i can use DGindex, when i load the m2ts i have this error: No video sequence header found! Please help me. | ||||
| DJRumpy posted 2008 Feb 14 07:33 | ||||
| DGIndex cannot always properly detect the audio and video headers in a file. You can try manually selecting them, or try a newer version of DGIndex. Try posting in the main forum on this one.
Regarding your other question about multiple files; DGIndex will take those multiple files and create a single .D2V file. You will not have multiple MKV or MP4 files when your done. You should try a few basic DVD to AVI conversions to understand the basic process before tackling something like this. It is certainly not for beginners. | ||||
| Killerdog posted 2008 Feb 14 08:05 | ||||
| I Know DGIndex can handle multiple file, but there is not in a sequence.
When i try to set PID manually in DGIndex i have the same error, in detect PIDs: PAT/PMT; Detect PIDs: RAW, Detect PIDs: PSIP and manually Set PID. Always the same errors : No video sequence header found! Maybe there a protection, or something wrong. i try also to manually extract The video track (*.avc) and audio track (*.ac3) with "tsremux_0.0.20" and after join the multiple AVC file to a M2TS with "tsMuxeR_1.2.10" but i got also an error. Maybe i can make a mkv for each m2ts i have and after i can maybe join all mkv results in one, but i'me not sure it possible. and maybe i got some leak og audio glinch. Before i try this (it take a long time to do) i prefer to have your oppinions. Thanks | ||||
| DJRumpy posted 2008 Feb 14 08:24 | ||||
| I'm not sure what your saying about the order of the files. You can re-order the files in DGIndex once you load them in.
You can also try using AVISynth and DirectShowSource to load them directly into MEGui. This requires that you can play the raw m2ts files in something like Media Player Classic or Windows Media Player. clip1=DirectShowSource("c:\somefolder\00028.m2ts", audio=false, fps=23.976) clip2=DirectShowSource("c:\somefolder\00029.m2ts", audio=false, fps=23.976) clip3=DirectShowSource("c:\somefolder\00030.m2ts", audio=false, fps=23.976) Clip1++Clip2++Clip3 | ||||
| BDR posted 2008 Feb 20 04:57 | ||||
| sorry guys two things:
1) when I instal meGUI and then program will update, which video profiles I have to import? 2) I've tryed the test.avs with media player classic but I can't see the movie but only a grey image. also when I open with meGUI, so I can't crop... PS: just a question which version of FFDShow have you installed? PPS: I have read that normally Bluray disc has only one file m2ts that contain the entire film, but in the film that I have there are 5 files... | ||||
| DJRumpy posted 2008 Feb 20 06:09 | ||||
| These question's aren't related to my guide at all. They are basic questions you should ask in the main forum.
1) Import them all. It will hurt nothing to have them available 2) Depends on what test.avs has in it. If you don't get an error in media player, then you probably have a codec issue Blue Ray disks are just like DVD's in that respect. There will be multiple M2TS files. I haven't found one yet that had only a single file. | ||||
| BDR posted 2008 Feb 20 06:52 | ||||
In fact that was my idea... at the same time the problem is that with powerDVD I can see the movie... and media player and meGUI didn't tell any error... so I have to check thanks | ||||
| DJRumpy posted 2008 Feb 20 07:07 | ||||
| When you say you can see the movie, do you mean by playing the M2TS file directly? | ||||
| BDR posted 2008 Feb 20 07:10 | ||||
yes... and I can also see with Nero show time the only problem is that I see the movie "jerky" (Sorry I don't know if is correct this word) but I think because my monitor resolution is 1680x1050 but i'm not sure | ||||
| DJRumpy posted 2008 Feb 20 07:19 | ||||
| I wouldn't worry too much about the jerky video. If your cpu and graphics card aren't up to snuff it can make 1080P playback jerky.
It sounds like your codecs are in order and working properly. You should be able to use AVISynth to serve the video to MEGUI. | ||||
| BDR posted 2008 Feb 20 07:24 | ||||
I know, hopefully I have intel quad core and nvida GeForce 8600 GT :D Tonight when I go back home I will try again... maybe I set something wrong in meGUI or I don't know, also because if some codecs are not good I don't know where find :D About AVISynth I have the same idea i'm able to use it but doesn't work and I dunno understand why... | ||||
| DJRumpy posted 2008 Feb 20 07:30 | ||||
| You did create the D2V file with DGIndex with the M2TS as your source file right? You should be serving up the D2V file in AVISynth if possible, not the M2TS direcly. | ||||
| BDR posted 2008 Feb 20 07:52 | ||||
I will try, because I put the M2TS directly as you said, that is possible to use also M2TS file directly | ||||
| BDR posted 2008 Feb 20 11:44 | ||||
| I have also an error when I open, in megui, d2v creator and select the M2TS file then load the project and then start:
No video sequence header found! No data.check your PIDS What does it mean? | ||||
| DJRumpy posted 2008 Feb 20 11:52 | ||||
| That means that the DGIndex cannot properly detect the PID that the video and audio are stored under. You can try specifying it manually, but you will probably have to use DirectShowSource and AVISynth instead. I've had very hit and miss luck getting DGIndex to work if it can't detect them itself. You can also check to ensure you have the latest version of dgindex. | ||||
| BDR posted 2008 Feb 20 12:24 | ||||
| I have used DGIndex 1.5 RC2 the last version and I have the same error...
You said use directshow and avisynth instead, HOW? :) Thanks a lot | ||||
| DJRumpy posted 2008 Feb 20 12:34 | ||||
| look at the first few pages of the guide. It will show you an example of a DirectShowSource() command. | ||||
| BDR posted 2008 Feb 20 15:03 | ||||
| Sorry another question... from your guide in OPTIONS TAB you have AVI PROFILE ---> DEFAULT.
I don't have anything and also I don't have the possibility to select anything.... why??? | ||||
| DJRumpy posted 2008 Feb 20 15:22 | ||||
| You can create a new Profile if you haven't defined one yet. Just click the CONFIG button, and then click NEW and type in DEFAULT for the name. You can accept all of the defaults and just click OK to save your default profile. | ||||
| BDR posted 2008 Feb 20 16:56 | ||||
| Sorry DjRumpy I have another question :)
In your guide you said: General guidelines for encoding bitrates: For typical XviD/DivX AVI's I would suggest you start with 600-700 kbps for bitrate For DVD Rips I would suggest you start with 800-1000 kbps for bitrate For Blue-Ray/HD-DVD/HD @ 720p I would suggest you start with 2000 - 3000 kbps For Blue-Ray/HD-DVD/HD @ 1080i I would suggest you start with 3000 - 4000 kbps For Blue-Ray/HD-DVD/HD @ 1080p I would suggest you start with 4000 - 5000 kbps but is only this step that I have to change for the resolution or I have to change something in RC and ME and Advance TAB? Thank you so much... | ||||
| DJRumpy posted 2008 Feb 20 18:38 | ||||
| The guide lays out the settings for each tab, including the RC and ME tabs. If you are encoding a DVD it is not necessary to change the resolution anywhere. It also gives suggested settings.
Look for the section titled: RC and ME Tab | ||||
| BDR posted 2008 Feb 21 05:51 | ||||
| ok ok thanks I was talking about BLURAY ;) | ||||
| DJRumpy posted 2008 Feb 21 06:48 | ||||
| Same thing. If your encoding a video that has an embedded aspect ratio, it is not necessary to resize it like you might with an AVI file. | ||||
| tdashmike posted 2008 Feb 21 10:17 | ||||
I am getting the same problem and choosing it manually in dgindex it still says the same thing. I don't understand how to use DirectShowSource() to get an d2v file. I've read your tutorial. | ||||
| DJRumpy posted 2008 Feb 21 11:03 | ||||
| Then post your issue in the main forum. Specifically that your trying to create a D2V file with DGIndex from a blue ray M2TS file and your getting an error. | ||||
| BDR posted 2008 Feb 21 12:02 | ||||
| I solve the problem... installing meGUI version 0.3 now the problem that I have faced is the BD+ protection... | ||||
| Sysmic Wave posted 2008 Feb 22 13:17 | ||||
| Hey, thanks for the guide. It's great. I'm just having a little problem with sync.
The final muxed file i get is off from the start and when i ran the conversion again, i removed the mux stage and played each file individually. Both files at the beginning (AVI video and MP3 audio before conversion) were 3:07 long. After conversion the audio was still 3:07 but the video moved to 3:15. I checked framerate and gop and modified the value in those (10 times and to the nearest whole number) but no luck. Any ideas Cheers | ||||
| GeeForce11 posted 2008 Feb 24 11:27 | ||||
| Great Guide ! :thumbs_up:
You were dealing with AC3 audio tracks of the blu-ray ripped m2ts file. What steps do you recommend when dealing with DTS audio tracks? In case of a blu-ray disc's DTS track I managed to encode with VirtualDubMod to XviD/DTS(direct audio stream copy) avi file the AnyDVD HD/BD ripped m2ts file, that's playable with any multimedia player. To further compress the file with approx 3GB audio stream (90min movie), I encoded with AutoMKV to XviD(direct video stream copy)/AC3 avi. Are there other easier/simpler/faster conversion options? In case of DTS track I tried to convert with TsRemux m2ts to ts and AutoGK to encode the ts to XviD/MP3 avi, but didn't work, AutoGK gives and error with no video header detected. What could be the problem? In case of AC3 track I was able to convert in one step the blu-ray ripped m2ts file to XviD/MP3 with MediaCoder, but it cannot handle the DTS track. | ||||
| BDR posted 2008 Feb 25 08:46 | ||||
| Sorry guys just a question anyone knows how I create 1 mkv or 1 M2TS file that contain the entire film? Because I have a Blu ray disc that contain 4 M2TS file and all of them are part of film... so I wanna create just 1 file mkv or M2TS that contain the all film...
In other words I wanna connect the 4 files that are part of the film and at the end create 1 file without any problem with video and audio Sorry if my explanation is strange :D | ||||
| GeeForce11 posted 2008 Feb 26 11:32 | ||||
| I haven't tried it yet, but maybe you can append the movie files in VirtualDubMod if numbered correctly. | ||||
| eao1 posted 2008 Feb 26 16:46 | ||||
| hey thanks alot for the guide :D
I have followed your guide i have encoded a hddvd "doom" i have it as an mp4 file i have used eac3 to extract the audio the two files are the same lenght mins and secs as single files. but when i mux the files with mkv muxer it is still the same length but the two are a few secs out of sync and the video skips a bit at the start but iv tried to use the delay option but it hasnt done anything can u tell me is there a way to fix it | ||||
| Lovepeaceguru posted 2008 Mar 01 07:13 | ||||
| Thanks very much for this very helpful guide.
I am working with Blu-Ray rips which I have converted to ts files with TSremux
Surely it's the target file that this bit rate is relevant to? E.G. I am converting one file to SD (720 x 400). I need to set bitrate to 1 Mbps don't I - not 5 Mbps? After completing this SD conversion I intend to try converting all my Blu-Ray rip/ts files at full 1920 x 1080. I can see that then I will need to specify 5 Mbps. i am hoping to get these typically 30 GB files down to say 10 GB with no apparrent loss of quality. Am I talking sense - or nonsense? | ||||
| eao1 posted 2008 Mar 01 15:41 | ||||
| OK sorry ive just looked into it and after the encode with megui it seems it has dropped some video through the encode iv done it twice and each time the same outcome, it skips a bit of video at the start and its the same part on the two files i have encoded any ideas why????????????? has any1 else had this after they encoded their files??????????,
my source is a .EVO file from a hd dvd rip also the rip is fine as this is what i compared the encoded file against. | ||||
| BDR posted 2008 Mar 02 12:44 | ||||
| Just a question to DJRumpy now my new Blu ray is not MPEG but AVC so Could I do in the same way or I need other programs?
Thanks in advance... | ||||
| rhegedus posted 2008 Mar 02 14:29 | ||||
| Same way. | ||||
| BDR posted 2008 Mar 02 15:07 | ||||
| And sorry guys I'm facing with another problem... my blu ray film is divided in more than 1 file so I have combined them through binary copy and now I have 1 file... So now I'm trying to remux this file with TsRemux but the program said that is impossible... so I have found on the web that the problem is because this blu ray contain Lossless PCM Audio Stream and TsRemux maybe is not able to remux... anyone has idea on how to solve the problem? or I can remove this PCM Audio from tsremux? thanks in advance | ||||
| rhegedus posted 2008 Mar 02 17:32 | ||||
| What are you trying to do?
You can just treat the two m2ts files separately, encode and then join. | ||||
| paulyn8r posted 2008 Mar 04 14:23 | ||||
| I'm pretty used to using MEGUI to convert VOB files ripped from standard definition DVDs into MP4 files using h264, but now I've been trying to use MEGUI to convert my Blu-Ray titles. I have successfully ripped using AnyDVD and played the M2TS files in WMP 11 (I have ffdshow and the Hali media splitter), so I think I don't need to create the AVS files manually. I am not too familiar with AVS scripts, but I used the reference script in this "How To" guide play it with WMP11, but it creates an error that required WMP to close when I try to run the script.
I have had no success serving up the M2TS files directly into AVISynth script creator in MEGUI (I get an error that requires MEGUI to close). Additionally, I have tried loading them into DGIndex but it either doesn't find the header files or cannot find video/audio data in any of the streams. I have also tried using TSRemux to convert the M2TS video stream into a TS file. I think I have been successful there, but again I can't get those to work with MEGUI. I am at my wit's end, can anyone help? | ||||
| rhegedus posted 2008 Mar 04 15:07 | ||||
| I don't think ts files work but I know m2ts files do.
Try writing the script manually in notepad and save it as an .avs file:
Drag this into VirtualDubMod - if it works, it should work with megui. | ||||
| paulyn8r posted 2008 Mar 04 18:39 | ||||
| Ok, so VirtualDubMod was able the read the file, but MeGUI still does not. I am currently trying to use VirtualDubMod to convert it to an AVI, but the projected filesize is 129GB for one movie and is going to take 8 hours on my quad core machine. Then I will have to convert the AVI to MP4 with MeGUI anyway... but it is worth a shot. | ||||
| neuron2 posted 2008 Mar 04 21:37 | ||||
For MPEG2 video use DGIndex. For AVC, use DGAVCIndex. If you have an issue, please send me an email with a link to your source file sample: neuron2@comcast.net Thank you. | ||||
| paulyn8r posted 2008 Mar 04 21:58 | ||||
| Isn't an M2TS an mpeg-2 stream? And therefore DGIndex should work. How can I tell if it's AVC?
Incidentally, I think I under estimated the file size from VirtualDubMod by a factor of ten...I was way off. It quit converting the M2TS file to AVI when I ran out of hard-drive space (it was 380GB for about 45 min worth of Blu-Ray video only). So that is pretty impractical. It seems to me that there are two possible problems: 1) DGIndex can not create a D2V file for MeGUI to use because DGIndex is not finding the video streams in the M2TS file. 2) MeGUI isn't able to directly read the M2TS file when using AVISynth Creator tool even though my DirectShowSource seems to be working. If you can help with either of those two problems, please reply. | ||||
| neuron2 posted 2008 Mar 05 07:15 | ||||
| M2TS is not necessarily MPEG2.
When you load the M2TS into DGIndex and then do Stream/Detect PIDs: PAT/PMT what do you see? If you see a video PID listed, try highlighting it and then clicking Set Video. Do this with DGIndex 1.5.0 RC3: http://neuron2.net/dgmpgdec/dgmpgdec150rc3.zip The best way is for you to provide a link to a chunk of your M2TS so that I can duplicate your issue and debug it directly. | ||||
| Lovepeaceguru posted 2008 Mar 06 08:53 | ||||
| m2ts files can be MPEG2, AVC or VC-1 with audio in DTS, DTS HD Master, Dolby Digital, Real HD and many others. | ||||
| SS_Alternative posted 2008 Mar 06 11:31 | ||||
| Ok i followed this thread, and i see we have a new version of dgindex.
I tried it and loaded a 15 GB m2ts file in it. and i hit the stream tab and did what neuron said. I see a list popping up but i dont see any vid pid..... Here is a pic
So what now ??? | ||||
| neuron2 posted 2008 Mar 06 18:31 | ||||
| OK, so it's apparently not MPEG video. But just to be sure, also do Detect PIDs: Raw and tell me what you get.
If no MPEG video is found that way, then do the same thing in DGAVCIndex to see if it is AVC video: http://neuron2.net/dgavcdec/dgavcdec100a18.zip If it's VC1, you're going to have to use DirectShowSource() with a VC1 DirectShow decoder such as Sonic. As I said, if you give me a link to a chunk of the transport stream, I can more easily tell you what is going on, and you'll save a lot of time going back and forth. | ||||
| SS_Alternative posted 2008 Mar 06 19:03 | ||||
Ok neuron i tried what u said and i get the following image right is dgindex and left of it is dgavc and so on.
Ok ive uploaded a 50 MB m2ts file here for you. Once you've got it lemme know http://fizzyfiles.com/files/other/part0018.m2ts | ||||
| neuron2 posted 2008 Mar 06 21:37 | ||||
| Your results confirm that it is neither MPEG nor AVC, which leaves only VC1.
I downloaded your M2TS and demuxed it successfully with both xport (xport -h part0018.m2ts 1 1 1) and Elecard XMuxer Pro. Then I opened the resulting VC1 elementary stream with GraphEdit (either one) and was able to play it there. Here is my graph:
I could also play the elementary video stream in Media Player Classic, which identifies the video as WVC1 as expected. So, you should be able to serve the video through Avisynth as long as you have a good DirectShow VC1 decoder, such as Sonic Cinemaster. | ||||
| ironhorse7 posted 2008 Mar 19 18:35 | ||||
| I know you are probably sick of hearing this, but awesome guide. Second, my video encode ends up being like 15 minutes longer than the original. So believe it or not the audio doesn't mux well with it. Any ideas? | ||||
| rhegedus posted 2008 Mar 20 01:33 | ||||
| You're using the wrong frame rate to encode. | ||||
| ironhorse7 posted 2008 Mar 20 09:19 | ||||
| Thanks I will give it a try. I think when I selected NTSC for the DAR I just figured the frame rate would be 29.97. | ||||
| cpajoe2001 posted 2008 Mar 20 15:31 | ||||
I am having some issues and I am hoping someone can point me in the right direction. I've read through this entire post and I am trying to Convert the movie Four Brothers from HD-DVD to h264. I've copied the movie to my hard drive using DVDFab HD. I've then gone into EVOdemux and loaded the feature1.evo and then took out everything but the DTS audio stream so no subtitles or anything then i rebuilt it and got one large file FEATURE_1_MERGED.rebuilt.EVO I then opened up GraphEdit and added the filter Haali Media Splitter pointing it to the rebuilt EVO file and added the filter WMVideo Decoder DMO . I connected the Haali video to the WMVideo in0 and saved the graph. I then created the avs file and inside it put
I figure this is a codec issue but what else do I need installed? I have MEGui, FFDShow, Haali Media Splitter, Media Player Classic, VirtualDubMod, AVISynth, graphedit, eac3to, PowerDVD 7.3 Ultra, and Nero8 please help with any thoughts. | ||||
| rhegedus posted 2008 Mar 21 12:59 | ||||
| The Ultimate Conversion Guide HD-DVD to Blu-Ray/AVCHD
Kudos. | ||||
| ironhorse7 posted 2008 Mar 22 12:21 | ||||
| It Works! Thanks all for your help! | ||||
| duff916 posted 2008 Apr 04 17:00 | ||||
| When I encoded my first video I had a window that said "Playing Through Movie" or something like that. This was before it went on to the "first pass" of my encoding process. I also think I may have selected the "Queue Analysis Pass" but i'm not sure. Anyways, now i'm working on my second video it doesn't do the "Playing Through Movie" process unless I click on the "Queue Analysis Pass" option and then "Enqueue" for my video. But when I do that it comes up with the "Playing Through Movie" and the "First Pass" window at the same time.
So my question is... is this normal and do I need to use the "Queue Analysis Pass" option in the first place or just select "Enqueue" and go to the "Queue" tab and start my encoding process with just the "First Pass" and "Second Pass" jobs listed. Because like I said before my first video had the "Playing Through Movie" job and then it went to the "First and Second Pass" and my video looked amazing. BTW: I'm encoding using Xvid as my codec with no audio Thanks for any help guys, duff916 | ||||
| djsmasm posted 2008 Apr 20 05:39 | ||||
| hello all
I have problems when I try to open the main movie m2ts file of a bluray folder in aviSynth script creator..... what can be wrong? thanks! ![]() | ||||
| eao1 posted 2008 Apr 25 18:32 | ||||
| Hi,
eventually i found what my problem was i just thought i would share it incase any1 else was having a similer problem to me, I was having major sync problems with audio and video. changing audio delay wasnt helping atall so i had a look around and found that i had to add "convertfps=true" to my avs script before i encode video and wallahh sorted it worked for me. cheers :wink: | ||||
| duff916 posted 2008 Apr 25 22:51 | ||||
i've been having audio video sync problems myself. my problem is that the audio and video plays fine for the first half but the second half slowly gets out of sync. i'm gonna have to give "convertfps=true" a try... i hope it works for me thanks for the info BTW: do you mux your audio in manulay after the video encoding is done? or do you have as one of your jobs in your queue? | ||||
| eao1 posted 2008 Apr 26 13:25 | ||||
I have encoded both seperatly then muxed together at the end with the mkv muxer tool in megui,it was still out but i was able to fix it by just muxing them and playing the muxed file in media player classic,adjusting the audio time shift to get it right and then using the time shift figure in the audio delay section in the mkv muxer tool in megui and muxed again resulting in a synced file,the audio and vid were only out by -300 ms,without using "convertfsp=true" i was up to -15000 and still wasnt getting anywhere i guess it was dropping frames during the encode anyway here is wat i done- after i use the "create avisynth script" tool in megui i opened up the avs script it just created and added the "convertfps=true" here is my script DirectShowSource("C:\Documents and Settings\Compaq_Owner\Desktop\the one.avs",fps=29.97000002997,convertfps=true,audio=false) #deinterlace #crop LanczosResize(1280,720) # Lanczos (Sharp) Undot() # Minimal Noise ConvertToYV12() hope it works for ye | ||||
| stemmurphy posted 2008 May 01 06:04 | ||||
| Hi all
I am pretty new to this so sorry if this is a stupid question. I have followed all the steps and everything works perfect up to the point when I am in AVIsynth script creator and am in the filter tab section. When I click analyze to scan my source video for interlacing and field order, it starts scanning but then freezes the process approx 98% of the way through. Any ideas why this is happing??? The first time I tried it I got an error as I was missing a tivtc.dll which I downloaded and copied to my avisynth plugin folder, then it would scan but freezes just at the end of the scan process. Thanks in advance Regards Stephen | ||||
| khav posted 2008 May 05 14:39 | ||||
Hi guys, I'm having a bit of trouble with the guide. I've got my EVO file, merged and rebuilt, and I can get it to play the video in MPC using a filter graph and a simple AVS script (DirectShowSource(filename.grf, fps, audio=false)) but I still can't get MeGUI's script creator to work. When I try using the EVO file, it says
and when I try the GRF file it says
I know I've got the filters (for the video at least, I'm not worrying about the audio yet) since it plays in MPC, but I'd like to be able to use the script creator. How would I go about setting up the filters to be able to use EVO files for this? Or should I just bite the bullet and learn to make my own avs scripts? Thanks in advance. Edit: I don't know why I didn't try this before, but using the .avs as the input file for the script creator seems to work. Is this okay, or will it cause some kind of problem? | ||||
| krbo posted 2008 May 08 08:28 | ||||
| this guide will produce non DXVA compliant video and should be updated.
To use hardware acceleration on modern GPU, 1080 video should be L4.1, max 4 ref. frames and 3b frames otherwise say goodbye to accelerated video on low CPU and go search for some quad cores... detailed elaboration:
| ||||
| FulciLives posted 2008 May 08 11:53 | ||||
Is that the same for proper PS3 playback as well? Also is there any different in settings for PS3 vs XBOX 360 or is there one set of settings that will work equally well for both consoles? - John "FulciLives" Coleman | ||||
| krbo posted 2008 May 08 13:56 | ||||
yes, general conclusion, investigation and standard (from ATI to Cyberlink) show these are required for every acceleration using hardware (video cards, chipsets, consoles, popcorns...) people say that "ps3 xbox" profile for MeGUI is fine, just check ref. frames, level and b-frames. Biggest enemy is number of reference frames - if HW acceleration is required never more then 4 frames ! My testing on AMD780G chipset (Radeon HD3200) confirms that and in the avsforum thread you can read that even warez scene recognized that and start release clearly marked "L4.1" profile H264 videos. All that goes to 1080 , 720p material is less problematic but should conform to the same requirements. And I forgot to say that guide is very nice, just shoud be updated with the latest discoveries in h264 playing. | ||||
| FulciLives posted 2008 Jun 03 00:03 | ||||
| I recently bought the USA NTSC DVD Video of Tim Burton's SWEENEY TODD. I guess for no good reason other than it is my newest purchase I decided to convert it to a Sony PS3 friendly MP4 format using this guide. I tried the guide once before but really didn't do much with it ... so this is really my first time going from start (DVD Video) to finish (MP4 file).
There is a profile in meGUI called, "PD-PS3-Xbox360", which is what I used. I made no changes to this profile other than setting the video bitrate to 1500kbps. I used the 5.1 AC-3 audio and converted it using the same exact method in the guide. Then used the built-in MP4 mixer to mux it together into a MP4 file. It looks amazing good. The resolution was left at 720x480 with no cropping yet it does play back at the correct aspect ratio on the computer and on my Sony PS3. Audio sounds good but I only have regular stereo here ... no surround sound of any sort. However I noticed something I have some questions about. Now granted this is a very dark film "look wise" or due to the "cinematography" if you will but I swear the MP4 looks a tad darker than the DVD which already looked pretty dark to begin with ... so I wonder "what did I do wrong"? Looking at the guide I see two things I might have done wrong. For starters I used DGIndex to creat a D2V project file (and demux the audio). So yes I used the D2V as the source and used the built-in AviSynth script creator thing. I'm wondering should I have added something to the end like, "ConvertToYUY2()" or "ConvertToYV12()" etc.? I didn't do any of that in fact I didn't really "touch" the AviSynth script created nor change the video template (other than to change the video bitrate to 1500kbps). So did I need to add any of those color space conversions? Also I did use the "colour correction" option. I know DJRumpy said he never uses it. Perhaps that was a mistake? Then again it is a dark film so maybe I imagine that it is darker. I'll have to do a side by side with the DVD to compare. As for my Sony PS3 it played the file back A-OK and other than looking dark it looks great and sound good but that is my other question. The original audio was a 5.1 AC-3 448kbps audio file. I did the audio the same way as it is in the guide. Yet I have no idea if 128 is a good setting or not and I have no idea what HE means or LC or any of that. Perhaps someone can explain all that a bit better or point me to a place on the web that does? Thanks :) - John "FulciLives" Coleman P.S. I hope this makes sense ... I must have *yawn* fallen asleep twice trying to type this up ... off to bed for me! | ||||
| Nightshiver posted 2008 Aug 15 06:47 | ||||
| I would disable the color correction. Sharktooth (a person close in line with MeGUI) has said that there is a bug with the color correction. Creating a D2V is not wrong and doesn't hinder anything. Also, why would you want to change color space? The original is fine and there is no need to change it. For audio, HE means High Efficiency, and LC means low complexity. Most tend to use HE profiles. If you have a 5.1 mix, then I would probably use the new HE 192kbps profile in MeGUI. | ||||
| FulciLives posted 2008 Aug 15 08:51 | ||||
I'm mostly using XVID4PSP these days ... I like the interface much better 8) Also for PS3 use you need to use AAC-LC - John "FulciLives" Coleman | ||||
| bc55 posted 2008 Aug 25 01:12 | ||||
| Hiya guys,
I am having problems with MeGUI recently. I have several BD rips muxed to TS format. Some of these I was able to convert, hands down. Now, with for example STARSHIP TROOPERS and THE MATRIX, I get an NO PID STREAMS FOUND error. Even if I point DGIndex to the PIDs manually, it says NO VIDEO SEQUENCE HEADER FOUND and aborts. I have de-muxed the TS to get a sperate VC1 and AC3 file, but even that VC1 file isn't recognized as video data. Any idea what's happening ? Thanks BC55 ------------------------------------------------------------------------------------------------------------------------------------ Update : I've managed to find it myself. With a bit of help from Google and this guide : http://forum.doom9.org/showthread.php?t=129001 Thanks to Taktaal's excellent guide on how to convert VC1, I have created a Graphedit graph to Split VC1 from a stream with the help of Haali Media Splitter. That turned into an AVS screipt, as described by him, works great. Enjoy BC55 | ||||
| nry posted 2008 Sep 02 09:40 | ||||
| Thanks for the excellent guide, produced some excellent DVD rips myself using around 1250-1500kbps
Got a question or two though. Megui has multiple workers, how does this affect dual core systems, does it mean 2 dvd's can be done simultaneously or would it just cancel each other out and take just as long as doing it 1 at a time? Is it normal for some movies to have alot of grain in the picture when the source has no grain (DVDs)? | ||||
| Nightshiver posted 2008 Sep 10 18:18 | ||||
| No. You don't need multiple workers, one will do. Usually, the grain comes from DVD's, so I don't see how grain is being introduced when your source had none. | ||||
| Nico8583 posted 2008 Sep 20 18:58 | ||||
| Hello. Sorry for my bad English.
Already I thank you very much for this guide, it is complete. I would like to know what settings to change to encode in 720p? I think the only changes to be made in creating the script Avisynth? Thank you in advance for your help. | ||||
| Dschultz posted 2008 Sep 21 13:07 | ||||
| Any plans to revise this guide?
MeGUI 0.3.2015 with x.264 no longer gives you the "GoodQuality" options. They are now totally different and I'm no longer sure what to choose. It went from simple, to complex if you ask me. Encoder Settings: Unrestricted 2-pass Extra Quality.. huh?? I've also seen that some people are making different suggestions for the settings now-a-days. Even more incentive to update the guide. | ||||
| Nico8583 posted 2008 Sep 21 13:21 | ||||
| An update (some elements have changed) would also be interesting :)
And also a parameters guide for Blu Ray or HD DVD to x264 720p please :D | ||||
| boy69 posted 2008 Sep 27 13:10 | ||||
| Good evening, excuse my English, I am French-speaking. I followed the excelent guide of MeGui and thank the author ! The new version is a little different, but the great bases remain similar. My problem, I made much movies with Megui but the final results with a encoded mkv, to leave from a m2ts, always have white flashes during all movie ! Among you there are some one which knows this problem and could help me to solve? Thank you very much.
PS I have Vista, Intel Quad + 4 Go RAM, 2 hd 1 To in raid. | ||||
| bashiefa posted 2008 Oct 25 07:52 | ||||
| hi guys... as you can see , i have only just registered today...just thought id throw in my 10cents... i recently discovered a quick and easy way to convert blu-ray to divx...etc... thought id share it (if it hasnt been discovered yet) basicaly, i used imgburn to bring bd movie in (as image) (anydvd running in background), then used super (latest version) to convert m2ts (largest file in bdmv>stream file list) to whatever format i chose, divx in this case. selected all settings i required, and let it run... using 2016 kbps and 640x480 scale, i brought the file size from (resident evil - 24gb) down to about 1.41gb with surprisingly good results.
Tools used : ImgBurn Super alcohol120 kind regards... | ||||
| bashiefa posted 2008 Oct 25 07:55 | ||||
| good luck ... | ||||
| bc55 posted 2008 Oct 25 09:21 | ||||
Um, if you reduced the resolution of a BluRay movie to 640x480, what's the point in converting / ripping it ? For that, you could just run through a standard DVD ( 720x480 NTSC ) and have the same or an even better result, without having to worry about how to convert it. It's all about converting BluRay and other HD content while PRESERVING the resolution and as much of the picture quality as possible ..... | ||||
| Ahmed28 posted 2008 Oct 27 05:48 | ||||
Great tutorial, but I think this tutorial needs to be updated
Source:
| ||||
| bashiefa posted 2008 Oct 27 06:16 | ||||
| hi ahmed28...
i am obviously not as clued up as you seem to be...but if you read my post carefully... you will see that i mentioned "selected all settings i required" , me !!! not you or anyone else... for you or anyone else's purposes , you "obviously" select the changes/settings "you" require... also if you missed the point ...here it is...it is a simpler way of converting from bd to avi, without having to go thru megui and whatever else... Super also allows for a scale up to 1280x720... geez pleez.... | ||||
| Ahmed28 posted 2008 Oct 27 07:21 | ||||
| @bashiefa, sorry, didn't mean to offend you or anything like that, I too was helped greatly by your tutorial, but when I try to set the same as yours, the subpixel system is already change, even if I set to more than 6 as per tutorial, at RC and ME tab, I can't find the find RDO for B-Frames option at the advanced tab
Your tutorial is great, perfect, I like it, it helped me greatly on using MenGUI, since it's my first time using MenGUI, when I found difficulties in applying your setting, I asked in the forum, and some guy with nick "Dark Shikari" gave me that link Really no offense at all, I just want to set the setting like u, in the new updated GUI =) Update:sorry, I think there's a missunderstanding here, what I meant is the tutorial by DjRumpy, not yours, bashiefa | ||||
| v40t4sunny posted 2008 Nov 27 01:30 | ||||
| Hi Guys, I am new in this forum and as well new in using bluray. I have a GGW-H20L bluray burner together with a dell latitude d610, 1.86GHz, 782MHz, 1.49GB RAm, 100GB HDD intern, 250 GB extern.
I have 3 different bluray movies and tried to rip them with anydvd 6.4.8.6 to my hdd but unfortunately it stops after max 5 min and is not doing anything anymore. what could be the reason? I have not changed any settings in any dvd. | ||||
| bc55 posted 2008 Nov 29 13:41 | ||||
| Which titles are you trying ?
Is it just me, or is the latest release version 6.4.8.5 instead of .6 ? Perhaps that's your problem ? What operating system ? Could be your drive being incompatible too ..... | ||||
| davie89 posted 2009 Aug 13 13:54 | ||||
| in megui where do you select framerate because when i try do dvd it wants to do 23.97 and i need 29.97? | ||||
| Sxn posted 2009 Nov 28 02:21 | ||||
| Guyz I'm getting this error :(
Plz reply Asap !! Waiting 4 ur reply. aviscript%20error%20submit.bmp
ALso this error, both has same matter..Timeout waiting for graph to start ![]() | ||||
| Sxn posted 2009 Nov 28 08:25 | ||||
What am i supposed to change?? | ||||
| DJRumpy posted 2009 Nov 28 09:17 | ||||
| I'm about to walk into a movie theater guy. If no one has helped you when I get out I'll help you out. | ||||
| Sxn posted 2009 Nov 28 09:47 | ||||
| Okies. Btw, which movie? :D & Howz is it?? | ||||
| DJRumpy posted 2009 Nov 28 10:04 | ||||
| The new twilight movie. It hasn't started yet though. | ||||
| poisondeathray posted 2009 Nov 28 10:49 | ||||
| @sxn - your avs script doesn't even call any TIVTC functions, you shouldn't be getting that error
What happens when you preview your .avs script in vdub or mpc ? Render your file in graphstudio, do the pins connect? If not, you have a broken directshow filter for that movie. You have to install a proper splitter and decoder then. Use mediainfo (view=>text) for more information. Do you have ffdshow and haali media splitter installed? If you are on win7 you need the clsid's preferred filter manager You can try another source filter instead of directshowsource which is know to cause many problems, and isn't necessarily frame accurate. It relies on system directshow filters. (e.g. you could try ffmpegsource2) | ||||
| Sxn posted 2009 Nov 28 11:43 | ||||
| @poisondeathray, Hey buddy good to c u :)
When i open the avs script with my mpc, then it plays video with out audio.
No pin broken. ffdshow video show decoder is present in my system. Haali media splitter is also present.
I think the problem is in this section.. & my problem is unlike the decoder & splitter i don't know y v use directshow source. Can u explain its purpose & function ? I'll try ffmpegsource2. Thanks 4 replying mate :) | ||||
| poisondeathray posted 2009 Nov 28 11:53 | ||||
Directshowsource is just a source filter, it's purpose is to feed video & audio in the avs script Everything should be working. When you preview the .avs script in mpc you're not supposed to get audio because your script has "audio=false" Try uninstall/reinstall, reboot or ffmpegsource2 Current versions of megui are broken. Active development on the project has stopped (the gui doesn't match newer recent x264 features) | ||||
| Sxn posted 2009 Nov 28 11:54 | ||||
| I've downloaded ffms2-r234-2.7z but i don't know how to replace directshow source with this one :D . A lill help here too :D | ||||
| Sxn posted 2009 Nov 28 11:56 | ||||
Means should i try an older vesion of MeGui ? I'm currently using 0.3.1.1056. | ||||
| poisondeathray posted 2009 Nov 28 11:58 | ||||
| That should work. 1057 is on the development server, and x264 is at r1352. You're probably using r1183.
But the fact that your script previews in MPC suggests that your directshow filters are working correctly, and the problem is with megui Try ffmpegsource2 | ||||
| poisondeathray posted 2009 Nov 28 12:03 | ||||
| If you want to use new x264 features, you can learn the commandline (x264 has been revamped to use preset system )http://mewiki.project357.com/wiki/X264_Settings
or switch to a gui that has active development like staxrip, hdconverttox, xvid4psp, or ripbot264 It's a shame, because megui was the most comprehensive solution, but older builds should still work fine. | ||||
| Sxn posted 2009 Nov 28 12:03 | ||||
I don't get what u mean by try ffmpegsource2. http://code.google.com/p/ffmpegsource/downloads/list I've downloaded ffms2-r234-2.7z from there. Now what should i do? | ||||
| poisondeathray posted 2009 Nov 28 12:07 | ||||
| Unzip the contents into avisynth/plugins folder , including the .dlls and .avsi
There is a readme for more information and instructions Skip the avs creater and make your own .avs script e.g. FFVideoSource("video.m2ts") If you want audio & video served FFMpegSource2("video.m2ts", atrack=-1) | ||||
| Sxn posted 2009 Nov 28 12:11 | ||||
| create my own means
replace this DirectShowSource("C:\TEST\video.m2ts", fps=23.976, audio=false, convertfps=true) with FFVideoSource("video.m2ts") ? | ||||
| Sxn posted 2009 Nov 28 12:18 | ||||
| Well after doing, unzip ffms to avs plugin folder & replacing the directshowsource with ffdvideosource in tha avs script i open the script with MeGui and now it says that FFdvideo source doesn't have the arguement "fps". | ||||
| poisondeathray posted 2009 Nov 28 12:19 | ||||
Yep. And save the .avs. It will take a few minutes to index your file. Preview it first in vdub or mpc to make sure it looks ok, then open in megui I would actually do this FFVideoSource("video.m2ts") AssumeFPS(24000,1001) | ||||
| Sxn posted 2009 Nov 28 12:26 | ||||
| LoadPlugin("C:\AviSynth 2.5\plugins\TIVTC.dll")
# Set DAR in encoder to 37 : 20. The following line is for automatic signalling global MeGUI_darx = 37 global MeGUI_dary = 20 FFVideoSource("C:\TEST\video.m2ts") AssumeFPS(24000,1001) #deinterlace crop( 0, 20, 0, -22) #resize #denoise Now this is how my script is looking. The script plays fine with mpc but the seeking is not working. MeGui is not responding if i open that script. | ||||
| poisondeathray posted 2009 Nov 28 12:30 | ||||
| Try opening the .avs in vdub. Don't "play" it, but just drag the slider around
Did you let it finish indexing? Is everything and all programs, splitters, filters in the 32-bit directory? %windir%\SysWOW64 and \Program Files (x86) It seems like you have configuration or system problems. I would try another GUI instead of fighting to get this to work | ||||
| Sxn posted 2009 Nov 28 12:42 | ||||
| Everything is in place, they all got installed in the correct dir's only.
There should be some problem with this video/MeGui. Anyway suggest a simpler GUI (i already have Xvid4psp ) What do u prefer staxrip or ripbot264 for x264 conversions? | ||||
| poisondeathray posted 2009 Nov 28 12:46 | ||||
| Out of the GUI's I would use ripbot264 for the easiest to use, and it's updated frequently by the author
I actually don't use any of those GUI's anymore. The new preset system makes things alot easier. Also if you learn more about avisynth, you don't waste time analyzing the file - which these gui's do - it can a lot of time on encoding. | ||||
| Sxn posted 2009 Nov 28 12:50 | ||||
| Any links 4 Avisynth tutorials ? | ||||
| poisondeathray posted 2009 Nov 28 12:56 | ||||
| Unfortunately not any good ones because there so much to learn, it's a huge topic. You could write several books on it... It is the most powerful tool out there from editing, filtering, manipulations, deinterlacing etc. etc...
You can start here http://avisynth.org/mediawiki/Main_Page If all you are doing is a straight progressive encode, then it's pretty simple. You just need a simple source filter like DirectShowSource() for example (there are others) But one of the purpose of the GUI's is to make things easier, so you don't have to worry about all the avisynth stuff | ||||
| Sxn posted 2009 Nov 28 13:01 | ||||
| Okies, Thanks :) | ||||
| DJRumpy posted 2009 Nov 28 13:19 | ||||
| You'll need to unpack the 7-Zip archive (7z). Use 7-Zip. It's open source and free. It should come with an installer once you get it unpacked.
http://www.7-zip.org/ | ||||
| Sxn posted 2009 Nov 28 13:25 | ||||
| I've downloaded it & installed it. Now can u tell me y i did it, means vatz its purpose?? | ||||
| puppetj posted 2009 Dec 07 21:19 | ||||
| ok, I'am really new to this, and lost i have win7 64, trying to do terminator salvation films i backed up the files to my hd using dvdfabhd latest, and have the my TERMINATOR_SALVATION_DC\BDMV\STREAM\00004.m2ts file i followed the steps from the first post, but of course as seeing that was older date, and skimmed thru a few of the later posts/replies i nooticed the you say mgui it broke with the newest version? and as for the first step to put this line in : DirectShowSource("x:\VIDEO PROCESSING\backups\DONE\MainMovie\TERMINATOR_SALVATION_DC\BDMV\STREAM\00004.m2ts",fps=23.976,audio=false) and play it in a player like vlc or wmp it wont work, so i can even get past that, step, so if there is a new way to do the whole process or not can you explain more in detail cuz i dont follow,....i found another guide of a different forum, but i get errors as the avs says the file/source cant be found, which doesnt make any sense the steps on that site are this: (PLEASE READ THE NOTE IN ALL CAPS TO SEE WHAT I DID, THANKS!
1) Start tsMuxeR and browse to your main movie file (BDMV/STREAM/00000.m2ts). -I DID THIS HAD NO ISSUES 2) Demux the desired audio and subtitle streams (don't worry about the video). - I DONT KNOW WHAT THIS MEANS!!!?? 3) Create a script in AVIsynth: DirectShowSource("D:\YOUR_BLURAY_VIDEO/BDMV/STREAM/00000.m2ts") - I DID THIS WHICH I CHANGED THE SOURCE AND POINTED IT TO MY FILE 4) Load the AVIsynth script into MeGUI and use the MeGUI Blu-ray profiles as linked to in the links section -I DID THIS BUT GOT THE ERRORS THAT I MENTIONED BEFORE...... 5) Load new h264 (in MKV container) created from MeGUI along with the other audio & subtitle streams you want to keep into tsMuxeR. - NEVER GOT TO THIS STEP!!! 6) Save new m2ts media file or output Blu-ray folders to burn to disc. |
Login/Register to our forum to be able to post here.







