FFConvert - multimedia converter

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

FFConvert - multimedia converter

#1 Post by shinobar »

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.
Latest: ffconvert-1.4.2.pet (2014-06-23)
Old: ffconvert-1.4-1.pet (2014-01-07)
ffconvert-1.3.3.pet (2013-07-29)
ffconvert-1.2.2.pet (2012-05-02)

http://shino.pos.to/linux/puppy/ or
http://shino.pos.to/party/bridge.cgi?puppy/opt/

Upgrading to ffconvert-1.4 and later is recommended especially for Precise puppies. Older versions fail to encode WAV for CD.

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:
ffconvert_NLS-1.4.pet[/url] (2013-10-25)
How to conribute, see the document, /usr/share/doc/ffconvert/ffconvert-inside.txt.

Tutorial:
by fon570
http://www.murga-linux.com/puppy/viewtopic.php?t=76023

Post your favorite presets:
  1. You can load some built-in preset as a base.
  2. Arrange the options on the main panel of the ffconvert.
  3. Click 'Save'. Add preferable name.
  4. The preset file is saved in /root/.config/ffconvert/preset.
  5. 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:
Image
Image

OLD VERSION:
ffconvert-1.0.pet (uploaded on 20 Jul 2010)

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 Slacko 5.6, Use 'h264' and 'ac3' instead of 'libx264' and 'libfaac' for the ffconvert MPEG4-AVC encoding.

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: Select all

#DEFVPREFIRST="fastfirstpass"
#DEFVPREFINAL="hq"
Remove the head character, '#', and set the ffpreset names you can find under /usr/share/ffmpeg.
For example:

Code: Select all

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.4 - 25 Oct 2013: allow codecs not in the list (was precice puppy failed to encode WAV for CD)
# v1.3.3 - 29 Jul 2013 SFR and shinobar: fix was failed 2-pass, fix was failed save preset. fix was not read preset.d, fix X264_FFPRESET, codec name aliases, backward compatibility for older versions of ffmpeg
#v1.3.2 - 16 Jun 2013: support ffmpeg 1.2 (SFR)
# 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.
Last edited by shinobar on Mon 23 Jun 2014, 04:44, edited 51 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: FFConvert - multimedia converter

#2 Post by shinobar »

TIPS:
  1. The source and the destination files are better on /mnt/* not to use puppy RAM space for frugal installations.
  2. You need specify the destination bitrate for 2-pass encoding.

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#3 Post by abushcrafter »

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.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

#4 Post by shinobar »

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:

Code: Select all

ffmpeg -formats
The large pet adds only one, libx246 - MPEG-4 AVC/H.264 video codec.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#5 Post by technosaurus »

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.
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].

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

#6 Post by shinobar »

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.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#7 Post by technosaurus »

here is a .gz of the latest unstable version - all of the presets are in one block

http://www.murga-linux.com/puppy/viewto ... h&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
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].

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

FFConvert-0.6

#8 Post by shinobar »

I have implemented preset feature thanks to Technosaurus.

FFConvert-0.6.pet from here.
Attachments
ffconvert_v06.png
(12.13 KiB) Downloaded 19350 times

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ffmpeg-20100408-0.6.pet

#9 Post by shinobar »

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, 05:22, edited 1 time in total.

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#10 Post by abushcrafter »

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?

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ffmpeg confliction

#11 Post by shinobar »

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.

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

Re: ffmpeg confliction

#12 Post by abushcrafter »

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.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#13 Post by technosaurus »

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
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].

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#14 Post by abushcrafter »

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.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#15 Post by jemimah »

This looks really good! Thanks for making it.

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#16 Post by chrome307 »

Thanks for making this :)

I do not have ffmpeg installed in my cutdown puplet, so will the large pet file contain all the software required?

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Libraries lacked

#17 Post by shinobar »

chrome307 wrote:will the large pet file contain all the software required?
I am afraid not.
One of the essencials i know is /usr/lib/libspeex.so.1*, which are in speex-1.2rc1-pup4.pet. Maybe there are more.

Install the large PET, and type a command from the terminal:

Code: Select all

ldd /usr/bin/ffmpeg
Then you can find the library names which lack.

You can find the PETs from here.
i am not sure any other also be required.

User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

#18 Post by chrome307 »

OK, thanks for letting me know :)

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#19 Post by DaveS »

Where is the file containing the pre-sets please. The ones for Walkman are incorrect as they were in wooff. I will correct them and post them here.

OK, figured it. Here are the correct parameters for Walkman 16:9, for 4:3 change the aspect ratio to 4:3 and the screen size to 320x240
Attachments
walkman169.png
(47.04 KiB) Downloaded 2227 times
Spup Frugal HD and USB
Root forever!

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#20 Post by smokey01 »

What would be the required settings for an Omnia i900 smart phone.

The screen resolution is 240x400

I am trying to convert from .MOV file to MPEG4

Thanks

Post Reply