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 23 Apr 2014, 02:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
HandBrakeCLI with GUI
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
kirk

Joined: 11 Nov 2005
Posts: 1365
Location: florida

PostPosted: Fri 01 Jan 2010, 02:38    Post subject:  HandBrakeCLI with GUI
Subject description: HandBrake DVD ripper and Gtkdialog GUI
 

Compiled HandBrakeCLI from svn on 12/30/09. I packaged it with a simple GUI. There's two packages, one for Puppy 4.3 and one for Fatdog2 32bit. The Fatdog one might work with other pups that have newer glibc (dpup quirky).


The one for Puppy 4.3:

http://puppylinux.asia/tpp/kirk/handbrake4.3-123009.pet


The one for Fatdog2 32bit:

http://puppylinux.asia/tpp/kirk/Fatdog2-32bit/pets/handbrakeFD32-123009.pet

EDIT: For documentation on the GUI see the third post down the page.

screen1.jpg
 Description   
 Filesize   16.21 KB
 Viewed   2396 Time(s)

screen1.jpg

screen2.jpg
 Description   
 Filesize   18.29 KB
 Viewed   2408 Time(s)

screen2.jpg

screen3.jpg
 Description   
 Filesize   10.08 KB
 Viewed   2391 Time(s)

screen3.jpg

screen4.jpg
 Description   
 Filesize   18.8 KB
 Viewed   2409 Time(s)

screen4.jpg


Last edited by kirk on Fri 01 Jan 2010, 12:12; edited 1 time in total
Back to top
View user's profile Send private message 
gposil


Joined: 06 Apr 2009
Posts: 1305
Location: Stanthorpe (The Granite Belt), QLD, Australia

PostPosted: Fri 01 Jan 2010, 03:17    Post subject:  

Yes kirk, I can confirm that the FatDog version works perfectly in Dpup...so I will add it to the Dpup repository...

Many Thanks
Guy

_________________
Dpup Home
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
mikeb


Joined: 23 Nov 2006
Posts: 7208

PostPosted: Fri 01 Jan 2010, 06:15    Post subject:  

Kirk...what version of glibc is needed? as the latest binary from handbrake needed a newer glibc than puppy had (I stuck with 0.9.2 ..half the size too) so I assume you dealt with that.

By the way I was just going to tart up my gui effort and there you go making me jealous Very Happy Smile
Nice one anyway as their version is so demanding on dependancies. Smile

regards

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

Joined: 11 Nov 2005
Posts: 1365
Location: florida

PostPosted: Fri 01 Jan 2010, 12:09    Post subject:  

I might have been wrong about glibc being the problem, it could have been libc or libstdc. Not anything you would want to update anyway. So I compiled HandBrakeCLI in Fatdog2 and Puppy 4.3.

Also, let me give a better description of what the GUI is doing.


The first window asks you if you want to scan the DVD. This is to get a listing of the titles on the DVD. A DVD usually has many titles of various lengths. One these titles is the main movie, usually that's the longest one. Some newer DVDs will have lots of titles, so scanning it can take from a few seconds to a couple minutes.

Then the main window opens. The first tab only has a couple options. The "Use libdvdnav" check box allows you to tell Handbrake to use libdvdread instead of libdvdnav, if you uncheck it. You normally will want to leave this box checked so that libdvdnav is used. Some newer DVDs will only playback correctly with libdvdnav. But if the DVD is so scratched up that it hangs when you play it, you'll want to uncheck the box. Handbrake is able to skip over scratches when using libdvdread, when using libdvdnav it works much like a DVD player.

The Second tab will list the titles along with their duration. Titles that have no duration are not listed. If you answered "No" on the first window, this tab will just have a box to type in the title number that you want to rip. Some DVDs are really sneaky, they'll have lots (maybe 99) of titles and many will be nearly the same size. If this is the case you'll need to play the DVD in a media player and determine the exact length of the main title or even better, the title number. With Xine-ui, if I move the time slider back and forth when the main title starts playing it will display the title number. Other media players might display the title number directly. Some times the exact length is all you need.

The last tab has these options:

Audio Encoder -- lets you choose which audio codec to use.

Video Encoder --- lets you choose which video codec to use.

Output Format -- lets you choose which container to use.

