-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (64) . 

Audio/Video/Image/Text/ISO Convert

   0.98  

Nautilus Script

Score 79%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Apr 12 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--
Audio/Video/Image/Text/ISO Convert
zoom


Audio/Video/Image/Text/ISO Convert
zoom


Audio/Video/Image/Text/ISO Convert
zoom


Downloads:  60113
Submitted:  Nov 4 2008
Updated:  Mar 17 2014

Description:

Right-click on a file, and this script will decide what conversions are appropriate, ask some questions about what you want, and execute the proper command and options to convert it into something else.

Multimedia: change formats, bitrate, framerate, size, aspect ratio, and more. Also strip audio.
Audio: change formats, bitrate, volume, and more.
Multimedia and Audio: your most-used sets of options can be stored for future use.
Images: change formats, size, jpg compression, rotate, equalize, and more.
Documents: change formats, text-to-speech, text-to-jpg, and more.
Convert multi-image files, like pdf or animated gif, into a series of frames,
pdf to gif creates animaged gif, animated gif to pdf creates multi-page pdf.
Convert various "CD Images" into standard .iso files.

  • Comments welcome, suggestions invited, votes appreciated.


  • There's a lot of description here, but you don't need any of it to make this work.
    Just download and extract. Then do one or more of these with the file "avconvert":
    (1) move (or copy or link) it to ~/.gnome2/nautilus-scripts
    (2) move (or copy or link) it to somewhere in $PATH (eg /usr/local/bin)
    ..(obviously don't move it twice :-)
    (3) do #2, then add it as a nautilus-action (The Command "Parameters" must be "space-separated list of selected filenames", and "Working Directory" must be "first base directory". On Fedora, these are %F and %d)
    (4) add it to Gnome panel/launch-bar (drag/drop or right-click panel Add/Custom-Application)

    ...Depending on 1, 2, 3, and 4 above (you can do any combination of these), you can now:
    (1) right-click on selected icon(s) and choose the script
    (2) from command line: avconvert filename (quote name(s) with spaces, multiple files OK)
    (3) right-click on selected icon(s) and choose "Avconvert"
    (4) click the icon to launch -or- drag-and-drop file(s) on the icon

    To repeat, you can do as many of these as you want. For example: move the file to ~/.gnome2/natuilus-scripts, then link that to /usr/local/bin, then add it as a nautilus-action, then add it to the gnome-panel.


    Much more than a quick shortcut to a common command, this shell script is over 2000 lines of code!

  • If you feel inclined not to vote "good", tell me why - I'm still actively developing this.
    If you like it and you're not registered, take the time to sign up and vote....
    After all, I took the time to write this and give it away! :-) :-)

    If this has become a tool you use regularly, PLEASE consider a small donation
    A lot of time and effort has gone into bringing this to the "free" world




  • The first run will create some files in ~/.config/avconvert. The files "avconvert", "avconvert.lang", and "avconvert.ffopts.custom" may be hand-edited. A default file will be recreated if any file is missing.

    When using Key-In-Options during audio or video conversion, your ffmpeg options can be saved into the menu for future use. When your Key-In options end in a comment (as in "# my conversion"), a line will be automatically added to the 'custom' section of the ffmpeg options menu.

    There's a progress indicator during conversions. In most cases, it estimates that the result file will grow to the size of the source file. This is not always the case because depending on the conversion the result may be larger or smaller than the original, so it may only reach 25-30% and be finished or quickly rise to 98% and hover there depending on your conversion. Be patient - behind the scenes, the progress window stays up as long as the result file is growing.

    AUDIO: Converts between various formats (see below).

    VIDEO: Converts between various formats. Can also produce audio-only from a video source. Video size can be scaled by specifying a new width - the new height is calculated based on aspect ratio. A video can also be letter-boxed by choosing the aspect ratio of your display device - calculation automatically determines whether to pad on top/bottom or left/right. Videos can also be rotated to compensate for the type of recorder used (this feature is the only one that relies on mencoder). NOTE REGARDING ROTATION - mencoder has some codec limitations, and depending on the source or destination file type, rotation may fail. This will be detected and reported, but without automatically fixing it. The best course of action is to convert the source first, perhaps to AVI, then use THAT file as the source for your rotation and other changes.

    AUDIO AND VIDEO: Can adjust audio volume, sample rate, bitrate. In fact, you can do anything ffmpeg is capable of. Options in default menus offer common operations, but a special KEY-IN function lets you test your own and store them in your own custom file. Further, there's a file of user-submitted options (downloaded separately).

    VIDEO FRAMES: Converts an input video into a series of frames in either jpg or png format. The capture rate can range from 1 to 60 seconds between frames, or 'all'.

    VIDEO MERGE: If you have selected multiple AVI video files, you'll be given the option of merging them. Other video formats will need to be converted to AVI first. Pre-converting is also recommended if AVI files of differing video or audio quality are to be merged. The final AVI can of course then be converted to the format of your choice.

    IMAGES: Convert between various formats. Optionally set resolution for output. If outputting jpg, optionally set quality. A single conversion can specify multiple output types and multiple resolutions.

    ISO IMAGES: Why should "images" be limited to "pictures"? Generate an ISO file from source files in the following formats: b5i, bin/cue, csi, daa, mdf, nrg, pdi, uif.

    IMAGE SPECIAL CASES: Converting an animated gif to a format other than gif will produce a separate file for each frame in the source. Converting a pdf to an format other than pdf does the same thing. In both cases the "progress indicator" will suggest that there was an error, but this is only because the files created are not named in accordance with what it expects. Be patient if the source contains many frames, and do not click Cancel to the progress window. Also, conversion of a .psd (or similar) which contains layers will generate multiple images in some formats (eg jpg), or an animation (eg gif), so you may want to flatten them first.

    TEXT to TEXT: Various conversions between TXT, RTF, HTML, M$Office and OpenOffice, with more being added.

    TEXT to SOUND: Produces an audio file from a .txt file. Choose language, gender, pitch and speed.

    TEXT to IMAGE: Produces an image of your .txt file. Choose the output image size, font size, colors, border, and font. Text is automatically rewrapped as needed, based on the requested image width and font size. After wrapping, if the text will not fit on a single image vertically, multiple image pages will be generated.

    GENERAL:
    - The source file is not overwritten. The destination file is named for the source with a new extension.
    - An image conversion will also insert resolution into the destination name.
    - If any conversion would produce the source filename (eg changing image jpg quality only, or audio bitrate only, or same conversion twice), "new" is inserted into destination name or user is prompted to supply a name.

    If you are missing any packages or plug-ins that it relies on, it will try to help. Help and notes are within the script at the very bottom.

    REQUIRES:
    xterm . . . . . . . . used to inform user if zenity not installed, and to auto-fix zenity defaults
    zenity . . . . . . . . for all dialogs
    ffmpeg . . . . . . . everything video and audio
    imagemagick . . image and text-to-image
    bc . . . . . . . . . . . . to do math calculations

    CODECS (more is always better):
    amrwb
    faac
    faad2
    ffmpeg-libs
    gpac
    gstreamer-ffmpeg
    gstreamer-plugins-*
    xmms2-avcodec
    xmms2-wma

    OPTIONAL:
    transcode . . . . . for merging avi
    translate/libtranslate . language translation
    curl . . . . . . . . . . language translation
    links/elinks . . . . language translation
    nautilus-actions . add directly to context menu
    kdegraphics . . . GUI colors in text-to-image
    espeak . . . . . . . text to audio
    faac . . . . . . . . . required for m4a audio
    faad2 . . . . . . . . mpeg-2 and mpeg-4
    antiword . . . . . . M$Office to txt and rtf
    unrtf . . . . . . . . . rtf to txt and html
    odt2txt . . . . . . . OpenOffice to txt and xml
    txt2tags . . . . . . txt to html
    libavcodec-unstripped-52 . avi to .mp4
    AcetoneISO . . . disk images b5i/cdi/mdf/nrg/pdi to ISO.
    nrg2iso, daa2iso, cdd2iso, uif2iso, bchunk . more disk images to ISO
    mencoder . . . . . to rotate videos

    Upon startup, "ffmpeg" and "file" are both executed against the source file, and the information gathered is displayed in the initial windows. This is helpful in deciding what choices to make, especially if the source file happens to be of an 'unknown' type. If the script cannot figure out what to do with a file, it will let you specify whether to treat it as audio, video, image, or text.

    The destination is chosen from a list of common and appropriate file extensions. If you want something that's not listed, you can click OTHER and type in any extension that is appropriate for the input file type and conversion being done.

    For a typical system (eg, mine :-) conversions for the following image, audio and video formats...

    Image formats supported by convert (ImageMagick)
    -- Readable:
    A ART AVI AVS B BMP C CAPTION CIN CMYK CMYKA CR2 CRW CUR CUT DCM DCR DCX DFONT DNG DPX EPDF EPI EPS EPSF EPSI EPT EPT2 EPT3 FAX FITS FRACTAL FTS G G3 GIF GIF87 GRADIENT GRAY ICB ICO ICON IPL JNG JP2 JPC JPEG JPG JPX K LABEL M M2V MAP MAT MIFF MNG MONO MPC MPEG MPG MRW MSL MSVG MTV MVG NEF NULL O ORF OTB OTF PAL PALM PAM PATTERN PBM PCD PCDS PCL PCT PCX PDB PDF PEF PFA PFB PFM PGM PGX PICON PICT PIX PJPEG PLASMA PNG PNG24 PNG32 PNG8 PNM PPM PS PSD PTIF PWP R RAF RAS RGB RGBA RGBO RLA RLE SCR SCT SFW SGI STEGANO SUN SVG SVGZ TEXT TGA TIFF TILE TIM TTC TTF TXT UYVY VDA VICAR VID VIFF VST WBMP WMF WMZ WPG X X3F XBM XC XCF XPM XV XWD Y YCbCr YCbCrA YUV
    -- Writable:
    A ART AVS B BMP BMP2 BMP3 C CIN CIP CLIP CMYK CMYKA CUR DCX DPX EPDF EPI EPS EPS2 EPS3 EPSF EPSI EPT EPT2 EPT3 FAX FITS FTS G G3 GIF GIF87 GRAY HISTOGRAM HTM HTML ICB ICO ICON INFO IPL JNG JP2 JPC JPEG JPG JPX K M M2V MAP MAT MATTE MIFF MNG MONO MPC MPEG MPG MSL MSVG MTV MVG NULL O OTB PAL PALM PAM PBM PCD PCDS PCL PCT PCX PDB PDF PFM PGM PICON PICT PJPEG PNG PNG24 PNG32 PNG8 PNM PPM PREVIEW PS PS2 PS3 PSD PTIF R RAS RGB RGBA RGBO SGI SHTML SUN SVG SVGZ TEXT TGA THUMBNAIL TIFF TXT UIL UYVY VDA VICAR VID VIFF VST WBMP X XBM XPM XV XWD Y YCbCr YCbCrA YUV
    --NOTE that "readable" or "writable" do not necessarily imply "useful" :-Q

    Audio/Video formats supported by ffmpeg
    -- Read/Write:
    3g2 3gp 4xm MTV RoQ aac ac3 adts aiff alaw amr apc ape asf asf_stream au avi avm2 avs bethsoftvid c93 crc daud dsicin dts dv dv1394 dvd dxa ea ea_cdata ffm film_cpk flac flic flv framecrc gif gxf h261 h263 h264 idcin image2 image2pipe ingenient ipmovie libdc1394 lmlm4 m4v matroska mjpeg mm mmf mov mov,mp4,m4a,3gp,3g2,mj2 mp2 mp3 mp4 mpc mpc8 mpeg mpeg1video mpeg2video mpegts mpegtsraw mpegvideo mpjpeg mulaw mxf nsv null nut nuv ogg oss psp psxstr pva rawvideo redir rm rtp rtsp s16be s16le s8 sdp shn siff smk sol svcd swf thp tiertexseq tta txd u16be u16le u8 vc1 vc1test vcd video4linux video4linux2 vmd vob voc wav wc3movie wsaud wsvqa wv x11grab yuv4mpegpipe




    Changelog:

    [ READ ME!! ] After processing, the last part of the output from the actual conversion program used is displayed to confirm proper operation or to help diagnose any problems. If there are problems, you can view the complete output: in /tmp, list the files with "ls -lrt" which will show the newest at the bottom. The files that capture conversion output are named as follows: conversion-program.NNNNN where NNNNN is the PID of the process that ran. For example, you might see "ffmpeg.8512" or "antiword.405". Just view the file and look for the first error listed, which is probably the culprit.

    =====

    0.56 It is now possible to replace originals during a conversion IF:
    1 - converting images
    2 - converting into the source folder
    3 - converting to only one file type
    4 - converting to only one resolution
    If these conditions are all true, you will be prompted before the conversion begins. If you choose YES:
    1 - originals are replaced with the converted files
    2 - the new files will have a different extension if appropriate
    3 - the new file names will not have the resolution inserted

    0.60 You are invited to submit your own custom option sets, which will be added to a "user submissions" config file that will be posted here and available for download!

    0.61 Now recognizes .vob files - just mount your DVD and rip away!

    0.65 When a keyed-in option is used in audio or video conversion, if you add a "comment" (a # followed by text), then that option set will be automatically added to your ~/.config/avconvert/avconvert.ffopts.custom file for future use

    0.90 Merging multiple AVI files. If all the files you select are AVI, a new prompt will offer to merge them to a single AVI. All the source files should be of the same size/bitrate/etc (you may want to pre-convert them to ensure this).

    0.93 New "veryquiet" option to completely turn off progress popups. To enable this after upgrading to 0.93, go to the directory ~/.config/avconvert and either remove the file "avconvert" (the next run will create a new one), or edit that file and add the line "veryquiet=y".

    0.94 Translations work once again (if you have them turned off, just remove ~/.config/avconvert/avconvert.lang to reset). Various minor fixes as well, like an adjustment for a change in how Zenity works.

    0.95 Google no longer offers the translation API as a free service. Changed things to use the built-in "libtranslate" function, which automatically references multiple such services. It's a little slower, but works.

    0.97 Adjustments to detecting libtranslate. Also fixed a bug that, when converting multiple multimedia files, destination folder is asked for in each loop.

    0.98 Recognizes when only VOB file(s) are selected and offers to rip DVD to an AVI on the Desktop.




    LicenseGPL
    (Download avconvert here)
    (---)
    (Sample Run: Initial setup)
    (Sample Run: Image Conversion)
    (Sample Run: Video Conversion)
    (Sample Run: Text-to-Image)
    (---)
    (avconvert.ffopts.submissions... SEND ME YOURS!)
    (---)
    (Version 0.81 Greek translation by vagrale13)
    Donate
    Send to a friend
    Subscribe
    Other  Apps  from marc41
    Report inappropriate content



    goto page: prev  ... 5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20 ...

    -

     Problem :(

     
     by iumbs on: Oct 31 2009
     
    Score 50%

    This script used to work for me until I updated it! Now, after I set all the options, the converting dialogue (it says: "waiting for ffmpeg to begin writing...") dissapears and nothing happens.

    I don't think it's a dependency problem - as I said, it used to work before the update.

    Any suggestion? Help me, I can't live without this script! Thanks :)


    Reply to this

    -

     Problem :(

     
     by iumbs on: Oct 31 2009
     
    Score 50%

    This script used to work for me until I updated it! Now, after I set all the options, the converting dialogue (it says: "waiting for ffmpeg to begin writing...") dissapears and nothing happens.

    I don't think it's a dependency problem - as I said, it used to work before the update.

    Any suggestion? Help me, I can't live without this script! Thanks :)


    Reply to this

    -

     Re: Problem :(

     
     by marc41 on: Oct 31 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    OK... The message you're getting tells us that ffmpeg never wrote to the destination file. There are two "progress windows". The first one, which you're seeing now, usually disappears quickly. It waits for up to 20 seconds for the destination file to exist with a non-zero size. It is then replaced by a second window that watches the file grow.

    So, the first thing would be to check the output from ffmpeg. The script captures this and writes a file in /tmp for each run. In /tmp:

    ls -lrt ffmpeg*

    Your most recent run will be the last file listed. View that file and look for the complaint. It could relate to the source, the destination, or the combination of options.

    Let me know what you find.

    -- Marc


    Reply to this

    -
    .

     Re: Problem :(

     
     by marc41 on: Oct 31 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    OOPS!!!!! YOU ARE CORRECT, THERE IS A PROBLEM

    Corrected in 0.67

    Oddly, after making substantial changes to enhance the way the ffmpeg command options are stored and assembled, there was an error when ffmpeg needed no options at all!

    SORRY!

    -- Marc


    Reply to this

    -

     Re: Re: Problem :(

     
     by iumbs on: Nov 3 2009
     
    Score 50%

    Unfortunately, I still have a problem.
    I use Avconvert mostly for ripping off audio from YouTube videos. So .flv to .mp3.

    Now the final .mp3 file appears, but when I open it, Totem says there's no data stream. It appens also in .avi to .mp3.

    I've tried the new script in other convertions (.avi to .flv; .png to .jpg; .pdf to .jpg) and it worked fine...

    What do you think?


    Reply to this

    -

     Re: Re: Re: Problem :(

     
     by marc41 on: Nov 3 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    Hi -- are you using Ubuntu? Someone else just sent a comment that there seems to be a naming difference.

    When you get to the ffmpeg options list, you will see one "acodec-mp3". I have been told that some systems may need "acodec-libmp3lame".

    Try your conversion again, and choose the "key in options" instead of selecting from the list. Use that to key in:

    -acodec libmp3lame

    and see if that works. Please let me know what happens!!

    This seems to be a difference in ffmpeg, not in the libraries. On my sywstem (Fedora), the library is libmp3lame but it is referred to as just 'mp3'.

    -- Marc


    Reply to this

    -
    .

     Re: Re: Re: Re: Problem :(

     
     by marc41 on: Nov 3 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    Fedora is happy referring to this as libmp3lamne as well. So I'm posting a new version. get 0.69


    Reply to this

    -

     Re: Re: Re: Re: Re: Problem :(

     
     by iumbs on: Nov 3 2009
     
    Score 50%

    Damn, 0.69 doesn't fix anything.

    If I perform a "normal conversion", leaving unchanged all the default ffmpeg options, the resulting .mp3 file still has no data stream.

    On the other side, if I change the into "acodec-libmp3lame", the final .mp3 file doesn't even appear!

    I'm truly sad :(
    Anyway, thanks for your support and patience!

    PS: Yes, I'm using Ubuntu 9.04!


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: Problem :(

     
     by marc41 on: Nov 3 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    >> If I perform a "normal conversion", leaving unchanged all the default ffmpeg options, the resulting .mp3 file still has no data stream.

    Is the resulting mp3 file empty?

    >> On the other side, if I change the into "acodec-libmp3lame", the final .mp3 file doesn't even appear!

    Do you have the mp3 library installed? Go to /tmp and look at the ffmpeg result file.

    You will see a section like this showing the libraries and codecs that ffmpeg found:
    generic -fasynchronous-unwind-tables -I/usr/include/openjpeg --extra-version
    rpmfusion --enable-bzlib --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-swscale --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir

    The general rule is "install everything you can" :-)

    Does this help?



    -

     Re: Re: Re: Re: Re: Re: Problem :(

     
     by marc41 on: Nov 4 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    >> If I perform a "normal conversion", leaving unchanged all the default ffmpeg options, the resulting .mp3 file still has no data stream.

    Is the resulting mp3 file empty?

    >> On the other side, if I change the into "acodec-libmp3lame", the final .mp3 file doesn't even appear!

    Do you have the mp3 library installed? Go to /tmp and look at the ffmpeg result file.

    You will see a section like this showing the libraries and codecs that ffmpeg found:
    generic -fasynchronous-unwind-tables -I/usr/include/openjpeg --extra-version
    rpmfusion --enable-bzlib --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-swscale --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir

    The general rule is "install everything you can" :-)

    Does this help?



    -

     Re: Re: Re: Re: Re: Re: Problem :(

     
     by marc41 on: Nov 4 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    >> If I perform a "normal conversion", leaving unchanged all the default ffmpeg options, the resulting .mp3 file still has no data stream.

    Is the resulting mp3 file empty?

    >> On the other side, if I change the into "acodec-libmp3lame", the final .mp3 file doesn't even appear!

    Do you have the mp3 library installed? Go to /tmp and look at the ffmpeg result file.

    You will see a section like this showing the libraries and codecs that ffmpeg found:
    generic -fasynchronous-unwind-tables -I/usr/include/openjpeg --extra-version
    rpmfusion --enable-bzlib --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-swscale --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir

    The general rule is "install everything you can" :-)

    Does this help?



    -
    .

     Re: Re: Re: Re: Re: Re: Problem :(

     
     by marc41 on: Nov 13 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    Resolved with codecs...



    -

     Unknown encoder 'libx264'

     
     by rob2687 on: Oct 31 2009
     
    Score 50%

    It just gives me this error:
    Unknown encoder 'libx264'

    I have libx264-67, libx264-dev and x264 install. I am running Ubuntu 9.10.
    There doesn't seem to be anyother pacakges related to an x264 encoder.


    Reply to this

    -

     Re: Unknown encoder 'libx264'

     
     by rob2687 on: Oct 31 2009
     
    Score 50%

    After some playing around with I noticed that there are libavcodec-extra packages in the Ubuntu repositories which package more codecs that are necessary.

    Another problem came up though which is some codecs are named differently in these packages.
    Example: the mp3 codec is not just 'mp3' it's called 'libmp3lame'.


    Reply to this

    -

     Re: Re: Unknown encoder 'libx264'

     
     by marc41 on: Oct 31 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    Interesting. On my system (Fedora 11) there is no libmp3lame package, but there is lame-libs and lame-mp3x. There's also x264, x264-libs, and libx264_65.

    These subtle differences make it hard to know exactly what to list as requirements.

    Any suggestions on distribution-specific things that should be listed would be appreciated!

    -- Marc

    PS - You have it all working OK now??


    Reply to this

    -

     Re: Re: Re: Unknown encoder 'libx264'

     
     by rob2687 on: Nov 1 2009
     
    Score 50%

    I've got the encoder problem solved. Also I meant the actual encoder itself is called libmp3lame not the package. So in the script I changed acodec-mp3 to acodec-libmp3lame. The actual package that I installed from the repos were the libavcodec-extra packages. (There's also a bunch of other libav*-extra packages I installed too) I think in Ubuntu this may not installed by default because of licensing issues or whatever. Installing these provided the x264 encoder for ffmpeg.



    Some videos I had problems with during the actual encoding process. Below is the error message I get when I try to set the aspect ratio. This happens on HD videos that I got from youtube.

    ffmpeg Last message in /tmp/ffmpeg.10503:
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'XZY.mp4':
    Duration: 00:05:01.00, start: 0.000000, bitrate: 2123 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16
    Stream #0.1(und): Video: h264, yuv420p, 1280x720, 29.97 tbr, 29.97 tbn, 59.93 tbc
    Incorrect left pad size


    Reply to this

    -

     Re: Re: Re: Re: Unknown encoder 'libx264'

     
     by marc41 on: Nov 1 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    Hi, Rob

    >> So in the script I changed acodec-mp3 to acodec-libmp3lame

    AH - Now I understand. I would suggest that instead of making this change in avconvert.ffopts.video that you do it in avconvert.ffopts.custom. That latter file will not be overwritten by future upgrades. It's interesting that on my Fedora system the library name is indeed libmp3lame. I will check into this further...

    As for the aspect ratio and side padding, that is a very new feature. I may have done some math wrong. The avconvert message you included is actually just the last part of the file /tmp/ffmpeg.10503 on your system. The first part of that file includes the actual ffmpeg command line that was executed, which will include the -padleft and -padright parameters. Please send that to me so I can see what went wrong.

    Thanks for your help with this!

    -- Marc


    Reply to this

    -

     Re: Re: Re: Re: Re: Unknown encoder 'libx264'

     
     by rob2687 on: Nov 2 2009
     
    Score 50%

    Here is the command line execution:

    ffmpeg -y -i XYZ.mp4 -acodec libmp3lame -padleft -96 -padright -96 -aspect 1.5 -threads 2 /home/robert/Desktop/1.mp4


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: Unknown encoder 'libx264'

     
     by marc41 on: Nov 2 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    FIXED IT!

    How did I miss this??? After completing ffmpeg aspect ratio calculations for top/bottom, the code was falling into the calculation for left/right. This was due to using the "test" command on floats where it actually requires integers.

    Easy to correct once I saw it happen. Thanks for your help!!! Get version 0.68

    -- Marc



    -

     ubuntu 9.10

     
     by czaroli on: Nov 12 2009
     
    Score 50%

    on Ubuntu 9.10 not work !


    --
    Czarek

    Reply to this

    -

     Re: ubuntu 9.10

     
     by marc41 on: Nov 12 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    Hi - sorry you're having troubles. Please tell me what is happening. If it seems not to work at all, try running it from the command line in a terminal session so you can see if the shell is complaining about something.

    Let me know!

    -- Marc


    Reply to this

    -

     zenity.glade not found..???

     
     by eries2003 on: Nov 30 2009
     
    Score 50%

    its strange while i'm doing that zenity fix, the terminal said "Please modify the script /tmp/zenity.fix with the correct
    location of the file 'zenity.glade'.
    Then execute it directly from the command line." . then i 've search it manually and there is no file called zenity.glade...!!

    ubuntu karmic 32bit.

    oh yeah btw this script working charmly, but while i gonna converting somefiles that zenity fix windows always comes up...

    please help this fuckin' newbie....T_T


    Reply to this

    -

     Re: zenity.glade not found..???

     
     by eries2003 on: Nov 30 2009
     
    Score 50%

    so i just turn off zenity fix check, but is this healthy way..?


    Reply to this

    -

     Re: Re: zenity.glade not found..???

     
     by marc41 on: Nov 30 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    The program will work just fine with the zenity check turned off. However, the zenity windows might pop up underneath other windows. The check and fix are to force zenity to put its windows on top of other windows so you can easily see them.

    We need to locate the zenity.glade file on your system. I have sent you a message.

    -- Marc


    Reply to this

    -

     3gp or mp4 don't work

     
     by eusairways on: Dec 1 2009
     
    Score 50%

    Hi all, I'm trying to convert from ogv file to 3gp or mp4 formats and can't. I start converting and the progress bar finish and then come back. Finally the new file doesn't exists (in 3gp) or exists but doesn't work (0kb file).

    The log finish with this sentence:

    Unsupported codec for output stream #0.1

    Other conversions like jpg to png or any other video formats has no problems, excepting rm files (real media files)

    Thank you and sorry, my english is horrible


    Alex
    Reply to this

    -

     Re: 3gp or mp4 don't work

     
     by marc41 on: Dec 2 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    Hello Alex

    This is odd... I have checked a few machines here. I am running Fedora.

    On Fedora 11, ffmpeg version 0.5-2 works fine with the faac library. However, 0.5-3 does NOT work.

    On Fedora 12, ffmpeg version 0.5-5 works again!

    You can check your version with:

    ffmpeg -formats | grep aac

    If you see this:
    D A aac Advanced Audio Coding
    then Decoding works, but not Encoding

    If you see this:
    DEA aac Advanced Audio Coding
    then Decoding and Encoding BOTH work

    You can force a downgrade or an upgrade, or wait for the next release.

    -- Marc


    Reply to this

    -

     Re: Re: 3gp or mp4 don't work

     
     by eusairways on: Dec 2 2009
     
    Score 50%

    i can see D A aac, then i think i have problems encoding, bad luck :S

    Thank you Marc


    Alex
    Reply to this

    -

     Re: Re: Re: 3gp or mp4 don't work

     
     by marc41 on: Dec 2 2009
     
    Score 50%
    marc41marc41
    Tailored Software, Inc
    -
    Marc Brumlik 53

    Tailored Software, Inc
    United States of America, Chicago
    Last visit Apr 12 2014
    13 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    If you can, just go backward or forward one version of ffmpeg and you ought to be working!


    Reply to this

    goto page: prev  ... 5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20 ...

    Add commentBack






    -
     
     
     Who we are
    Contact
    More about us
    Frequently Asked Questions
    Register
    Twitter
    Blog
    Explore
    Apps
    Jobs
    Knowledge
    Events
    People
    Updates on identi.ca
    Updates on Twitter
    Facebook App
    Content RSS   
    Events RSS   

    Participate
    Groups
    Forum
    Add App
    Public API
    About GTK-Apps.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Advertising
    Sponsor us
    Report Abuse
     

    Copyright 2007-2014 GTK-Apps.org Team  
    All rights reserved. GTK-Apps.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.