Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 01 Sep 2015, 22:23
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
xdvdtool - rip, shrink, author, burn small footprint
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [62 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 21 Aug 2006, 15:47    Post subject:  xdvdtool - rip, shrink, author, burn small footprint  

I wrote a little gui front end in xdialog for vobcopy, vamps, dvdauthor, and growisofs to perform the ripping, shrinking, authoring, and burning of a dvd. It's really basic but keeps you from having to know the command line and definitely has a small footprint. Any feedback on this tool would be nice. Make sure you enter the setup option first before you try to perform any tasks. You'll need to download vobcopy & vamps which I posted below. dvdauthor is found at:

(make sure you use this version since other versions may not work)
http://dotpups.de/dotpups/Multimedia/dvdauthor-0.6.12-alpha-patched-w-libdvdread.pup

Here's the updated xdvdtool:

http://www.murga.org/~puppy/download.php?id=2819

Last edited by plinej on Sat 26 Aug 2006, 01:03; edited 8 times in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 21 Aug 2006, 15:48    Post subject:  

Here's vobcopy

vobcopy depends on libdvdread.so.3
which is already in the dvdauthor dotpup
vobcopy.pup
Description 
pup

 Download 
Filename  vobcopy.pup 
Filesize  25.31 KB 
Downloaded  431 Time(s) 

Last edited by plinej on Mon 21 Aug 2006, 15:51; edited 1 time in total
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 21 Aug 2006, 15:49    Post subject:  

Here's vamps
vamps.pup
Description 
pup

 Download 
Filename  vamps.pup 
Filesize  42.94 KB 
Downloaded  406 Time(s) 
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7456
Location: Perth, Western Australia

PostPosted: Mon 21 Aug 2006, 21:38    Post subject:  

This is very exciting!!!! Very Happy
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Mon 21 Aug 2006, 23:55    Post subject:  

I hope you like it! I've ripped 2 dvds so far and it worked well. I'm happy with it overall but I'm sure some improvements can be made to it.
Back to top
View user's profile Send private message 
fluxit


Joined: 24 Jun 2006
Posts: 326
Location: Ketchikan, AK USA

PostPosted: Tue 22 Aug 2006, 04:46    Post subject:  

I'm going to give this a whirl tomorrow. Very Happy
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7456
Location: Perth, Western Australia

PostPosted: Tue 22 Aug 2006, 09:49    Post subject:  

Testing on the puppy 2.10-pre I got some syntax errors in the code.
I messed around a bit, code not cleaned up, but I've shown where I've
done stuff with my initials "BK".

I ripped a video dvd, and it was only 2.7G so chose next to author a dvd,
and after burning back to dvd, Gxine wouldn't recognise it. It said there
was no suitable plugin.

Note, I discovered that growisofs in 2.10 doesn't work. It gives an error
message "unable to anonymously mmap 33554432: resource temporarily
unavailable".
However, when I substituted the growisofs from Puppy 2.02, it worked.
The version used in 2.10 is 6.0, in pup 2.02 it's 5.21.
...I'll have to get onto the author of dvd-rwtools about that.
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7456
Location: Perth, Western Australia

PostPosted: Tue 22 Aug 2006, 09:51    Post subject:  

Um, here's my hacked files...
xdvdtool-0.1.tar.gz
Description 
gz

 Download 
Filename  xdvdtool-0.1.tar.gz 
Filesize  2.52 KB 
Downloaded  329 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
mouldy


Joined: 04 May 2005
Posts: 503

PostPosted: Tue 22 Aug 2006, 14:38    Post subject:  

Ok I am having troubles with vobcopy I believe. After doing above and running setup in xdvdtool, I run xdvdtool with a dvd movie in dvdburner. Up flashes a console screen like it is looking for decryption key then that quickly disappears leaving this:

Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 22 Aug 2006, 16:25    Post subject:  

hmm, I should add I'm running Puppy 2.02 and haven't experienced any errors with my initial version. Although I'll check out your revisions Barry. This is my first attempt at scripting in xdialog so any help and/or corrections from anyone will be fine by me.

mouldy,

what happens if you try to run vobcopy from the command line? You don't need to mount your dvd drive just put the dvd in the drive and type the following at the command line:

vobcopy -i /dev/(WHATEVER-YOUR-DVD-READER-IS) -o /path/to/your/save/directory -t ripped -l
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 22 Aug 2006, 17:15    Post subject:  

Barry, I tried your edited scripts and the vamps-shrink script seems to be screwed up because I can't get it to shrink to the desired size. I'm looking into that right now. I need to work on the author script too because the final authoring is screwed up. I'm going to try and fix them now.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Tue 22 Aug 2006, 19:44    Post subject:  

I'm posting the fix for the author script but I'm still working on the vamps-shrink script. I'm heading out to work in a few minutes so I probably won't get to it until tomorrow sometime.
Just unpack this and replace your /usr/local/xdvdtool/author with it.
author.tar.gz
Description 
gz

 Download 
Filename  author.tar.gz 
Filesize  586 Bytes 
Downloaded  339 Time(s) 
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7456
Location: Perth, Western Australia

PostPosted: Tue 22 Aug 2006, 21:07    Post subject:  

moudly got that error about 'ripped1.vob' not found because it doesn't exist.
That '1' is a title number, and it seems that it can be something else.
With the DVD I tested, I got 'ripped3.vob' -- I modified the code (in the
previous upload) to handle 'ripped*.vob'.
Back to top
View user's profile Send private message Visit poster's website 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 23 Aug 2006, 11:00    Post subject:  

although I had luck authoring a couple of the vamps shrunk vob files from 2 ripped dvds I'm getting errors when trying to author another. I'm getting "ERR: SCR moves backwards, remultiplex input". It appears I need to de-multiplex and re-multiplex to fix this issue. After googling it seems this is a rather common dvdauthor error. To fix this I need to edit the scripts and include packages for mplex (from transcode) & mpeg2desc (from dvdauthor). I'm working on it now and when I'm done I'll post a new dotpup that includes Barry's & my fixes. Then we can do some more testing.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Wed 23 Aug 2006, 11:46    Post subject:  

How would I go about applying this patch to dvdauthor?

-----------------------------------------------------------------------------------------



--- dvdvob.c.orig 2006-08-11 20:11:06.000000000 -0600
+++ dvdvob.c 2006-08-11 20:24:48.000000000 -0600
@@ -1004,10 +1004,8 @@
}
if( buf[0]==0 && buf[1]==0 && buf[2]==1 && buf[3]==0xba ) {
pts_t newscr=readscr(buf+4);
- if( newscr < lastscr ) {
- fprintf(stderr,"ERR: SCR moves backwards,
remultiplex input.\n");
- exit(1);
- }
+ if( newscr < lastscr )
+ fprintf(stderr,"WARN: SCR moves backwards from
%lld to %lld\n", lastscr, newscr);
lastscr=newscr;
if( !hadfirstvobu )
backoffs=newscr;



------------------------------------------------------------------------------------------------

That's supposed to make it force through the errors and supposedly play just fine.
I don't know why they just don't have a --force switch for dvdauthor.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 5 [62 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0986s ][ Queries: 12 (0.0133s) ][ GZIP on ]