Page 1 of 3
Video_TS to ISO
Posted: November 22nd, 2008, 12:57 pm
by AndyPanerai
Hi all,
Is there a script that will convert a video_ts directory (movie) to a iso file ?
I' am asking this because i have running sabnznb on my synology ds207 and i stream from it to a media player (wireless) but video_ts
folders are slower (buffer) then a iso so thats why i ask it.
Thanks.
Greetz,
Andy
Re: Video_TS to ISO
Posted: November 23rd, 2008, 6:42 pm
by jcfp
Creating a script that does this shouldn't be too much work, assuming your device runs some flavour of linux or unix. Check the mkisofs command.
Re: Video_TS to ISO
Posted: November 30th, 2008, 5:15 pm
by thaylok
Using mkisofs in posix systems:
mkisofs -dvd-video -o /video.iso /videofolder/
Make sure to have a AUDIO_TS folder along with your VIDEO_TS folder
in your "/videofolder" to make your iso DVD standards-compilant.
e.g.
Videofolder-> AUDIO_TS = DVD
VIDEO_TS
Re: Video_TS to ISO
Posted: December 7th, 2008, 8:49 pm
by auskento
I have this an option in my media processing script.
Re: Video_TS to ISO
Posted: December 16th, 2008, 5:35 pm
by doubledrat
or use imgburn if you are on windoze
Re: Video_TS to ISO
Posted: January 13th, 2009, 11:31 am
by virtual
Im not trying to steal the tread.
is it posible to do ISO to VIDEO_TS (unpack a ISO)
im runing my sabnzbd on a QNAP 209 Pro
Re: Video_TS to ISO
Posted: January 13th, 2009, 3:19 pm
by jcfp
Since an iso file is just an entire filesystem inside a file, on a linux or unix system the thing can be mounted like any other filesystem using something along the lines of "mount -o loop ", where is an existing (and usually empty) directory. After that, normal file operations can be used (i.e. the cp command), and when your script is done copying simply "umount ".
Note that mounting and unmounting may need privileges via sudo or su, and loopback support is required (very standard on a desktop but just so you know...).
Re: Video_TS to ISO
Posted: May 17th, 2009, 1:58 am
by shanghei
I am also looking for a script that does this in windows.
A script that will convert a Video_TS dvd download directory into an iso image.
Has a script like that been made yet for Windows?
Re: Video_TS to ISO
Posted: May 17th, 2009, 7:04 am
by doubledrat
you can use "imgburn" to do this.
the script will look something like this -
Code: Select all
set dirname=%1
set dirname=%dirname:"=%
set name=%3
set name=%name:"=%
set nbID=%4
set DLTYPE=%5
IF EXIST "%dirname%\video_ts" CALL makeISO
GOTO :EOF
:makeISO
"C:\Program Files\ImgBurn\ImgBurn.exe" /MODE BUILD /BUILDMODE IMAGEFILE /SRC "%dirname%\video_ts" /DEST "C:\somewhere\%name%.ISO" /START /CLOSE
GOTO :EOF
NOTE: THIS IS NOT TESTED CODE - it's just a guide of the sort of thing you need
there is a full list of imgburn command line options in the readme.txt which is in the install directory.
Re: Video_TS to ISO
Posted: May 17th, 2009, 7:16 am
by doubledrat
and for unpacking ISOs, 7zip claims to do that. download the command line version and use something like
7z x isofilename -ooutputlocation -r
Re: Video_TS to ISO
Posted: May 17th, 2009, 4:22 pm
by shanghei
doubledrat wrote:
you can use "imgburn" to do this.
the script will look something like this -
Code: Select all
set dirname=%1
set dirname=%dirname:"=%
set name=%3
set name=%name:"=%
set nbID=%4
set DLTYPE=%5
IF EXIST "%dirname%\video_ts" CALL makeISO
GOTO :EOF
:makeISO
"C:\Program Files\ImgBurn\ImgBurn.exe" /MODE BUILD /BUILDMODE IMAGEFILE /SRC "%dirname%\video_ts" /DEST "C:\somewhere\%name%.ISO" /START /CLOSE
GOTO :EOF
NOTE: THIS IS NOT TESTED CODE - it's just a guide of the sort of thing you need
there is a full list of imgburn command line options in the readme.txt which is in the install directory.
Looks promising, put it in a cmd and it didnt make it to imgburn.
I looked at logfile and it showed this.
C:\Program Files\SABnzbd>set dirname="D:\downloads\Movies\American Time Capsule (1968)"
C:\Program Files\SABnzbd>set dirname=D:\downloads\Movies\American Time Capsule (1968)
C:\Program Files\SABnzbd>set name="American Time Capsule (1968)"
C:\Program Files\SABnzbd>set name=American Time Capsule (1968)
C:\Program Files\SABnzbd>set nbID=4925838
C:\Program Files\SABnzbd>set DLTYPE=movies
C:\Program Files\SABnzbd>IF EXIST "D:\downloads\Movies\American Time Capsule (1968)\video_ts" CALL makeISO
'makeISO' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\SABnzbd>GOTO :EOF
Re: Video_TS to ISO
Posted: May 17th, 2009, 10:50 pm
by Eejit
Change
Code: Select all
IF EXIST "%dirname%\video_ts" CALL makeISO
to
Code: Select all
IF EXIST "%dirname%\video_ts" GOTO makeISO
Should work then
Re: Video_TS to ISO
Posted: May 17th, 2009, 11:20 pm
by shanghei
That fixed it, thanks alot both of you !
Re: Video_TS to ISO
Posted: May 17th, 2009, 11:58 pm
by shanghei
Anyone else in windows looking to do this here is the script I use that works perfect
Code: Select all
set dirname=%1
set dirname=%dirname:"=%
set name=%3
set name=%name:"=%
set nbID=%4
set DLTYPE=%5
IF EXIST "%dirname%\video_ts" GOTO makeISO
GOTO :EOF
:makeISO
"C:\Program Files\ImgBurn\ImgBurn.exe" /MODE BUILD /BUILDMODE IMAGEFILE /NOIMAGEDETAILS /VOLUMELABEL "%name%" /SRC "%dirname%\video_ts" /DEST "D:\downloads\movies\%name%.ISO" /START /CLOSE
GOTO :EOF
Just change /DEST to wherever you want the iso at. The cool thing about imgburn is if a Audio_TS folder isnt included in the download it automatically adds one. That command for imgburn will make it run minimized and make the volume label the name of the movie folder.
Thanks guys for the help this will make my life easier!
Re: Video_TS to ISO
Posted: May 18th, 2009, 10:00 am
by shanghei
You know what would also be usefull, a command to delete the folder with the video_ts folder after it has created an iso.
Anyone know the command for that?