Video_TS to ISO
-
- Newbie
- Posts: 8
- Joined: March 9th, 2008, 2:24 pm
Video_TS to ISO
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
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
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
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
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
I have this an option in my media processing script.
-
- Release Testers
- Posts: 180
- Joined: February 20th, 2008, 3:16 pm
Re: Video_TS to ISO
or use imgburn if you are on windoze
Re: Video_TS to ISO
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
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
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...).
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
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?
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?
-
- Release Testers
- Posts: 180
- Joined: February 20th, 2008, 3:16 pm
Re: Video_TS to ISO
you can use "imgburn" to do this.
the script will look something like this -
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.
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
there is a full list of imgburn command line options in the readme.txt which is in the install directory.
Last edited by doubledrat on May 17th, 2009, 7:08 am, edited 1 time in total.
-
- Release Testers
- Posts: 180
- Joined: February 20th, 2008, 3:16 pm
Re: Video_TS to ISO
and for unpacking ISOs, 7zip claims to do that. download the command line version and use something like
7z x isofilename -ooutputlocation -r
7z x isofilename -ooutputlocation -r
Re: Video_TS to ISO
Looks promising, put it in a cmd and it didnt make it to imgburn.doubledrat wrote: you can use "imgburn" to do this.
the script will look something like this -
NOTE: THIS IS NOT TESTED CODE - it's just a guide of the sort of thing you needCode: 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
there is a full list of imgburn command line options in the readme.txt which is in the install directory.
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
Last edited by shanghei on May 17th, 2009, 9:53 pm, edited 1 time in total.
Re: Video_TS to ISO
Change
to
Should work then
Code: Select all
IF EXIST "%dirname%\video_ts" CALL makeISO
Code: Select all
IF EXIST "%dirname%\video_ts" GOTO makeISO
Eejit - The name say's it all !!
Re: Video_TS to ISO
That fixed it, thanks alot both of you !
Re: Video_TS to ISO
Anyone else in windows looking to do this here is the script I use that works perfect
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!
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
Thanks guys for the help this will make my life easier!
Re: Video_TS to ISO
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?
Anyone know the command for that?