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 Wed 13 Nov 2019, 07:35
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to Rip a Single Chapter from a DVD?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
Author Message
ozboomer


Joined: 04 May 2005
Posts: 127
Location: Melbourne, Australia

PostPosted: Wed 17 Oct 2007, 18:47    Post subject:  How to Rip a Single Chapter from a DVD?  

I'm not really sure what I'm doing(!)... but I have a DVD that I'm trying to rip using pupdvdtool. I've had a look through the forum for any info but came up with nothing.

vobcopy reports that the DVD has one title and 42 chapters... but all I want to do is rip one specific chapter, not the entire DVD (title).

Is there a way this can be done with pupdvdtool... or should I be looking at using something else?
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Thu 18 Oct 2007, 21:57    Post subject:  

As far as I'm concerned a movie DVD is more akin to a data disc than a music disc. Meaning you can mount it and copy the desired file over using any number or file management tools.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13361
Location: Arizona USA

PostPosted: Thu 18 Oct 2007, 23:14    Post subject:  

Do you want to make a DVD with just the one chapter, that will play in a regular set-top box DVD player?

I don't really know anything that could help you, I'm just curious, and trying to clarify your problem too. Smile
Back to top
View user's profile Send private message 
ozboomer


Joined: 04 May 2005
Posts: 127
Location: Melbourne, Australia

PostPosted: Thu 18 Oct 2007, 23:45    Post subject:  

Actually, it's a music instructional DVD. I'm trying to 'extract' the one 'lesson' so I can (hopefully!) have, like an .MPG or something that I can have the .MPG on the computer and I can load it into a software media player of some sort and loop it between two points, so I can learn how to play this one part of a song.

I doubt I'll be doing any burning or anything... but if it comes to me having to extract the whole DVD to one .MPG file, I'd guess I'd use ffmpeg or something to extract just the portion I want to use.
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Fri 19 Oct 2007, 03:07    Post subject:  

Yeah, but, what you posted doesn't cause me to think its in a music format. That you have a data disc which can be mounted.

Quote:
vobcopy reports that the DVD has one title and 42 chapters... but all I want to do is rip one specific chapter, not the entire DVD (title).


Here's the tree output of a movie DVD mounted on /mnt/cdrom (oh well that's where I mounted it)

[/mnt/cdrom] tree
.
|-- audio_ts
|-- files
| |-- go.exe
| `-- weblink.dxr
|-- jacket_p
| |-- j00___5l.mp2
| |-- j00___5m.mp2
| `-- j00___5s.mp2
|-- mac_clickme
|-- mac_clickme.bin
|-- mac_clickme.hqx
|-- mac_clickme.sitx
|-- pc_clickme.exe
`-- video_ts
|-- video_ts.bup
|-- video_ts.ifo
|-- video_ts.vob
|-- vts_01_0.bup
|-- vts_01_0.ifo
|-- vts_01_0.vob
|-- vts_01_1.vob
|-- vts_01_2.vob
|-- vts_01_3.vob
|-- vts_01_4.vob
|-- vts_02_0.bup
|-- vts_02_0.ifo
|-- vts_02_0.vob
|-- vts_02_1.vob
|-- vts_03_0.bup
|-- vts_03_0.ifo
|-- vts_03_0.vob
|-- vts_03_1.vob
|-- vts_04_0.bup
|-- vts_04_0.ifo
|-- vts_04_0.vob
|-- vts_04_1.vob
|-- vts_05_0.bup
|-- vts_05_0.ifo
|-- vts_05_0.vob
|-- vts_05_1.vob
|-- vts_06_0.bup
|-- vts_06_0.ifo
|-- vts_06_0.vob
|-- vts_06_1.vob
|-- vts_07_0.bup
|-- vts_07_0.ifo
|-- vts_07_0.vob
|-- vts_07_1.vob
|-- vts_08_0.bup
`-- vts_08_0.ifo

4 directories, 46 files
[/mnt/cdrom]

If it weren't a data disc, I couldn't have mounted it, let alone run tree on it. Yet all the music and videos are contained in the files listed.

Sorry, I'm still of the opinion (based on your vobcopy output), that you are dealing with a similar structured disc. That it is a data disc, can be mounted and files copied off it.

For testing and additional verification you can:

Try running vobcopy on a music cd and see the difference in output

Try mounting the dvd and see if it can be mounted.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13361
Location: Arizona USA

PostPosted: Fri 19 Oct 2007, 09:08    Post subject:  

A DVD is a data disk, that much I know. Its file format is called Universal Disk Format, or UDF.
Back to top
View user's profile Send private message 
ozboomer


Joined: 04 May 2005
Posts: 127
Location: Melbourne, Australia

PostPosted: Sat 20 Oct 2007, 03:19    Post subject:  

Ok, a few discoveries here...

a) Yes, simply mounting the DVD lets me get to the .vob files directly, which I can copy and play directly with Gxine. So that solves my initial question, thanks.

I'm guessing the rest of this belongs in other threads but all this stuff is so intertwined(!)...

b) I would normally use ffmpeg to 'extract' a segment of video from an .MPEG or .avi or whatever format file. Trying this with the .vob files copied to a local hard disk, ffmpeg reports a few errors (in both v2.17 and v3.01):

i) As soon as ffmpeg starts, the message 'Compiler did not align stack variables.' is displayed. I've seen this in a few Linuxes and may not be a Puppy issue, per se.

