Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

NOTE: this was solved by installing the package including "libfaad" on the system. On Fedora this would be the package "faad2". - Jan 04 2009
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

Hi -- I just tried this over here: Converted an MP3 to M4A with 128k bitrate. The result was playable. Then I converted that M4A back to MP3 and that was also playable.

When you first started my script, the first window should identify what it thinks the source file is. It is possible that the file claims to be one thing but in fact is something else. My M4P looks like this: ISO Media, MPEGv4 system, iTunes AAC-LC. It also lists a duration, bitrate, etc.

If you see this, it would seem that it is a proper file AND that you have a codec that recognizes it. You could try: ffmpeg -format | grep m4a

The last line you get back should be similar to: D mov,mp4,m4a,3gp,,,,,,Motion JPEG 2000 format

If you don't see that, you may need to install something to support the format.

Keep me posted!

-- Marc - Dec 25 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

The script will first identify the format of the original and ask if you want the destination to be the same or some other format. You can choose to convert to more than one destination format in a single run.

Then you get a chance to specify the new image size. You can select multiple sizes in a single run.

Finally, if you have chosen jpeg as an output format, your are prompted for the quality factor.

If you've chosen more than one output format or more than one resolution, the program will loop to produce them all. - Dec 15 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

Right now, the script explicitly restricts itself to processing a single input file at a time (though when processing images it can produce lots of output files in a single run).

The reason I did this was that if you had selected multiple files that needed to be processed differently, it would have to ask lots of questions as it looped through them.

This could easily be done, though. Let me know what exactly you're trying to do, so I have an idea of what would make sense -- are you thinking of all input files being of the same type (as in a bunch of FVL files to convert to AVI, or a bunch of PNG files all to have the same conversions to GIFs)?

I will implement whatever makes sense to do. Thanks for the input!

-- Marc
- Dec 05 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

Can't duplicate the problem, but did add a USAGE which will appear when no filename is specified. This could happen from the command line if no filename is given, when used as a nautilus-action if %M is not specified in Parameters, or when used as a nautilus-script if the desktop (and not a file icon) is selected when avconvert is executed.

Working on some new stuff so check back when the version changes (to higher than 0.14). - Nov 25 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

Looking into it...

Glad you like the script! - Nov 25 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

FIXED!

Of course it was tempting to require that input files have valid extensions. It was more fun to work around bad or incorrect ones. Your mileage may vary :-) - Nov 17 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

I just tried with "no extension" (got a warning and the script appended "new" to the destination) and "bad extension" (a source text file ending in ".ddd" was properly identified and converted).

Let me know what you found that made the script fail and I'll fix it immediately.

Thanks! - Nov 17 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

I just tried with "no extension" (got a warning and the script appended "new" to the destination) and "bad extension" (a source text file ending in ".ddd" was properly identified and converted).

Let me know what you found that made the script fail and I'll fix it immediately.

Thanks! - Nov 17 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

OK, I got it wrong on the first try, but the bitrate is now working. Download the new version 0.05 and please let me know if this does what you want. - Nov 08 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

More useful now?? - Nov 05 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

NEW VERSION!!!! I added a bit - Nov 05 2008
Audio/Video/Image/Text/ISO Convert

Nautilus Scripts by marc41 383 comments

I'm so glad this is being downloaded that I've decided to add a little more brains to it.

INPUT FILE: Currently, it tries to identify the source file type and exits if it cannot be identified by the "file" command and also is not listed as an exception. The new version will let you TELL avconvert whether to treat the source as image or audio or video.

OUTPUT FILE: Currently, it offers a set of output types that are common, but many more are possible. The new version will let you choose OTHER and avconvert will do its best to create it.

- Nov 05 2008