| Author |
Message |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Wed 31 Mar 2010, 02:46 Post subject:
FFConvert - multimedia converter Subject description: a frontend of ffmpeg, libx264 - MPEG-4 AVC encoder |
|
FFConverter is a frontend of ffmpeg which can convert audio/video files into various format.
Get FFconvert, should work on puppy 4.x/5.x and puplets.
Current: ffconvert-1.3.1.pet (2012-12-31)
Stable: ffconvert-1.2.2.pet (2012-05-02)
http://shino.pos.to/linux/puppy/
For Precise Puppy, install libav-extra-0.8.3-up.pet for extra codecs. Use 'libvo-aacenc' instead of 'libfaac' for the ffconvert MPEG4-AVC encoding.
For Wary/Racy-5.3, also consider to install FFmpeg-0.8.2 to enable screen capture.
For Puppy-4.x, also consider to install ffmpeg-0.7.6.
NLS:
Install ffconvert_NLS-1.2.1.pet(uploaded on 14 Apr 2012)
Documents for contributors at /usr/share/doc/nls/ffconvert.
Tutorial:
by fon570
http://www.murga-linux.com/puppy/viewtopic.php?t=76023
Post your favorite presets:
- You can load some built-in preset as a base.
- Arrange the options on the main panel of the ffconvert.
- Click 'Save'. Add preferable name.
- The preset file is saved in /root/.config/ffconvert/preset.
- Compress you preset files and attach it on your reply of this topic.
See the document, /usr/share/doc/ffconvert/ffconvert-inside.txt.
DOCUMENT online
SCREENSHOT:
OLD VERSION:
ffconvert-1.0.pet (uploaded on 20 Jul 2010)
NOTE on libx264(MPEG4 AVC):
Converting to libx264(MPEG4 AVC) fails with recent version of ffmpeg.
The reason is the default ffpreset file the ffmpeg assumes does not exist under /usr/share/ffmpeg.
Open the file ~/.config/ffconvert/ffconvert.rc by a text editor.
Find the lines:
| Code: | #DEFVPREFIRST="fastfirstpass"
#DEFVPREFINAL="hq" |
Remove the head character, '#', and set the ffpreset names you can find under /usr/share/ffmpeg.
For example:
| Code: | DEFVPREFIRST="medium_firstpass"
DEFVPREFINAL="medium" |
NOTE on VORBIS: some ffmpeg accept 'libvorvis' instead of 'vorvis'. choose 'libvorvis' at the audio codec combobox in this case.
Note that ffmpeg pet is now provided separately.
NOTE on Audio CD: The 'WAV audio for CD' preset is broken. Use the 'WAV audio for secondlife' instead. But you need not convert the audio file when you burn audio CD's using pburn.
Updates:
# v1.3.1 - 31 Dec 2012: capturing parameters, auto cropping whole foler, fix was failed with spaces in filename (thanks to smokey)
# v1.3 - 17 Jun 2012: upport avconv, fix unsupported codec error message, gtkdialog to avoid yaf-splash incompatibility, vcd for the default
# v1.2.9 - 26 May 2012: x11grab, mkplaylist, notebook, preset group
# v1.2.2 - 30 Apr 2012: fix was failed 2-pass converting, fix was not allowed spaces in the destination path, again codec list under some locale(tnx to Karl Godt)
# v1.2.1 - 14 Apr 2012: fix dots'.' in file names, libvorvis (preset), fix typo (tnx to don 570), speed up make_combo, codec list(tnx toKarl Godt)
version 1.2 - 14 Jan 2012
# 6 aug 2010 progress bar, allow both 'orvis' or 'liborvis' as the codec name
# 16 oct 2011 new crop option
# v1.2 - 14 Jan 2012: Rip a DVD (plinej), pad, log frame, playlist, default players
version 1.0 - 20 Jul 2010
- bugfix: aspect ratio 16:9 was typo 19:6
- buxfix: OGG preset option was upper case (tnx to abushcrafter)
- WebM preset (requires ffmpeg which supports libvpx)
- '-vn' options for some preset of audio only
version 0.9 - 2 June 2010
- bugfix: was failed to handle file names with space.
- bugfix: was wrong sampling frequency for DVD target.
- update japanese translation
version 0.8 - 1 June 2010
- new feature: convert all files in the same directory
- /usr/local/bin/defaultmediaplayer as the player
version 0.7 - 19 May 2010
- bugfix: saving audio sampling rate and channels.
- walkman preset thanks to DaveS.
- german-translation by soliver.
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Tue 15 Jan 2013, 08:58; edited 40 times in total
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Wed 31 Mar 2010, 04:25 Post subject:
Re: FFConvert - multimedia converter Subject description: a frontend of ffmpeg, libx264 - MPEG-4 AVC encoder |
|
TIPS:
- The source and the destination files are better on /mnt/* not to use puppy RAM space for frugal installations.
- You need specify the destination bitrate for 2-pass encoding.
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Wed 31 Mar 2010, 09:01 Post subject:
|
|
Looks good...
What are the full names of the codecs and containers? Could you add (if not existing all ready) support for Theora video, vorbis audio and the ogg container. ffmpeg2theora is a nice CL tool that will do it.
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Wed 31 Mar 2010, 10:36 Post subject:
|
|
| abushcrafter wrote: | | What are the full names of the codecs and containers? |
There are so many to write down here. Please startup FFConvert and look up.
Sorry but Theora video is not supported by these pet. vorbis audio and ogg is supported even by the small pet.
All formats supported by the small pet, you can see by typing on the terminal:
The large pet adds only one, libx246 - MPEG-4 AVC/H.264 video codec.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Wed 31 Mar 2010, 12:42 Post subject:
|
|
You could probably steal some of my code from Woo-FF:
predefined settings for several devices
smart scaling (to prevent squish/stretch)
Puppy supported formats
As supported formats go automatically setting them at first run would be better (I tested once and hardcoded the supported formats) - I originally did it using something like ffmpeg -<listformattag?> |grep E |cut -d " " -f 1 (for encode capability ... grep D for decode)... but I am probably missing something as it seemed more difficult at the time.
I only set up the width variable for smart scaling, but height parameter would be easy enough to add leaving the default values to "auto"
The predefined device settings either came from other projects or were directly contributed by users of the devices.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Wed 31 Mar 2010, 21:21 Post subject:
|
|
tnx technosaurus,
of course i stole your code as long as the gtkdialog3.
as for the special devices, i like to introduce handling preset parameter sets in the future version of FFConvert.
as for the formats, i check ffmpeg up everytime FFConvert starts, because ffmpeg can be updated. i don't think it takes time so much compared with the time to start up gtkdialog3 itself.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sun 04 Apr 2010, 09:43 Post subject:
|
|
here is a .gz of the latest unstable version - all of the presets are in one block
http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=27787
I have a couple of code snippets for recording a webcam and desktop as well - let me know if you need them -I just haven't ironed out how to control stopping of recording from a gui
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Fri 09 Apr 2010, 03:02 Post subject:
FFConvert-0.6 Subject description: Implemented preset options |
|
I have implemented preset feature thanks to Technosaurus.
FFConvert-0.6.pet from here.
| Description |
|
| Filesize |
12.13 KB |
| Viewed |
11710 Time(s) |

|
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Fri 09 Apr 2010, 08:04 Post subject:
ffmpeg-20100408-0.6.pet Subject description: MPEG-4 AVC/H.264, Theora, and Xvid support |
|
Uploaded ffmpeg-20100408-0.6.pet supports 3 more encorders, MPEG-4 AVC/H.264, Theora, and Xvid.
Last edited by shinobar on Sat 03 Jul 2010, 01:22; edited 1 time in total
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Fri 09 Apr 2010, 10:26 Post subject:
|
|
Thanks very much for adding Theora video support! Does/might the pet with a newer ffmpeg conflict with other programs that use/need the older ffmpeg?
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Fri 09 Apr 2010, 11:28 Post subject:
ffmpeg confliction |
|
| abushcrafter wrote: | | Does/might the pet with a newer ffmpeg conflict with other programs that use/need the older ffmpeg? |
I don't know what program are using ffmpeg library. Please report if you encounter any problem.
Most of programs such as Gxine/libxine, avidemux, mplayer and etc. have own library, so playing back the theora movies depend on the applications. Maybe Gxine on most of Puppies does not.
The ffplay combiened the large pet(ffmpeg-20100408-0.6.pet) can play back the theora.
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Fri 09 Apr 2010, 16:18 Post subject:
Re: ffmpeg confliction |
|
| shinobar wrote: | | so playing back the theora movies depend on the applications. Maybe Gxine on most of Puppies does not. | I know.
| shinobar wrote: | | The ffplay combiened the large pet(ffmpeg-20100408-0.6.pet) can play back the theora. | I know.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Fri 09 Apr 2010, 16:25 Post subject:
|
|
ffmpeg versions prior to 0.5.1 MAY break compatibility... especially some older versions
bitrate for example can be off by a factor of 1000
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Fri 09 Apr 2010, 16:50 Post subject:
|
|
| technosaurus wrote: | ffmpeg versions prior to 0.5.1 MAY break compatibility... especially some older versions
bitrate for example can be off by a factor of 1000 | Thanks.
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Thu 15 Apr 2010, 09:31 Post subject:
|
|
This looks really good! Thanks for making it.
|
|
Back to top
|
|
 |
|