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 Thu 18 Dec 2014, 10:26
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
FFConvert - multimedia converter
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 16 [228 Posts]   Goto page: 1, 2, 3, ..., 14, 15, 16 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: 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.
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:



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:
#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.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.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Mon 23 Jun 2014, 00:44; edited 51 times in total
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Wed 31 Mar 2010, 04:25    Post subject: Re: FFConvert - multimedia converter
Subject description: a frontend of ffmpeg, libx264 - MPEG-4 AVC encoder
 

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.
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: 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:
Code:
ffmpeg -formats


The large pet adds only one, libx246 - MPEG-4 AVC/H.264 video codec.
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4423

PostPosted: 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.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: 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
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4423

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: 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.
ffconvert_v06.png
 Description   
 Filesize   12.13 KB
 Viewed   16340 Time(s)

ffconvert_v06.png

Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: 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
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: 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
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4423

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: 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
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 15 Apr 2010, 09:31    Post subject:  

This looks really good! Thanks for making it.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 16 [228 Posts]   Goto page: 1, 2, 3, ..., 14, 15, 16 Next
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.0959s ][ Queries: 13 (0.0059s) ][ GZIP on ]