Is there a video converter for puppy?
Is there a video converter for puppy?
Hello,
Is there a program for puppy (or maybe for debian...) that can convert video formats and/or extract audio from videos?
Thank you
Is there a program for puppy (or maybe for debian...) that can convert video formats and/or extract audio from videos?
Thank you
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM
AMD Athlon 64 3700+
1000 MB RAM
Yes, puppy includes the command line program ffmpeg which is used e.g. by pburn to convert files to the right format to create audio cds or video cds or dvds.
It is well documented, so you should be able to figure out how to do what you want to do.
There are also a number of gui frontends for ffmpeg
It is well documented, so you should be able to figure out how to do what you want to do.
There are also a number of gui frontends for ffmpeg
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
If you want editing functions as well I recommend the excellent avidemux
http://www.murga-linux.com/puppy/viewtopic.php?t=39556
mike
http://www.murga-linux.com/puppy/viewtopic.php?t=39556
mike
You can convert single videos easily using this website
http://www.media-convert.com
Handles all types of files, not just AV.
http://www.media-convert.com
Handles all types of files, not just AV.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
Thank you ecomoney, I just tried this extracting mp3 from an mp4 video and it worked.ecomoney wrote:You can convert single videos easily using this website
www.media-convert.com
Handles all types of files, not just AV.
Thank you disciple, but when I typed "ffmpeg --help" it said:disciple wrote:Yes, puppy includes the command line program ffmpeg which is used e.g. by pburn to convert files to the right format to create audio cds or video cds or dvds.
It is well documented, so you should be able to figure out how to do what you want to do.
There are also a number of gui frontends for ffmpeg
- ffmpeg: error while loading shared libraries: libgsm.so.1: cannot open shared object file: No such file or directory
Pburn, however, does work on my computer.
Where can I get the missing depenmdencies for ffmpeg?
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM
AMD Athlon 64 3700+
1000 MB RAM
Thank you ecomoney, I just tried this extracting mp3 from an mp4 video and it worked.ecomoney wrote:You can convert single videos easily using this website
www.media-convert.com
Handles all types of files, not just AV.
Thank you disciple, but when I typed "ffmpeg --help" it said:disciple wrote:Yes, puppy includes the command line program ffmpeg which is used e.g. by pburn to convert files to the right format to create audio cds or video cds or dvds.
It is well documented, so you should be able to figure out how to do what you want to do.
There are also a number of gui frontends for ffmpeg
- ffmpeg: error while loading shared libraries: libgsm.so.1: cannot open shared object file: No such file or directory
Pburn, however, does work on my computer.
Where can I get the missing depenmdencies for ffmpeg?
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM
AMD Athlon 64 3700+
1000 MB RAM
Puppy comes with a working ffmpeg.
Unless you have some strange puplet that comes with a broken ffmpeg (I haven't heard of one), you must have installed a different ffmpeg version over the top, and it has extra dependencies. The person who made it should have posted them somewhere... or is the ffmpeg-deps.pet you referred to supposed to be specifically for the version of ffmpeg you installed?
Anyway, you can either:
1. Download and reinstall Puppy's original ffmpeg from the Puppy packages repository on ibiblio (you can find your way there from puppylinux.com/download).
2. Boot with the option pfix=clean, which will restore any "official" files to the ones originally included on the puppy CD (FYI this is one of the things that happens if you upgrade puppy to a newer version).
3. Search for the dependencies in the additional software section of this forum. First open a terminal and run `which ffmpeg`, then go to that location (/usr/bin I think) and open a terminal and run `ldd ffmpeg`, which will tell you all the dependencies that are missing, instead of just the first one.
4. Start with a fresh puppy, and don't install a broken ffmpeg this time.
Also, if whoever made the ffmpeg package you installed didn't make it clear how to install the extra dependencies, please complain to them. I'm sick of hearing from people who've installed broken ffmpegs.
Also, if you had no reason for installing the broken ffmpeg, and the person who made it didn't make it clear that ffmpeg was already included in puppy, think about suggesting they do make it clear.
Unless you have some strange puplet that comes with a broken ffmpeg (I haven't heard of one), you must have installed a different ffmpeg version over the top, and it has extra dependencies. The person who made it should have posted them somewhere... or is the ffmpeg-deps.pet you referred to supposed to be specifically for the version of ffmpeg you installed?
Anyway, you can either:
1. Download and reinstall Puppy's original ffmpeg from the Puppy packages repository on ibiblio (you can find your way there from puppylinux.com/download).
2. Boot with the option pfix=clean, which will restore any "official" files to the ones originally included on the puppy CD (FYI this is one of the things that happens if you upgrade puppy to a newer version).
3. Search for the dependencies in the additional software section of this forum. First open a terminal and run `which ffmpeg`, then go to that location (/usr/bin I think) and open a terminal and run `ldd ffmpeg`, which will tell you all the dependencies that are missing, instead of just the first one.
4. Start with a fresh puppy, and don't install a broken ffmpeg this time.
Also, if whoever made the ffmpeg package you installed didn't make it clear how to install the extra dependencies, please complain to them. I'm sick of hearing from people who've installed broken ffmpegs.
Also, if you had no reason for installing the broken ffmpeg, and the person who made it didn't make it clear that ffmpeg was already included in puppy, think about suggesting they do make it clear.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Pburn only uses ffmpeg to convert files for making an audio or video disk. Does it work for that for you?
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Thank you disciple.
I did not install any ffmpeg version on purpose so it should have been the original but some time ago I installed Pburn 2.5.6, maybe that brought its own reduced ffmpeg or something... I'll post a note to the thread where it was introduced.
In the ibiblio site, I found 7 different ffmpeg packages, installed the first one (ffmpeg-2007-10-07-small.pet) and it started, at least it didn't complain about missing libs. (I can't say more yet because I first have to read the manual at the ffmpeg home site)
I did not install any ffmpeg version on purpose so it should have been the original but some time ago I installed Pburn 2.5.6, maybe that brought its own reduced ffmpeg or something... I'll post a note to the thread where it was introduced.
In the ibiblio site, I found 7 different ffmpeg packages, installed the first one (ffmpeg-2007-10-07-small.pet) and it started, at least it didn't complain about missing libs. (I can't say more yet because I first have to read the manual at the ffmpeg home site)
Precise 5.7.1 frugal with .2fs
AMD Athlon 64 3700+
1000 MB RAM
AMD Athlon 64 3700+
1000 MB RAM
No, pburn doesn't install ffmpeg.
I didn't see your signature before... 4.1.2 would definitely come with a working ffmpeg, so I can't figure out what happened to yours...
I didn't see your signature before... 4.1.2 would definitely come with a working ffmpeg, so I can't figure out what happened to yours...
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I recently wrote a simple gtkdialog howto that could be adapted to ffmpeg if someone has the time. It can start out as just an input file and output filetype and grow from there to include resolutions, bit rates etc... To get further ideas on the subject see PawdioConverter. Perhaps this is the logical next step in development. I could throw a simple one together, but since I don't have a need to convert a lot of videos I would much rather mentor a developer with a stake in the game.
For further info
My simple howto thread
http://www.murga-linux.com/puppy/viewtopic.php?t=45474
Zigbert's more advanced examples
http://www.murga-linux.com/puppy/viewtopic.php?t=38608
or just use pfind to find example files containing gtkdialog (there are some more examples in the devx_XXX.sfs)
For further info
My simple howto thread
http://www.murga-linux.com/puppy/viewtopic.php?t=45474
Zigbert's more advanced examples
http://www.murga-linux.com/puppy/viewtopic.php?t=38608
or just use pfind to find example files containing gtkdialog (there are some more examples in the devx_XXX.sfs)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Here is the basic code - aptly named WOO-ff. (Can someone give me a list of all audio and video the formats that puppy's ffmpeg can actually handle properly? )
Code: Select all
#! /bin/bash
if [ $1 = "" ];then
DEFDIR="~/"
else
DEFDIR=`dirname $1`
fi
export CHOOSER="
<window title=\"WOO-ff \"icon-name=\"gtk-cdrom\">
<vbox>
<frame Select your input file>
<hbox>
<entry editable=\"true\" accept=\"filename\">
<variable>FILE1</variable>
<default>$1</default>
</entry>
<button>
<input file stock=\"gtk-file\"></input>
<variable>FILE_BROWSE_FILENAME</variable>
<action type=\"fileselect\">FILE1</action>
</button>
</hbox>
</frame>
<frame Save to directory>
<hbox>
<entry editable=\"true\" accept=\"directory\">
<variable>DIR1</variable>
<default>$DEFDIR</default>
</entry>
<button>
<input file stock=\"gtk-open\"></input>
<variable>FILE_BROWSE_DIRECTORY</variable>
<action type=\"fileselect\">DIR1</action>
</button>
</hbox>
</frame>
<frame choose on-off flags:>
<hbox>
<checkbox>
<label> Overwrite Files </label>
<variable>CBOX1</variable>
<default>false</default>
</checkbox>
</hbox>
</frame>
<frame Output file type:>
<combobox>
<variable>COMBO1</variable>
<item>avi</item>
<item>mp4</item>
<item>mjpeg</item>
</combobox>
</frame>
<hbox>
<button>
<input file icon=\"gtk-ok\"></input>
<label>OK</label>
<action type=\"exit\">EXIT_OK</action>
</button>
<button>
<input file icon=\"gtk-quit\"></input>
<label>QUIT</label>
<action type=\"exit\">EXIT_NOW</action>
</button>
</hbox>
</vbox>
</window>
"
CHOOSER2==`gtkdialog3 --program=CHOOSER --center`
if [ "`echo $CHOOSER2 | grep EXIT_NOW`" != "" ]; then
exit 0
fi
#Get all of the variables
FILE1="`echo "$CHOOSER2" | sed 's/\"//g' | sed 's/=//g' | grep FILE1 | sed 's/FILE1//'`"
WORD1="`echo "$CHOOSER2" | sed 's/\"//g' | sed 's/=//g' | grep WORD1 | sed 's/WORD1//'`"
DIR1="`echo "$CHOOSER2" | sed 's/\"//g' | sed 's/=//g' | grep DIR1 | sed 's/DIR1//'`"
CBOX1="`echo "$CHOOSER2" | sed 's/\"//g' | sed 's/=//g' | grep CBOX1 | sed 's/CBOX1//'`"
CBOX2="`echo "$CHOOSER2" | sed 's/\"//g' | sed 's/=//g' | grep CBOX2 | sed 's/CBOX2//'`"
COMBO1="`echo "$CHOOSER2" | sed 's/\"//g' | sed 's/=//g' | grep COMBO1 | sed 's/COMBO1//'`"
COMBO2="`echo "$CHOOSER2" | sed 's/\"//g' | sed 's/=//g' | grep COMBO2 | sed 's/COMBO2//'`"
NAME=`basename $FILE1`
EXT=`echo ${NAME#*.}`
echo $EXT
NAME=`basename $FILE1 $EXT`
echo $NAME
if [ $CBOX1 = "true" ];then
CBOX1=" -y " #where -y means to overwrite
else
CBOX1="" #setting it back to "null" allows us to pass all parameters without doing more "if thens"
fi
rxvt +sb -bg orange -geometry 80x4 -e ffmpeg -i $FILE1 $CBOX1 -f $COMBO1 $DIR1/$NAME$COMBO1
gxmessage -wrap -name YourProgram "Your file "$NAME$EXT" is now in "$DIR1" When you close this the directory will automatically open so you can verify."
rox $DIR1
unset CHOOSER
- Attachments
-
- woo-ff.png
- (17.32 KiB) Downloaded 2081 times
Last edited by technosaurus on Tue 18 Aug 2009, 02:16, edited 2 times in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
yeah its ffmpeg -formats, but I don't know that they really work. I guess I can add them all and hope someone is willing to test.
anyhow if there is a format that you want just add that "item" to the combo box section area SEE: <item>mp4</item>
anyhow if there is a format that you want just add that "item" to the combo box section area SEE: <item>mp4</item>
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Here is a pet to do the basics. I just added everything that ffmpeg said it could encode and a random quick ipod format checkbox (I don't have an ipod so chances are 50/50 that it works with the latest push from aPpLe)
I added a link so that you can "open with" a file by right clicking on it and selecting woo-ff
Anyhow thats about the extent of my knowledge on video - once you get into the resolutions, and aspect ratios it gets way too mathy, hacky and bashy for me
(NOTE: the default ffmpeg install does not work with every format including the ipod format - the full one in petget is better and needs x264 faac ... too err on the side of caution I also had xvidcore and faad2 installed)
I added a link so that you can "open with" a file by right clicking on it and selecting woo-ff
Anyhow thats about the extent of my knowledge on video - once you get into the resolutions, and aspect ratios it gets way too mathy, hacky and bashy for me
(NOTE: the default ffmpeg install does not work with every format including the ipod format - the full one in petget is better and needs x264 faac ... too err on the side of caution I also had xvidcore and faad2 installed)
- Attachments
-
- woo-ff.png
- (18.53 KiB) Downloaded 791 times
-
- woo-ff-0.1.pet
- (2.56 KiB) Downloaded 436 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
I'd like to just point out that ffmpeg can extract the audio from a video file without converting it or anything, which will prevent any loss of quality. Whether the original audio is in a format you want is another question...
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER