Converting .iso DVD video to .mp4

530 views
Skip to first unread message

Lara Friedman-Shedlov

unread,
Dec 10, 2024, 12:06:22 PM12/10/24
to bitcurat...@googlegroups.com
Hi all,

I have about a thousand DVD video files currently stored as .iso. I want to batch convert them to .mp4.  Anyone had any experience with that? So far I've experimented with Handbrake and ffmpeg, but I can't get even one file to successfully convert. The error I get from ffmpeg (same thing on any file I try from the batch):

[in#0 @ 000002922979d1c0] Error opening input: Invalid data found when processing input
Error opening input files: Invalid data found when processing input

This makes me think that there is perhaps something wrong with the source files, but I have no idea what or what to do about it.  

Anyone have an experience with this kind of thing or any idea how to troubleshoot?

Thanks,
Lara Friedman-Shedlov


--
Lara D. Friedman-Shedlov    (she / they)  (hear my name)
Digital Records Archivist | Archives & Special Collections 
University of Minnesota Libraries | lib.umn.edu | 612.626.7972

I acknowledge that the University of Minnesota is located on the traditional, ancestral and contemporary lands of Indigenous people and was built with money from slaveholders

Lara Friedman-Shedlov

unread,
Dec 10, 2024, 12:21:26 PM12/10/24
to bitcurat...@googlegroups.com
P.S.  Also tried VLC and it produces a 1KB file that doesn't open. 

All these files can be opened and successfully played as .iso files in VLC

Donald Mennerich

unread,
Dec 10, 2024, 12:26:08 PM12/10/24
to bitcurat...@googlegroups.com
Within Bitcurator you can try extracting the .VOB files from the .iso using the tsk_recover command then converting to mp4 using ffmeg. If you can get that to work it wouldn't be difficult to automate via scripting. We've run into to some dvd .isos that used an Apple variant of UDF that made life miserable. You might want to look into that it could be your problem, the imaging software can only access the file-metadata but not the actual data streams. Hence, the small file. You can image them in an Apple OS using the DiskUtility and setting the format to `bin/cue`

Donald

Donald R. Mennerich, Senior Digital Archivist
Digital Library Technology Services
New York University Libraries


--
You received this message because you are subscribed to the Google Groups "BitCurator Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcurator-users/CAKWpb_ad%3D%2BR6hvDjLU9qzhT6detVbLppRfC09cQTgiskf%3DWYCQ%40mail.gmail.com.

Lara Friedman-Shedlov

unread,
Dec 10, 2024, 12:56:12 PM12/10/24
to bitcurat...@googlegroups.com
Thanks for these ideas, Don.  Each .iso file will typically have multiple .vob files (in a video_ts folder).  Can ffmpeg convert a video_ts folder? I don't have a ton of experience with it...

I don't know if the original disks were created using Apple, but all the .iso files were created from the original DVD disks using IsoBuster on a Windows machine.  It took several months using an autoloader to process the disks, so when you say "image them in an Apple OS using the DiskUtility" are you saying re-image the original disks? That would not be an option. Or are you saying I could do something with the .iso files using DiskUtility?

 



Donald Mennerich

unread,
Dec 10, 2024, 3:41:31 PM12/10/24
to bitcurat...@googlegroups.com
Thanks for these ideas, Don.  Each .iso file will typically have multiple .vob files (in a video_ts folder).  Can ffmpeg convert a video_ts folder? I don't have a ton of experience with it...

I'm unsure, I would script this though. Go to a iso, extract any .VOB files into a dir, convert to .mp4, repeat, etc. 

 so when you say "image them in an Apple OS using the DiskUtility" are you saying re-image the original disks? That would not be an option

I would at least examine one manually if nothing else works. 

Can you output the command fsstat for one of your images and post the results?

e.g. 
-bash-4.2$ fsstat FA_MSS_492_1.iso

=== PRIMARY VOLUME DESCRIPTOR 1 ===
FILE SYSTEM INFORMATION
--------------------------------------------
File System Type: ISO9660
Volume Name: BOLIDAYDVD
Volume Set Size: 1
Volume Set Sequence: 1
Publisher:
Data Preparer:
Recording Application: iDVD:7.1.1, NoInterface:000, DSPAuthoring:97.1.1, DVDBase:564.0.3, Oxygene:507
Copyright:

METADATA INFORMATION
--------------------------------------------
Path Table Location: 258-258
Inode Range: 0 - 11
Root Directory Block: 259

CONTENT INFORMATION
--------------------------------------------
Sector Size: 2048
Block Size: 2048
Total Sector Range: 0 - 861423
Total Block Range: 0 - 861423

 
Donald R. Mennerich, Senior Digital Archivist
Digital Library Technology Services
New York University Libraries

Joe Carrano

unread,
Dec 11, 2024, 8:58:01 AM12/11/24
to bitcurat...@googlegroups.com
Hey Lara,

Looks like ffmprovisr has a recipe for using ffmpeg and inputting
multiple VOB files to MP4:
https://amiaopensource.github.io/ffmprovisr/#dvd_to_file
> To view this discussion visit https://groups.google.com/d/msgid/bitcurator-users/CAD067EmJSGqTMoqjU0gs-Y2FHWuv5tsfD_eK_tw%2BPAoxT7YrPA%40mail.gmail.com.

Brandon Pieczko

unread,
Dec 11, 2024, 10:53:05 AM12/11/24
to BitCurator Users
Hi Lara,

I have a rather old bash script that uses ffmpeg to create a single MP4 file from a group of VOB files directly from DVDs. It's not exactly what you need, but you're welcome to adapt it if you like: https://github.com/bpieczko/dvd-mp4-conversion. FYI, it worked at one point but I haven't tested it in several years.

Brandon

Lara Friedman-Shedlov

unread,
Dec 11, 2024, 11:25:47 AM12/11/24
to bitcurat...@googlegroups.com
Thank you very much to everyone who has taken the time thus far to respond. I really really appreciate it!

Let me give just a little more context:
I have a collection of over 1000 optical disks, almost all of which are DVD video, that needed to be transferred from the original media for preservation. Because of the large number of disks, I used a Nimbie disk autoloader along with Iromlab, which basically ends up using IsoBuster to make .iso images of each disk.  So now I have about 1000 .iso files. They all open and play just fine as .iso files using VLC player. However, they are very large (1.7 TB all together) so we would like to convert them to .mp4  (in this case we are not concerned about losing anything we want to preserve by doing so).  I am not going to go back and manually re-image each disk. The amount of time it would take is prohibitive.  If worse comes to worse we can preserve the .iso files as is, but I'd really like to find an efficient, batch method of converting them to .mp4.  We are willing to purchase software (within reason), if something exists that will do the job.  We do have Adobe Media Encoder, but it doesn't work on .iso files, unfortunately. 

I know I could extract a VIDEO_TS folder (containing all the.VOB files, as well as the other components) from .iso each using IsoBuster, and HandBrake will convert the VIDEO_TS folders to MP4.  I tried one and it works (slowly!).  However,I'd need a way to automate that process of extracting the VIDEO_TS folders from the .iso files. 

If anyone is inclined to take a look, I put a sample of one of the .iso files on Google Drive.  It's a video of a service in a synagogue.   

FYI, I don't currently have BitCurator up and running. I was having a lot of trouble getting it to run properly on our FRED. We recently had to replace the hard drive, however, so I will try again to get it installed at some point.  Currently, however, I don't think I have a way to run fsstat. 

Any other ideas or insights would be greatly appreciated.  Thanks again to everyone who has shared some already!

/ Lara




Donald Mennerich

unread,
Dec 11, 2024, 11:37:58 AM12/11/24
to bitcurat...@googlegroups.com
You can also install the sleuthkit binaries for windows on your FRED, presuming your running Windows. They seem to run perfectly for me and are really handy for figuring out imaging problems on the FRED. 

Running Windows Subsystem for Linux is another option, I use often as well for Sleuthkit, ewf-tools, and automating things on a FRED. There is default support for Ubuntu when you install it. 

Don
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-users+unsubscribe@googlegroups.com.

>>>> To view this discussion visit https://groups.google.com/d/msgid/bitcurator-users/CAKWpb_ad%3D%2BR6hvDjLU9qzhT6detVbLppRfC09cQTgiskf%3DWYCQ%40mail.gmail.com.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "BitCurator Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-users+unsubscribe@googlegroups.com.

>>> To view this discussion visit https://groups.google.com/d/msgid/bitcurator-users/CAD067EnQTqmq-tDPfcKR9F8goMH-Hx3H5fgJYEse%2BRgFWUzNjQ%40mail.gmail.com.
>>
>>
>>
>> --
>> Lara D. Friedman-Shedlov    (she / they)  (hear my name)
>> Digital Records Archivist | Archives & Special Collections
>> University of Minnesota Libraries | lib.umn.edu | 612.626.7972
>>
>> I acknowledge that the University of Minnesota is located on the traditional, ancestral and contemporary lands of Indigenous people and was built with money from slaveholders.
>>
>> --
>> You received this message because you are subscribed to the Google Groups "BitCurator Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-users+unsubscribe@googlegroups.com.

>> To view this discussion visit https://groups.google.com/d/msgid/bitcurator-users/CAKWpb_bN%2BYc-e6a%2BHN%3D4jYF6TmNX1pGu2MMj7PoM-EuvFyRBdw%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "BitCurator Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-users+unsubscribe@googlegroups.com.

> To view this discussion visit https://groups.google.com/d/msgid/bitcurator-users/CAD067EmJSGqTMoqjU0gs-Y2FHWuv5tsfD_eK_tw%2BPAoxT7YrPA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "BitCurator Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-users+unsubscribe@googlegroups.com.


--
Lara D. Friedman-Shedlov    (she / they)  (hear my name)
Digital Records Archivist | Archives & Special Collections 
University of Minnesota Libraries | lib.umn.edu | 612.626.7972

I acknowledge that the University of Minnesota is located on the traditional, ancestral and contemporary lands of Indigenous people and was built with money from slaveholders

--
You received this message because you are subscribed to the Google Groups "BitCurator Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcurator-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcurator-users/CAKWpb_YKZu%2BG5KdLp8jgfPFxx-3WjX%2BgFa1OvvCqMbQDZRzRPA%40mail.gmail.com.


--

Lara Friedman-Shedlov

unread,
Dec 11, 2024, 12:21:27 PM12/11/24
to bitcurat...@googlegroups.com
More info!

I can get Handbrake to convert the .iso files one at a time, but if I try to select more than one to add to the queue, either by selecting the containing folder, or by selecting more than one individual file using CTRL+clicking on files, I get this error:

image.png

Handbrake will successfully convert those same files if I do them one by one. But it objects if I try to do a batch, which is what I need to do. 

Charles Hosale

unread,
Dec 11, 2024, 12:52:26 PM12/11/24
to bitcurat...@googlegroups.com
Hi Lara,

The Bay Area Video Coalition (BAVC) has a python script that I believe will neatly convert iso to mp4 for you. https://github.com/bavc/videomachine/blob/master/dvd_transcoder.py. It’s written to manage some of the annoying parts of working with VOB files.

Good luck,
Charlie



On Dec 11, 2024, at 11:21 AM, 'Lara Friedman-Shedlov' via BitCurator Users <bitcurat...@googlegroups.com> wrote:


More info!

I can get Handbrake to convert the .iso files one at a time, but if I try to select more than one to add to the queue, either by selecting the containing folder, or by selecting more than one individual file using CTRL+clicking on files, I get this error:

Corey Forman

unread,
Dec 11, 2024, 1:46:40 PM12/11/24
to bitcurat...@googlegroups.com

Hi Lara,

 

Further to what Charles has suggested, that particular script will only work on Mac if not modified to work on a Linux system. That being said, I have modified it to work in Linux and will be able to provide you with a working automation shortly.

For the time being, the updated script is at https://github.com/digitalsleuth/videomachine/blob/master/dvd_transcoder.py . I am working on adding a recursive feature to it which should do what you need, and I have tested this as working on BitCurator. The only requirements for it to function is that ffmpeg is installed on the system somewhere.

 

Feel free to reach out offline as well if you wish to corey<at>digitalsleuth<dot>ca.

 

Corey Forman

Charles Hosale

unread,
Dec 11, 2024, 4:06:13 PM12/11/24
to bitcurat...@googlegroups.com, bitcurat...@googlegroups.com
Oh yes thanks for catching that Corey! I forgot to check system compatibility. It’ll be very helpful to have a portable version. I’ll share it with Morgan Morel and BAVC when you’re done.

Charlie

On Dec 11, 2024, at 12:46 PM, Corey Forman <co...@digitalsleuth.ca> wrote:



Corey Forman

unread,
Dec 11, 2024, 4:15:27 PM12/11/24
to bitcurat...@googlegroups.com

Not a problem! Once I have the structure done, I’ll submit a Pull Request to their repo as well.

 

Cheers!

Corey Forman

unread,
Dec 12, 2024, 8:06:01 AM12/12/24
to bitcurat...@googlegroups.com

Good morning all,

 

Lara, I updated the script here (https://github.com/digitalsleuth/videomachine/blob/master/dvd_transcoder.py) so it will recursively browse through a folder structure for every ISO file and output the corresponding converted video format to the selected output directory. One usage example:

 

dvd_transcoder.py -i /home/bitcurator/Documents/ISO -o /home/bitcurator/Documents/MP4 -f H.264 -r

 

Let me know if this works for you, and if you would like any changes / upgrades made.

 

Cheers!

 

Corey

Lara Friedman-Shedlov

unread,
Dec 20, 2024, 2:36:06 PM12/20/24
to bitcurat...@googlegroups.com
As a follow-up to this question I wanted to share with everyone that thanks to Corey Foreman, the BAVC DVD Transcoder Python script has now been significantly updated and will now work in Windows, as well as Unix and Mac.  It has some improved error checking, more configuration options, and reporting as well.  It's exactly what I need to accomplish the task I need to do.  

Huge huge thank you to everyone who responded to my query, and most especially to Corey for all the time spent, and for patiently answering my questions and working through all the glitches.  What a great community!

Happiest of holidays to everyone who is celebrating!

/ Lara Friedman-Shedlov

Lara Friedman-Shedlov

unread,
Dec 20, 2024, 3:30:55 PM12/20/24
to bitcurat...@googlegroups.com
Apologies for misspelling Corey's last name.  Should have been Forman.  
Reply all
Reply to author
Forward
0 new messages