Subtitles --- lets you choose which subtiles to use. Note: not all titles include subtitles. Haven't tested this feature.

Ipod-Iphone --- lets you choose to format for ether Ipod or Iphone/Ipod thouch . These are presets will override any selections made above. This renders a file that has the resolution reduced and uses x264 in a mp4 container. These settings may work well for other mobile devices or if you just want really small files.

All of the above settings will be saved in a file ~.hbgui for the next time that you run this. Then you have input boxes for the destination directory and the file name. NOTE: Not all containers can handle all codecs. This page may be useful:

http://en.wikipedia.org/wiki/Comparison_of_container_formats
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7208

PostPosted: Fri 01 Jan 2010, 13:06    Post subject:  

Quote:
Subtitles --- lets you choose which subtiles to use. Note: not all titles include subtitles. Haven't tested this feature.


I found out the hard way that (unless it has changed) subtitles may get lost if autocropping is used (the default) so if they are selected I set cropping to 0:0:0:0

Interesting about dvdnav/dvdread..I had this argument with them about poor handling of scratched dvd's..they said they were not interested in the dvd side but 2 releases later behaviour did improve...and now I know why Smile

Apparently it can handle more than dvd input now...perhaps could develop into a general purpose format converter

regards

mike

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


Joined: 23 Nov 2006
Posts: 7208

PostPosted: Fri 01 Jan 2010, 20:53    Post subject:  

Hmm..they dropped avi...perhaps not the greatest loss but Xvid...for speed reasons in spite of quality (and ease of playing)...funny lot there.
Nice compile...seems ok right back to glibc 2.3 Smile.
mike
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sat 03 Apr 2010, 17:38    Post subject:  

Please, if you can face it. Can you add a combo box dvd drive selector? Here is the part of code I think you need from pdvdrsab:
Code:

===============================
From pdvdrsab. Lines :93 to 118
===============================

WHOAMI=`whoami`

##I wanted to make the script not depend on probedisk to find your cd drives
##so I scanned /dev/ & /media/ (used in other distros) for cd & dvd
rm -f /tmp/$WHOAMI-pvobcopy-PROBEDISK 2>/dev/null
if [ "`which probedisk`" != "" ]; then
probedisk | grep -i cd-*rom | cut -f 1 -d '|' 2>/dev/null > /tmp/$WHOAMI-pvobcopy-PROBEDISK
else
ls /dev/cd* 2>/dev/null > /tmp/$WHOAMI-pvobcopy-PROBEDISK
ls /dev/dvd* 2>/dev/null >> /tmp/$WHOAMI-pvobcopy-PROBEDISK
ls /dev/scd* 2>/dev/null >> /tmp/$WHOAMI-pvobcopy-PROBEDISK
ls /dev/sr* 2>/dev/null >> /tmp/$WHOAMI-pvobcopy-PROBEDISK
ls /media/cd* 2>/dev/null >> /tmp/$WHOAMI-pvobcopy-PROBEDISK
ls /media/dvd* 2>/dev/null >> /tmp/$WHOAMI-pvobcopy-PROBEDISK
fi

##add the found drives to the combobox in the gui
PROBEDRIVES=""
for ONEDRIVE in `cat /tmp/$WHOAMI-pvobcopy-PROBEDISK`
do
 PROBEDRIVES="$PROBEDRIVES<item>$ONEDRIVE</item>"
done

=================================
From pdvdrsab. Lines :152 to 159
=================================

    <hbox>
    <text><label>Select your DVD drive</label></text>
    <combobox>
     <variable>PROBECOMBO</variable>
     <visible>enabled</visible>
$PROBEDRIVES
    </combobox>
    </hbox>
Back to top
View user's profile Send private message Visit poster's website 
chrome307


Joined: 15 Jan 2009
Posts: 713

PostPosted: Tue 06 Apr 2010, 05:49    Post subject:  

Hi there

Does anyone have a the version of Handbrake that would include the creation of AVI's using the XviD codec?

Thanks
Back to top
View user's profile Send private message 
Warrior522

Joined: 03 Aug 2010
Posts: 91

PostPosted: Thu 30 Dec 2010, 20:45    Post subject:  

Links are dead; repost please?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
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.0607s ][ Queries: 12 (0.0038s) ][ GZIP on ]