ii) When processing .vob video files (which I've not done before), the message 'No acclerated IMDCT transform found.' is displayed. I have no idea what the impact of this is.

iii) On playback of the extracted video segment, the audio lags the video display by more than half a second (estimated).

At the moment, I've rolled-back my frugal install on my main Linux PC to v2.17, as Gxine seems to behave better there (it might have the trashed display but at least it doesn't randomly hang all the time).

For info of those interested...
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Sat 20 Oct 2007, 06:26    Post subject:  

I think the errors are warnings. But I cold round up a different library for the Compiler did not align stack variables message.

How about comparing arguments? Here are my defaults for flv files. I haven't tried the vobs but would be happy to do it and see if we can come up with something optimum

ffmpeg -i $1 -qscale 1 -ab 56 -ar 22050 -b 3600 $2


where $1 is infile and $2 is outfile

Last edited by Bruce B on Sat 20 Oct 2007, 06:29; edited 1 time in total
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Sat 20 Oct 2007, 06:28    Post subject:  

I think gxine plays better in Xvesa, do you?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13361
Location: Arizona USA

PostPosted: Sat 20 Oct 2007, 11:28    Post subject:  

ozboomer wrote:
... iii) On playback of the extracted video segment, the audio lags the video display by more than half a second (estimated).

MPlayer allows you to adjust the audio delay. I couldn't find such a control in Gxine.

Quote:
At the moment, I've rolled-back my frugal install on my main Linux PC to v2.17, as Gxine seems to behave better there (it might have the trashed display but at least it doesn't randomly hang all the time)...

I found the same thing, Gxine works better in 2.17 than 3.0.
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Sun 21 Oct 2007, 02:12    Post subject:  

Gxine can sync the A/V settings in the GUI

And

In its configuration file.

If the sync seems consistently off, first determine the correction value using the GUI, once that's learned, you can edit the config file for permanent corrected settings.
av-sync.png
 Description   
 Filesize   12.9 KB
 Viewed   1508 Time(s)

av-sync.png

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


Joined: 04 May 2005
Posts: 127
Location: Melbourne, Australia

PostPosted: Sun 21 Oct 2007, 03:16    Post subject:  

Bruce B wrote:
I think gxine plays better in Xvesa, do you?

In general, I think that's true...

Bruce B wrote:
Gxine can sync the A/V settings in the GUI...

Yes.. but the 'out-of-sync' thing seems to be something to do with the 'segment' created by ffmpeg. Other video files (including the large .vob file from which the segment was selected) play Ok and don't need any adjustment... so the GUI settings will help to view the segment but I think the real problem is in how ffmpeg creates the file.

As far as my usage of ffmpeg is concerned, I really have very little idea about the hundreds(?!) of options available in ffmpeg... but the following would normally work on most anything 'conventional' (MPEG, avi, asf, ...):

Code:
# ffmpeg -i CHAP.vob -sameq -b 80000 -vcodec msmpeg4v2 -acodec mp3  segment.avi


Anyway, I think we're getting somewhere... slowly... Smile

    Back to top
    View user's profile Send private message 
    Bruce B

    Joined: 18 May 2005
    Posts: 11488
    Location: The Peoples Republic of California

    PostPosted: Sun 21 Oct 2007, 12:55    Post subject:  

    The out of sync thing on the command line is different that the gxine sync i mentioned. has something to do with a library file supposed compiled wrong. I'll have to wait til I see it again.

    I've never tried to transcode a vob file, but I think Mplayer has builtin save to file options.

    I was surprised to see that you didn't seem to have deCSS problems.

    Yes, the learning curve for this kind of stuff is time consuming.

    Something that may interest you is here:

    http://www.transcoding.org/cgi-bin/transcode

    No reason we can't keep the topic open and add what we learn to it from time to time.
    Back to top
    View user's profile Send private message 
    mikeb


    Joined: 23 Nov 2006
    Posts: 11281

    PostPosted: Sun 21 Oct 2007, 16:09    Post subject:  

    Quote:
    I'm not really sure what I'm doing(!)... but I have a DVD that I'm trying to rip using pupdvdtool. I've had a look through the forum for any info but came up with nothing.

    vobcopy reports that the DVD has one title and 42 chapters... but all I want to do is rip one specific chapter, not the entire DVD (title).

    Is there a way this can be done with pupdvdtool... or should I be looking at using something else?


    Well I use handbrake with puppy which allows encoding of selected chapters only....there are other similar apps too.
    http://handbrake.m0k.org/

    It's a precompiled binary though the versions 0.9+ need glibc 2.4 so may not work...

    mike
    Back to top
    View user's profile Send private message 
    Bruce B

    Joined: 18 May 2005
    Posts: 11488
    Location: The Peoples Republic of California

    PostPosted: Mon 22 Oct 2007, 20:14    Post subject:  

    Mike,

    Thanks for the HandBrake tip and link.

    http://handbrake.m0k.org/

    I downloaded it and extracted the tarball, it contains only one large file, which is sorta cool having it all in one file.

    http://handbrake.m0k.org/?article=download

    It is a totally CLI app which seems fine with this list of posters. I ran it with the --help switch and it didn't complain about any missing dependencies.

    Bruce
    Back to top
    View user's profile Send private message 
    Display posts from previous:   Sort by:   
    Page 1 of 2 [19 Posts]   Goto page: 1, 2 Next
    Post new topic   Reply to topic View previous topic :: View next topic
     Forum index » House Training » Users ( For the regulars )
    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.0642s ][ Queries: 12 (0.0075s) ][ GZIP on ]