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 23 Oct 2014, 00:41
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 4 of 16 [228 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 14, 15, 16 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 01 Jun 2010, 08:16    Post subject: Convert whole directory  

Thanks Flash and to all:

FFconvert-0.8 can now convert all files in the same directory with one operation.
Try the new version.
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Tue 01 Jun 2010, 16:38    Post subject:  

Bug: FFConvert can't cope with files with spaces in their paths.
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11120
Location: Arizona USA

PostPosted: Tue 01 Jun 2010, 23:35    Post subject:  

What ambushcrafter said, and it is a real pain in the you-know-what.

Haven't I seen a program somewhere in Puppy that changes spaces to _underlines_ and back again?
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Wed 02 Jun 2010, 09:47    Post subject: file names with spaces  

Updated FFconvert to v.0.9 which can handle paths with spaces.
Thanks abushcrafter and flash.
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11120
Location: Arizona USA

PostPosted: Wed 02 Jun 2010, 11:40    Post subject:  

Thanks a bunch. Very Happy I'll try it as soon as I can.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11120
Location: Arizona USA

PostPosted: Sun 06 Jun 2010, 00:44    Post subject:  

Okay, I gave it a try tonight.

I wanted to reduce the size of the files on an mp3 CD audio book, from 92 Kbps stereo to 32 kbps mono, so they would fit on my mp3 player. My first try, I missed the preload option in FFConvert. The minimum bitrate FFConvert would allow was 64 kbps, so that's what I chose for the test.

FFconvert didn't have any problem with spaces in the directory names, but it failed to convert the files to mono or to 64 kbps. I'm pretty sure I set up the GUI correctly, but maybe not.

When that didn't work, I took another look at the GUI and discovered the preload section had an mp3 32 kbps mono option. This also had no problem with spaces in the directories, but it skipped converting three of the 91 mp3 files on the CD. All three files play in Gxine from the CD, but when I tell FFConvert to convert them, it says there is no video or audio stream to convert. Confused

The audio quality of the converted 32 kbps mp3 files is perfectly adequate for my purpose. They sometimes sound slightly rough, like someone speaking through a fan, but if the book is good I get into it and I don't notice the roughness.
Back to top
View user's profile Send private message 
joel


Joined: 26 Feb 2009
Posts: 185
Location: Buffalo, NY & Nottingham, England

PostPosted: Wed 23 Jun 2010, 16:27    Post subject:  

It seems the links to your pet are dead. I keep getting an m86 Gateway error.?
_________________
I am not a Mac, not a PC... I am a Puppy. Idea
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 28 Jun 2010, 05:24    Post subject: Link corrected  

Sorry, the link corrected.
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sat 10 Jul 2010, 16:47    Post subject:
Subject description: Bug
 

For the OGG preset your need to change the file format parameter to "ogg" from "OGG".
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 10 Jul 2010, 19:19    Post subject: case of ogg
Subject description: Bug
 

abushcrafter wrote:
For the OGG preset your need to change the file format parameter to "ogg" from "OGG".

I have no problem with "ogg" in lower case, using the large pet.
what version of ffmpeg you use?
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sun 11 Jul 2010, 17:06    Post subject:  

Your version.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 12 Jul 2010, 08:53    Post subject: Case of ogg  

abushcrafter wrote:
Your version.

Strange.
Will you paste the error log?
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Mon 12 Jul 2010, 11:07    Post subject:  

Code:
#!/bin/sh
ffmpeg -i "/mnt/sda6/Media/Audio/tmp/01-AllSaints-NeverEver.bak.flac" -y -f OGG  -acodec vorbis   -ac 2 -aq 60 "/mnt/sda6/Media/Audio/tmp/01-AllSaints-NeverEver.OGG"
STATUS=$?
echo -n $STATUS > "/tmp/ffconvert_01-AllSaints-NeverEver.tmp"
[ "$STATUS" = "0" ] && exit
echo -n Press [ENTER] to exit :
read REP

_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 13 Jul 2010, 02:55    Post subject: Re: case of ogg  

abushcrafter wrote:
[code]#!/bin/sh
ffmpeg -i "/mnt/sda6/Media/Audio/tmp/01-AllSaints-NeverEver.bak.flac" -y -f OGG -acodec vorbis -ac 2 -aq 60 "/mnt/sda6/Media/Audio/tmp/01-AllSaints-NeverEver.OGG"

As for the preset value in the large pet, ffmpeg-20100408-0.9.pet contains /usr/shar/ffconvert/OGG_theora_vorvis, and it uses lower case 'ogg', not 'OGG'.

-f ogg -vcodec libtheora -b 1000k -acodec vorbis -ab 128k
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Tue 13 Jul 2010, 17:21    Post subject:  

I tried again on a clean pupsave of my very customised Puppy Linux 4.3.2 version3. This time I used the "OGG theora vorbis" preset and that also failed.
Code:
#!/bin/sh
ffmpeg -i "/mnt/sda6/Media/Audio/tmp/01-AllSaints-NeverEver.bak.flac" -y -f OGG  -acodec vorbis   -ac 2 -aq 60 "/root/01-AllSaints-NeverEver.OGG"
STATUS=$?
echo -n $STATUS > "/tmp/ffconvert_01-AllSaints-NeverEver.tmp"
[ "$STATUS" = "0" ] && exit
echo -n Press [ENTER] to exit :
read REP

Here is the SHA1 checksum of the ffmpeg20100408-0.9.pet I am using: eb063a38ebfc9f2667157423e9b15d3fa0a4fd71

An other problem is ffconvert still can't cope with paths with spaces. A feature I would love/badly need is for metadata to be copied across between converted files. FFmpeg has this option:
Code:
-map_meta_data outfile:infile  set meta data information of outfile from infile
But I can't get it to work at all. I have tried it with flac to ogg, flac to acc (yuck) flac to mp3 (yuck) with all possible methods I can think of and it still refuses to do its job Mad. So the only way I can think to do it, Is by using the
Code:
-metadata string=string  add metadata
option to add the metadata with the "-y" option to get the meta data. Here is how far I have got with writing a script to do it:
Code:
#!/bin/sh

ffmpeg -i ""

tracknumber=
artist=
album=
title=
genre=
date=
copyright=
comment=

if ffmpeg -v =  then
   ffmpeg -metadata timestamp="$date" artist="$artist" copyright="$copyright" comment="$comment" album="$album" title="$title" year="" genre="$genre" track="$tracknumber" -i "$in" -acodec copy -vcodec copy "$out"
else
   # -year ?
   ffmpeg -title "$title" -timestamp "$date" -author "$artist" -copyright "$copyright" -comment "$comment" -album "$album" -track "$tracknumber" -year "" -i "$in" -acodec copy -vcodec copy "$out"
The version of FFmpeg that Puppy came with before the 5 series does not have the "-metadata" option. So I used the right options for that version. Hence the "if" statement.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 4 of 16 [228 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, ..., 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.0804s ][ Queries: 13 (0.0075s) ][ GZIP on ]