Re: DVD & how to overcome mkisofs
hi all . now i use openbsd snapshots(6.6) and manage to watch DVD . 1) mount /dev/cd0c /mnt 2)$ mplayer -v /mnt/VIDEO_TS/VTS_11_1.VOB | grep 'audio stream' ==> Found audio stream: 128 ==> Found audio stream: 129 3)mplayer /mnt/VIDEO_TS/VTS_11_1.VOB -aid 129 -nosub -- regards
Re: DVD & how to overcome mkisofs (zsh function)
thanks reply . i managed to find http://qiita.com/yuku_t/items/77c23390e52168a2754a . perhaps 1) chsh -s zsh 2) edit .zshrc fpath .or FPATH . /usr/local/share/zsh/5.0.5/functions/ autoload ...genisoimage then genisoimage go but i do not understand now how to use functons of zsh . imaginatin only --- tuyosi
Re: DVD & how to overcome mkisofs
On Thu, Aug 14, 2014 at 9:52 PM, Tuyosi Takesima wrote: > Josh's advise make me forward. > i upgrade snapshots . > and pkg_add zsh . > > then > '/usr/local/share/zsh/5.0.5/functions/_genisoimage' appear . > > head /usr/local/share/zsh/5.0.5/functions/_genisoimage > is next . > > #compdef genisoimage > _arguments \ > '-nobak[do not include backup files]' \ > '-no-bak[do not include backup files]' > > but i do not understand how to make genisoimage . > i only imagine _a2ps has the same method . Would this page help? http://www.debianadmin.com/genisoimage-creates-iso-9660-cd-rom-filesystem-images.html Or is it information you already have? > genisoimage make smaller image than mkisofs. > so it is useful to burn DVD. > --- > tuyosi > -- Joel Rees Be careful where you see conspiracy. Look first in your own heart.
Re: DVD & how to overcome mkisofs
Josh's advise make me forward. i upgrade snapshots . and pkg_add zsh . then '/usr/local/share/zsh/5.0.5/functions/_genisoimage' appear . head /usr/local/share/zsh/5.0.5/functions/_genisoimage is next . #compdef genisoimage _arguments \ '-nobak[do not include backup files]' \ '-no-bak[do not include backup files]' but i do not understand how to make genisoimage . i only imagine _a2ps has the same method . genisoimage make smaller image than mkisofs. so it is useful to burn DVD. --- tuyosi
Re: [Bulk] Re: DVD & how to overcome mkisofs
previously on this list Stuart Henderson contributed: > I think it may be better to change the group ownership of the device > node instead - I don't see the need for mplayer to have access to the > other privileges that "operator" allows. brw-r- 1 cdwrite cdread6, 2 Jul 19 17:36 /dev/cd0c How about having cdwrite and cdread groups by default for users to add to? -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd ___
Re: [Bulk] Re: DVD & how to overcome mkisofs
previously on this list Kevin Chadwick contributed: > > I think it may be better to change the group ownership of the device > > node instead - I don't see the need for mplayer to have access to the > > other privileges that "operator" allows. > > brw-r- 1 cdwrite cdread6, 2 Jul 19 17:36 /dev/cd0c > > How about having cdwrite and cdread groups by default for users to add > to? doh!, and the user can suid mplayer etc.. too restrictive umask may cause issues but cdwrite can always be added to groups too? -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd ___
Re: DVD & how to overcome mkisofs
On Wed, Jul 23, 2014 at 08:31:57AM +, Stuart Henderson wrote: > I think it may be better to change the group ownership of the device > node instead - I don't see the need for mplayer to have access to the > other privileges that "operator" allows. That's something I have not previously considered, and should have. My standard "non-root" userid that I create on my systems I have always added to both the wheel and operator groups as a matter of course, since I use the same userid with dump(8). I had not considered that I had been giving every application I run the same access to /dev. :( I'll change my procedures, and remove the group from my standard userid on all my systems. Thank you very much, stu@, for improving my practices.
Re: DVD & how to overcome mkisofs
On 2014-07-22, Josh Grosse wrote: > On Tue, Jul 22, 2014 at 09:22:24AM +, Stuart Henderson wrote: >> On 2014-07-21, Tuyosi Takesima wrote: >> > ... >> > >> > sudo mplayer dvd://1 -dvd-device /dev/rcd0c -aid 129 >> > >> > ... >> I think it would be better to change permissions on the device - >> mplayer code should not be run as root. > > $ ls -l /dev/cd0c > brw-r- 1 root operator6, 2 Jul 19 17:36 /dev/cd0c > $ > > Perhaps tuyosi-san's user should be added to the operator group. > > This will give the user read access to devices. It may not > be appropriate for all users, but certainly would be OK for one with > wheel group or broad sudo authority. I think it may be better to change the group ownership of the device node instead - I don't see the need for mplayer to have access to the other privileges that "operator" allows.
Re: DVD & how to overcome mkisofs
thanks , kind advise . # usermod -G operator tuyosi
Re: DVD & how to overcome mkisofs
On Tue, Jul 22, 2014 at 09:22:24AM +, Stuart Henderson wrote: > On 2014-07-21, Tuyosi Takesima wrote: > > ... > > > > sudo mplayer dvd://1 -dvd-device /dev/rcd0c -aid 129 > > > > ... > I think it would be better to change permissions on the device - > mplayer code should not be run as root. $ ls -l /dev/cd0c brw-r- 1 root operator6, 2 Jul 19 17:36 /dev/cd0c $ Perhaps tuyosi-san's user should be added to the operator group. This will give the user read access to devices. It may not be appropriate for all users, but certainly would be OK for one with wheel group or broad sudo authority.
Re: DVD & how to overcome mkisofs
On 2014-07-21, Tuyosi Takesima wrote: > Hi al . > > xine is good , but big . > > i hear and see DVD by > > sudo mplayer dvd://1 -dvd-device /dev/rcd0c -aid 129 > > i owe > http://sakamoto.fam.cx/index.cgi?p=Video%2FMPlayer . > > in my case ,i do ' sudo mplayer -v dvd://1 -dvd-device /dev/rcd0c ' > then i get > > audio stream: 0 format: ac3 (5.1) language: en aid: 128. > audio stream: 1 format: ac3 (5.1) language: ja aid: 129. > number of audio channels on disk: 2. > subtitle ( sid ): 1 language: ja > subtitle ( sid ): 3 language: en > and so . > > --- > tuyosi > > I think it would be better to change permissions on the device - mplayer code should not be run as root.
Re: DVD & how to overcome mkisofs
Hi al . xine is good , but big . i hear and see DVD by sudo mplayer dvd://1 -dvd-device /dev/rcd0c -aid 129 i owe http://sakamoto.fam.cx/index.cgi?p=Video%2FMPlayer . in my case ,i do ' sudo mplayer -v dvd://1 -dvd-device /dev/rcd0c ' then i get audio stream: 0 format: ac3 (5.1) language: en aid: 128. audio stream: 1 format: ac3 (5.1) language: ja aid: 129. number of audio channels on disk: 2. subtitle ( sid ): 1 language: ja subtitle ( sid ): 3 language: en and so . --- tuyosi
Re: DVD & how to overcome mkisofs
acording to https://wiki.archlinux.org/index.php/Optical_Disc_Drive_ , -use-the-force-luke=spare:none may be good for growisofs. ---tuyosi
Re: DVD & how to overcome mkisofs
Hi ,all i at last manage to sucseed by advice of misc . --- dvdbackup -M -i /dev/rcd0c -o /home/DVD/NAME mkisofs -dvd-video -o /home/ISO/test.iso /home/DVD/NAME/fogefoge growisofs -dvd-compat -Z /dev/rcd0c=/home/ISO/test.iso --- test.iso is over 7GB . thanks a lot . tuyosi
Re: [Bulk] Re: [Bulk] Re: DVD & how to overcome mkisofs
previously on this list Maurice McCarthy contributed: > > I used to use and liked x-cdroast but have had more success with > > tkdvd > > lately which shows you the commandline that it uses too. > > > Thanks for the tip about tkdvd. I only once tried K3B, because of the > glowing reports it had, but just did not like it. But that was a while > ago. Thinking about it now I think a different burning port segfaulted and simply used tkdvd because I didn't want to run the xcd-roast setup as root and was in a rush. tkdvd has a nopad option for cds which is the only reason I wanted k3b (I think can't pad though!) in order to be able to checksum the cd device file (verify and a security check in one pass) at any time matching the iso checksum. Padding is to get around a bug in some old recorders and whilst I have some drives that can't boot rewritables I have never come across this hardware bug requiring padding that most burning programs annoyingly enforce. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd ___
Re: [Bulk] Re: DVD & how to overcome mkisofs
On 2014-07-07 16:28, Kevin Chadwick wrote: previously on this list Maurice McCarthy contributed: OpenBSD has K3B from the KDE desktop. If I remember rightly I tried k3b on amd64 recently and it didn't work for me even when told which devices to use manually. The latest k3b has switched to rediculously requiring udisks and all the dependencies and nonsense that udisks/polkit pulls in so I didn't use it even on Linux. This ironically for KDE/QT which aims to run everywhere even on Windows. I used to use and liked x-cdroast but have had more success with tkdvd lately which shows you the commandline that it uses too. Thanks for the tip about tkdvd. I only once tried K3B, because of the glowing reports it had, but just did not like it. But that was a while ago.
Re: [Bulk] Re: DVD & how to overcome mkisofs
previously on this list Maurice McCarthy contributed: > OpenBSD has K3B from the KDE desktop. If I remember rightly I tried k3b on amd64 recently and it didn't work for me even when told which devices to use manually. The latest k3b has switched to rediculously requiring udisks and all the dependencies and nonsense that udisks/polkit pulls in so I didn't use it even on Linux. This ironically for KDE/QT which aims to run everywhere even on Windows. I used to use and liked x-cdroast but have had more success with tkdvd lately which shows you the commandline that it uses too. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd ___
Re: DVD & how to overcome mkisofs
On 2014-07-07 04:10, Tuyosi Takesima wrote: Hi ,all . i understand dd's limit . i am considring about " growisofs -dvd-compat -Z $DEV="$FILE" -use-the-force-luke=dao:$SIZE $SPEEDSTR " , but clueless , ' man growisofs' give me no hint especially 'dao's usage' . i only guess "growisofs -dvd-compat -Z /dev/rcd0c=/ISO/test.iso -use-the-force-luke=dao:64k -speed=16 " is this 64k proper? By the way , there are many ' iso to DVD' GUI tools (for example brasero) in Linux . what openBSD has ? toyosi Hi OpenBSD has K3B from the KDE desktop. $SPEEDSTR = "-speed=1 " is the safest setting. ($ man growisofs) dao[:$SIZE] is, I think, usually used for non-iso burning. The latest code is at http://fy.chalmers.se/~appro/linux/DVD+RW/tools/growisofs.c There are a lot of notes but I do not understand it all. Good Luck Mo
Re: DVD & how to overcome mkisofs
Hi ,all . i understand dd's limit . i am considring about " growisofs -dvd-compat -Z $DEV="$FILE" -use-the-force-luke=dao:$SIZE $SPEEDSTR " , but clueless , ' man growisofs' give me no hint especially 'dao's usage' . i only guess "growisofs -dvd-compat -Z /dev/rcd0c=/ISO/test.iso -use-the-force-luke=dao:64k -speed=16 " is this 64k proper? By the way , there are many ' iso to DVD' GUI tools (for example brasero) in Linux . what openBSD has ? toyosi
Re: DVD & how to overcome mkisofs
On 2014-07-06 03:15, Tuyosi Takesima wrote: owing to Maurice advice , i manage to succeed . 1) simple but beautiful dd if=/dev/rcd0c of=dvd.iso bs=64k growisofs -dvd-compat -Z /dev/rcd0c=dvd.iso this image -rw-r--r-- 1 root tuyosi 3882747904 Jul 6 09:42 dvd.iso and is bigger than image made by mkisofs 2984450048 Jul 6 08:21 ISO/test-2.isot considering speed , it is ok . no need finalizing 2) direct from folda made by dbdbackup growisofs -dvd-compat -Z /dev/rcd1c -dvd-video /home/tuyosi/DVD/test/ no need finalizing 3)i do not understand dao so i dont try burn iso made by mkisofs . sorry . thanks tuyosi You are welcome. 4GB iso works easily with the simple method above. DAO is "disk at once". -use-the-force-luke is not documented in the man page. This is deliberate. All are advised to use a GUI. This is especially important for DVD+R dual layer 8GB. Setting the break point to the 2nd layer is difficult. Best Wishes Mo
Re: DVD & how to overcome mkisofs
owing to Maurice advice , i manage to succeed . 1) simple but beautiful dd if=/dev/rcd0c of=dvd.iso bs=64k growisofs -dvd-compat -Z /dev/rcd0c=dvd.iso this image -rw-r--r-- 1 root tuyosi 3882747904 Jul 6 09:42 dvd.iso and is bigger than image made by mkisofs 2984450048 Jul 6 08:21 ISO/test-2.isot considering speed , it is ok . no need finalizing 2) direct from folda made by dbdbackup growisofs -dvd-compat -Z /dev/rcd1c -dvd-video /home/tuyosi/DVD/test/ no need finalizing 3)i do not understand dao so i dont try burn iso made by mkisofs . sorry . thanks tuyosi
Re: DVD & how to overcome mkisofs
Simplest $ sudo chown root:operator /dev/*cd* $ sudo user mod -G operator tuyosi Copy dvd to disk $ dd if=/dev/rcd0c of=dvd.iso bs=64k Burn dvd $ growisofs -dvd-compat -Z /dev/rcd0c=dvd.iso Good Luck Mo
Re: DVD & how to overcome mkisofs
Rip the original DVD with dvdbackup or dvdcpy. (If you do not need to do any transcoding to do you could use "dd" to copy the raw iso.) Have you then tried installing dvdstyler to create and burn your new dvd? It pulls in all necessary dependencies. DvdStyler contains these commands: Create iso mkisofs -V "$VOL_ID" -o "$FILE" -dvd-video "$DIR" Burn a dvd formatted folder growisofs -V "$VOL_ID" -dvd-compat -Z $DEV -dvd-video "$DIR" $SPEEDSTR Burn an iso growisofs -dvd-compat -Z $DEV="$FILE" -use-the-force-luke=dao:$SIZE $SPEEDSTR Good Luck Mo
Re: DVD & how to overcome mkisofs
previously on this list Tuyosi Takesima contributed: > *"sudo mplayer dvd://1 /dev/rcd0c" go well .* > You would be better of modifying the group permissions or adding yourself to the operator group (instead of running complicated mplayer code as root). > > *but by home video , DVD is bigin to be read about 10 second or so but at > last home video give up to read .* > > > *Difficult .* I believe xine is the only half decent unix/linux dvd player (including menu quirks). Even the usually excellent mplayer and vlc fail quite often with dvds. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) In Other Words - Don't design like polkit or systemd ___ ___
Re: DVD & how to overcome mkisofs
thanks to Josf . I succedd in partialy . *mplayer well read directory which is done by dvsbackup .* *mplayer well read iso-image whidh is done by mkisofs .* and, *"sudo mplayer dvd://1 /dev/rcd0c" go well .* *but by home video , DVD is bigin to be read about 10 second or so but at last home video give up to read .* *Difficult .*
Re: DVD & how to overcome mkisofs
On Thu, Jul 03, 2014 at 11:14:40AM +0900, Tuyosi Takesima wrote: > Thanks Josh' s advice , i try it after two days . > In debian , no mkisofs , instead genisoimage . > Times are changing . $ pkg_locate genisoimage zsh-5.0.5p0:shells/zsh:/usr/local/share/zsh/5.0.5/functions/_genisoimage
Re: DVD & how to overcome mkisofs
Thanks Josh' s advice , i try it after two days . In debian , no mkisofs , instead genisoimage . Times are changing .
Re: DVD & how to overcome mkisofs
thanks for reply . sorry , mkhybrid doesn't have ' -udf -dvd-video ' suffics . I guess mkhybrid cannot deal udf file system . --- tuyosi
Re: DVD & how to overcome mkisofs
On Thu, Jul 03, 2014 at 08:54:35AM +0900, Tuyosi Takesima wrote: > Hi , all . > > I try to copy DVD . > but in OpenSD , mkisofs doesn't exist . Yes, it does. But not in the base. Instead, it's available as a 3rd party package/port. You may find databases/pkglocatedb helpful. In this example, the versions of these packages are for -current. $ sudo pkg_add pkglocatedb Ambiguous: choose package for pkglocatedb a 0: 1: pkglocatedb-0.6p1 2: pkglocatedb-0.6p1-src Your choice: 1 pkglocatedb-0.6p1: ok $ pkg_info -L pkglocatedb Information for inst:pkglocatedb-0.6p1 Files: /usr/local/bin/pkg_locate /usr/local/bin/pkglocate /usr/local/man/man1/pkg_locate.1 /usr/local/share/pkglocatedb $ pkg_locate /usr/local/bin/mkisofs cdrtools-3.00p0:sysutils/cdrtools:/usr/local/bin/mkisofs And there we have located the package that contains mkisofs. :)
Re: DVD & how to overcome mkisofs
Use mkhybrid ?? Tuyosi Takesima [nakajin.fu...@gmail.com] wrote: > Hi , all . > > I try to copy DVD . > but in OpenSD , mkisofs doesn't exist . > > > my procedurw is next > I use dvd-rw. > > 1)format > dvd+rw-format -force /dev/rcd0c > > 2)ripping > dvdbackup -M -n test -i /dev/rcd0c -o /home/DVD/ > > > 3) in Linux > mkisofs -udf -dvd-video -o /ISO/test.iso /home/DVD/test > > > 4)burn > growisofs -dvd-compat -speed=16 -Z /dev/rcd0c /ISO/test.iso > > > 5)finalizing (is nessessay? i don't understand) > growisofs -dvd-compat -M /dev/rcd0c=/dev/zero > > > About step 3) , is thre Alternative means in OpenBSD ? > And step 5) is nessesary or not ? > > --- > tuyosi -- "If you see fraud and don't shout fraud, you are a fraud" -- Nassim Taleb
DVD & how to overcome mkisofs
Hi , all . I try to copy DVD . but in OpenSD , mkisofs doesn't exist . my procedurw is next I use dvd-rw. 1)format dvd+rw-format -force /dev/rcd0c 2)ripping dvdbackup -M -n test -i /dev/rcd0c -o /home/DVD/ 3) in Linux mkisofs -udf -dvd-video -o /ISO/test.iso /home/DVD/test 4)burn growisofs -dvd-compat -speed=16 -Z /dev/rcd0c /ISO/test.iso 5)finalizing (is nessessay? i don't understand) growisofs -dvd-compat -M /dev/rcd0c=/dev/zero About step 3) , is thre Alternative means in OpenBSD ? And step 5) is nessesary or not ? --- tuyosi