LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2004, 09:30 AM   #1
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
dvd ripping


is there a way to rip dvds with k3b so i can just rip a clip and not the whole thing? if not whats a good program to do that in linux. i had acidrip working for a while but i didnt get to rip anything and now it wont work at all.
 
Old 05-17-2004, 10:36 AM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
give a try to dvd::rip. Although the web page is closed (at least a week ago) due patents protest.
 
Old 05-17-2004, 02:17 PM   #3
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Original Poster
Rep: Reputation: 31
ok im trying out dvd::rip and i can rip things from between one fram to another but is there anything that will let me rip from one point in time to the next using minutes and seconds or is there a way to tell what frame the movie is on in either xine or mplayer?
 
Old 05-18-2004, 03:43 AM   #4
dangaz
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Talking

doralsoral:

I wrote this script for you.

save it as framefromtime.sh
go into a console
run 'chmod +x framefromtime.sh'
then run 'framefromtime.sh <your video standard> <minutes> <seconds>'

example: 'framefromtime.sh PAL 56 28' would give you the frame at the start of 56m:28s in the film

this is the first shell script i've written to do anything useful so don't give me crap if it's not written well, it works and that's all i care about

ENJOY

Code:
#!/bin/sh
# Converts time in minutes+seconds to frames in PAL (25fps),
# NTSC (29.97fps), or NTSC/film (24fps) video.
#
# (C) Copyright 2004 Daniel Phillips (dangaz).
# Permission is granted to use, distribute, modify,
# whatever, just keep my name on it somewhere :).
#
# usage:
#                  FORMAT:          MINUTES:      SECONDS:
# framefromtime.sh [PAL|NTSC|FILM]  [123]         [45]

function dumpusage
{
        printf "correct usage: framefromtime.sh [PAL|NTSC|FILM] [minutes] [seconds]"
}

if [ $# != 3 ]; then
	echo $(dumpusage)
	exit 1
fi

if [ $1 = "PAL" ]; then
	fps=25
elif [ $1 = "NTSC" ]; then
	fps=30
	echo "WARNING: using 30fps instead of 29.97 for ease of use"
elif [ $1 = "FILM" ]; then
	fps=24
else
	echo $(dumpusage)
	exit 1
fi

secs=$((($2*60)+$3))

frame=$(($secs*$fps))

vidtime="$2:$3"

echo "At $fps frames per second, $vidtime would put you at frame $frame"
exit 0

Last edited by dangaz; 05-18-2004 at 05:58 AM.
 
Old 05-18-2004, 08:07 AM   #5
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Original Poster
Rep: Reputation: 31
hey thanks a lot that was very nice of you, talk about getting good responses on here, woo hoo!
 
Old 05-19-2004, 06:45 AM   #6
dangaz
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Thumbs up

No worries glad to help
 
Old 05-19-2004, 06:50 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Use acid_kewpie's Acidrip. I think it's easier to use and work with over most others. And acid_kewpie is a moderator here, what better way to get help from the person who wrote it..

http://acidrip.sf.net
 
Old 05-19-2004, 09:15 AM   #8
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Original Poster
Rep: Reputation: 31
yeah i teried acid rip but now it wont work i get this:
AcidRip message - Loading DVD... please wait
Can't call method "read_disc" on an undefined value at /usr/bin/acidrip line 84.
and it worked before
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD ripping mailavj Linux - Software 6 05-30-2005 08:08 PM
dvd ripping Mega-Hawk Linux - Software 2 03-18-2005 01:38 PM
dvd ripping mouth Mandriva 3 01-21-2005 09:37 AM
dvd ripping kurrupt Linux - Software 8 08-31-2004 09:17 PM
DVD Player, and DVD/MP3 ripping Roy-Svork Linux - Software 8 05-28-2003 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration