The Blog of st373n

DVD formats exporting & importing

by st373n on Dec.03, 2009, under ReduxEncoder

The code for exporting to a ISO and also for exporting and burning the ISO has now been redone, in addition I have added the code to export to just a Video_TS folder and a plain .VOB file.

DVD importing has now been added to the features, with auto detection of the main title from the DVD, you will need to have  an unencrypted source so use mactheripper or dvdbackup to extract the necessary before converting – a drop down panel has been added to let you override the audio language when converting from a dvd source with multiple audio tracks and it will also let you choose a different video track if you dont want the main title from the dvd.

The development environment has now been setup in a subversion repository to enable better tracking of code changes and the version numbering will reflect this in the about panel – still a few more things to polish before pushing out an update.

:

33 Comments for this entry

  • Ken

    You guys are awesome. Thanks so much. ReduxEncoder is already working really well for me, so I’m excited to see it evolve! FWIW, I mostly use it to convert and burn MKVs to DVD-RWs.

  • Icelander

    That’s all fine & dandy, but I must admit that so far your “..there is still quite a large base of 10.5 user so I decided to re-evaluate my position on 10.5 testing..” is still the best news I’ve heard yet on this project!! :D

  • TylerL

    Will the SVN repo be public?

  • st373n

    Yes more than likely – im rewriting most of the code now and moving it to the new applescript-objective-c format so once thats all done and its in some sort of order.

  • st373n

    Hey Icelander – well here’s something interesting thats come up in my 10.5 testing, after doing an extensive code comparison to find whats bits had changed it turns out that the error was not actually anything to do with code that had been added or deleted but more to do with the fact that I had compiled the latest version as a 64bit bundle, so the workaround for all 10.5 user experiencing the ‘illegal comparison’ messages is to right-click (ctrl click ) on the ReduxEncoder App and do a Finder Get Info, tick the box that says Open in 32-bit mode.
    Just verified that method on two different 10.5 intel macs without problems – see if that fixes it for you.

  • Erik

    I’m converting an 23.976 fps MKV to DVD (“plain .VOB files”) and for some reason it’s doing a framerate conversion to a 25 fps PAL vob. Why is this? I can’t seem to find a framerate or NTSC/PAL setting anywhere in the preferences.

  • TylerL

    Looking forward to a public repo.
    If you’re rewriting for the AppleScript-Cocoa bridge, keep in mind you will lose 10.5 (and therefore PowerPC) compatibility.

  • Icelander

    “…do a Finder Get Info, tick the box that says Open in 32-bit mode.”

    Will most definitely give this a shot, thanks for the tip! But will this then also be needed on your next updated version? And just when is that one coming?
    Oh, happy holidays, btw :)

  • Icelander

    IT WORKS!! WHOPEEEE!!! :D

    Right, now that I got that out of my system, back to business: I have a file which includes 5.1 sound that your app doesn’t seem to know what to do with, so it keeps getting omitted altogether. Would like to be able to convert it to divx or something, and wouldn’t mind if that meant getting the sound converted to plain stereo, but as it is now the audio is simply ignored… any suggestions?

  • st373n

    Yippee!

    Normally the sound is downsampled to 2.0 anyway so thats a bit odd, but yeh you can force the sound in the advanced panel extra audio filter box.

    the exact command you would enter depends on the audio, but say for example you want to use the english audio track from the file you
    would enter -alang en into the box or you could pick by track number etc, the mplayer site should list all of the audio commands
    somewhere, when i get a sec will post some here for you.

  • Icelander

    It’s a DTS 5.1 if that matters (it plays fine on my Mac in Quicktime still), and only one language so multiple languages is not the issue here.
    I’ll wait for your list of commands & then see if any of those will solve the problem.

  • MySchizoBuddy

    When i select convert to DVD -> Burnable image. After the conversion it outputs an empty .iso file. Where is the temporary mpg that is created before making vob file and then the iso file

  • Matt

    I’m wanting to use ReduxEncoder to convert MP4 and M4V files into DivX compliant AVI files (so I can use the files on my DVD player with USB Media Support).

    Questions:
    1 – When converting to AVI and using one of the available profiles, it seems I still have to manually adjust the resolution size (to downsize HD videos to 720×480). Is this right? I would have thought the “Home Theatre” profile would do this automatically.

    2- The file size seems large. Converting a movie trailer originally 38MB, the DivX Converter outputs a file 27MB (home theatre profile – high quality), whereas the Redux files are 44MB.

    3 – Audio Codec – can it be changed? I see nowhere to select it. When using the “Home Theatre” or “Best Windows Compatibility”, the audio is incompatible with my DVD player (RCA DRC286). Would like some option to change this (like to MP3).

  • st373n

    Matt, The AVI code is currently very basic and many of the options in the UI are not yet applied to the conversion when going to avi, your correct in that you can manually override the downsizing but there is not an option to change the audio coded yet.

  • st373n

    MySchizoBuddy, the working files are inside /tmp/retemp/
    there will be logs and the mpeg and the iso in there which are then moved
    to the default save location when completed.
    You need to look in there before quitting ReduxEncoder as it cleans that folder out.

  • Icelander

    Still more weirdness for me. Here’s what the ‘error log’ showed me after a failed conversion of an xvid file:

    begin-base64 644 -
    H4sIAPUxQUsAAwvydHM78yrQ3zHMU8HHMzjklBIDQ0ZKUU5iWWaGBQMDg/0cBjgQYGRgONrNCGYz
    QcUuABkbGBkwAMisBwIMDMUlRTlADDarLDOluAJIIKsLvGbL0PGTkw3EBpntsJiJQUAdIX+BaQMj
    UH+aBpCtgWQfI4MEQ0SYpwtDlQyG3WUFRQUuSHwpJH0sDKxIZkBoGP8CE4ZRDF6hft4SApjio2AU
    jIJRMApGwSgYBaNgFIyCUTAKRsEoGDkANM7RhTbOkViaUoyshhGKG+wgfN7Uu8wO8gwM/4EAJG7B
    8EPOwj4oFTTOIQfkhzIwMbisgagHyfMwQAZYFjGC6NERiVEwCkbBKBiKAAA/0ZBucBcAAA==
    ====

    If you can make head or tail out of that..??

  • Rebaa

    Hey very nice work with Redux, works awesome already…. but I can’t manage to make subtitles work!!!! maybe I’m doing something wrong?? I’m converting an MKV into WMV using .srt

    THX

  • Icelander

    More news on the sound issue for you. The good news is it’s apparently got nothing to do with how many channels of sound the source file includes. The bad news – it’s _every_ file with sound, no matter source channels, format, size or even choice of encoding, avi, mpg, mp4.. you name it: NO SOUND IS HEARD AT ALL in the result file!
    So evidently that ‘run as 32bit’ suggestion only got the app to _run_ on my system, not to actually _work_ :(

  • st373n

    Hey Rebaa,
    Theres no support for subtitles just yet.

  • st373n

    Icelander, thats something I will have to double check then.

  • numlock

    The option to run a script (applescript i assume) does not work for me in 1.2.6. Basically what I want to do is run a script that collects wmv´s from a directory and converts them all and later either delete them or move them (wmv´s) to a new directory.

    Is that something you could as a preference setting? Moving the original files that have been successfully converted to a location of ones choice?

    regards

  • st373n

    hey numlock

    You can already choose a destination for the converted files by clicking on the disclosure triangle at the bottom of the window to expand the custom workflow.
    Add the destination folder path there.

    As for monitoring a folder for files to convert, you could perhaps assign a custom folder action and tell Redux to start an assembly line.

    However a watch folder option is planned for the future.

  • numlock

    No no you are misunderstanding.

    I want the destination to be the same as the original but I want to move the original when it has been successfully converted. So for instance I created a script that goes through a directory looking for .wmv´s and converts them in ReduxEncoder but then I either want to move the .wmv´s to another directory or to the trash.

    So from you I would ask to either include the option on what to do with the original file (move or delete) or run an applescript when the last file has been converted.

  • alexdr976

    What are the settings to burn an avi file (movie) to dvd ( I want to play like a regular dvd movie – my dvd player doesnt play other formats :( )?

    Please let me know.

    Im a newbie, sorry!

  • st373n

    hi alexdr976,

    1.select Convert to DVD
    2.select burnable image ( for a image you can burn yourself) or select Burned DVD and ReduxEncoder will burn the iso for you once its made it.
    3.click start

    make sure there are no space’s in the file path when choosing to convert to dvd or the dvd image won’t get made – its a bug in the current version – the other formats are not affected.

    Hope that Helps.

  • SteveJ

    Great job on this app! Very much appreciated. Looking forward to the next update. I’m wanting to stitch 2 video_ts files together but it always puts the second file first. Other than that I have had no problems.

  • Flo

    When will the new version be released?

  • lance hayward

    Hi , Great program , tried everything to get avi and mp4 files to dvd format simply and no fuss, and this is the only program that has done it! can you tell me how or if i can make sure that the dvd is in pal or ntsc format when finished? or is that not an option? also sometimes , every 3rd or 4th file i try and output to dvd burnrd or dvd image i get a zero image file..?

    Thanks again
    Lance

  • lance hayward

    sorry should say i am running snow leopard 10.6.2 on macbook pro

    Lance

  • st373n

    Hi Lance – great that its working well for you – the possible reason for the occasional zero sized image could be to do with the original file path, there is a problem if the path to the file contains spaces and this will be fixed in the next release. Try for now just moving the source file to the desktop and make sure its name is spaceless.

  • st373n

    oh and for the pal or ntsc question its currently hard coded to pal but i will add an option sometime to select either.

  • lance hayward

    Thanks for the reply , so far things are working fine with the adjustments mentioned above. PAL was the format i wanted anyway so no problem there… i have a file that is 2hours 21 long , avi 1.4gb that ends up as an iso that is too large to burn to disc , any thoughts? Is it the running time that is the issue or can i change the file format to get a smaller original file and therefore a smaller iso?

    Thanks again for your help

    Lance

  • Neil

    I have used your program before, converting an MKV file and burning it onto a DVD but for some reason I am having the same problem as others. When I try to insert chapters, the output is an empty ISO file.I have removed spaces from the file name etc but no joy. When I try to create a burnable image in without chapters, it goes as far as creating a mpg file.

Leave a Reply


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!