Giter Club home page Giter Club logo

ff-multi-converter's People

Contributors

handsomegui avatar ilstam avatar maz-1 avatar pmav99 avatar smarquespt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ff-multi-converter's Issues

wrong layout at fullsceen

i use FF-Multi-Converter under Ubuntu 18.04 and i encounter some wrong layout when the window is fullscreen ..
ffmc_fullscreen_bug
this happens after i click "More" .. when i unmaximize the window, all is fine .. i guess some widget property is not / wrongly set ..

Preserve Original Aspect Ratio feature

Greetings.
Thank you for developing the FF MultiConverter. It saves me time from searching for the command lines to use with the useful presets, and helps me focus and enjoying the end-user task.

But I have a need to convert many dozen files of different aspect ratios and I don't want to view them and select them individually. I don't have the time for that.

It would be great if the application reads the current format and aspect ratio and gave me a choice of two alternate output formats to switch on the fly when encountered. For example select PAL HQ 4:3 or PAL HQ WideScreen as the two preferred presets and let the application choose amongst these depending on source file format. That way I can just select a dozen files to convert and forget about it.

Right now a few of my videos need re-conversion and manual intervention which takes away the usefulness of the app somewhat.

Thanks
-G0bble

ImportError: No module named 'PyQt4'

Hi,

These are my specs;

Slackware 14.1 x86_64
ffmpeg-2.2.2
imagemagick-6.8.6_10
PyQt-4.9.6
python3-3.4.0
python-magick-0.9.10
unoconv-0.6

By the way python-magick isn't listed on GitHub as a dependency... Also what version/brach of ffmpeg should people be using? Might be nice to list a version?

I compiled FF-Multi-Converter 1.6.0 in Slackware, this was the compile flag;

python3 setup.py install --root $PKG

ffmulticonverter 1.6.0 won't run and when I run ffmulticonverter at a terminal I get this message;

Traceback (most recent call last):
  File "/usr/bin/ffmulticonverter", line 4, in <module>
    from ffmulticonverter import ffmulticonverter
  File "/usr/lib64/python3.4/site-packages/ffmulticonverter/ffmulticonverter.py", line 17, in <module>
    from PyQt4.QtCore import (PYQT_VERSION_STR, QCoreApplication, QLocale, QRegExp,
ImportError: No module named 'PyQt4'

Slackware compiled PyQT4 against python2, I'm assuming this is the problem and it needs to be built against python3?

python3 is for only 1.6.0? Because I can run the older versions with python2...

Do you think in the next release you could offer it for python2 as well?

thanks

crash

Almost always, when I try to convert avi to mp4 FF multiconvert crashes (after correctly converting one or more files).
SO: Linux Neon KDE
FF multiconvert version 1.8.0

Scripts without shebang

Please add shebang to this scripts:
/usr/lib/python3.5/site-packages/ffmulticonverter/preferences_dlg.py
/usr/lib/python3.5/site-packages/ffmulticonverter/about_dlg.py
/usr/lib/python3.5/site-packages/ffmulticonverter/progress.py
/usr/lib/python3.5/site-packages/ffmulticonverter/ffmulticonverter.py
/usr/lib/python3.5/site-packages/ffmulticonverter/presets_dlgs.py

Request: Re: Image Conversion...

Image conversion and resizing needs options to make resize values absolute and not always maintain aspect ratio if one is to replace other apps with this app.

Incorrect desktop-file

Please correct this warnings:

ffmulticonverter.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
ffmulticonverter.desktop: warning: value "Application;AudioVideo;AudioVideoEditing;Office;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"
ffmulticonverter.desktop: hint: value "Application;AudioVideo;AudioVideoEditing;Office;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu

Failed to start FF-Multi-Converter on Ubuntu 14.04

I had downloaded FF-Multi-Converter from this side (Link: http://ppa.launchpad.net/ffmulticonverter/stable/ubuntu/pool/main/f/ffmulticonverter/ ). On this side I choos the package ffmulticonverter_1.6.0-1ppa1ubuntu13.10.1_all.deb, because Ubuntu is normally compatible with programs constructed for lower versions. I installed this package via SoftwearCenter and try to start it. As I start it I got a report of a problem, witch told me that ">>FF Multi Converter<< doesn't work.
Childprocess >>ffmulticonverter<< can't start. (Can't find the file or dictionary)"

One problem could be that under Ubuntu 14.04 FFmpeg is not in the sources, so you can't install it.

compilation failed on my Debian box

I have installed all the dependencies:
apt install python3 python3-pyqt4 python3-pyqt5 unoconv python
-magic ffmpeg
Upon running "./setup.py install" the program installs without any error, but when I call it I get this error:

ffmulticonverter
Traceback (most recent call last):
File "/usr/local/bin/ffmulticonverter", line 4, in
from ffmulticonverter import ffmulticonverter
File "/usr/local/lib/python3.5/dist-packages/ffmulticonverter/ffmulticonverter.py", line 20, in
from init import version
ImportError: No module named 'init'

:(

Unable to convert <some> formats

I am trying to convert 'MP4' and I can convert formats but it fails to convert others.
Here is the metadata on one of the videos it is failing to convert. I have others and will post here when I find one that fails.
METADATA
General
Complete name : /media/pooky2483/EXT-02/Series/BBC.The.Hairy.Bikers.Asian.Adventure.1of6.Hong.Kong.720p.HDTV.x264.AAC.MVGroup.org.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 916 MiB
Duration : 58mn 44s
Overall bit rate mode : Variable
Overall bit rate : 2 180 Kbps
Encoded date : UTC 2014-03-21 11:00:35
Tagged date : UTC 2014-03-21 11:00:35
Writing application : My MP4Box GUI 0.6.0.0 http://my-mp4box-gui.zymichost.com

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=12
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 58mn 44s
Bit rate : 2 017 Kbps
Maximum bit rate : 13.4 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.088
Stream size : 848 MiB (93%)
Title : BBC.The.Hairy.Bikers.Asian.Adventure.1of6.Hong.Kong.720p.HDTV.x264.AAC.MVGroup.org.mp4
Encoded date : UTC 2014-03-21 00:56:38
Tagged date : UTC 2014-03-21 11:01:38

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 58mn 44s
Bit rate mode : Variable
Bit rate : 160 Kbps
Maximum bit rate : 210 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 67.2 MiB (7%)
Title : BBC.The.Hairy.Bikers.Asian.Adventure.1of6.Hong.Kong.720p.HDTV.x264.AAC.MVGroup.org.mp4
Language : English
Encoded date : UTC 2014-03-21 11:01:35
Tagged date : UTC 2014-03-21 11:01:38

Text
ID : 3
Format : Timed Text
Codec ID : tx3g
Duration : 58mn 34s
Bit rate mode : Variable
Bit rate : 107 bps
Stream size : 45.9 KiB (0%)
Title : BBC.The.Hairy.Bikers.Asian.Adventure.1of6.Hong.Kong.720p.HDTV.x264.AAC.MVGroup.org.srt
Encoded date : UTC 2014-03-21 11:01:38
Tagged date : UTC 2014-03-21 11:01:38

I hope this is enough info, I am also using the newest version of FFMultiConverter - 1.7.2 (just installed)

Presets not beeing loaded/saved

Hey there,
Just installed ffmulticonverter from source on a fresh Debian 7.8 machine (cause there was only .deb's for debian 8 (experimental).
When I open the presets list its empty and when I create a new preset it wont save.

Here's terminal output that appears as soon as I open the presets:

ffmulticonverter
Traceback (most recent call last):
File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1668, in feed
self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 34,
column 70

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File
"/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py",
line 124, in load_xml
self.tree = etree.parse(self.current_presets_file)
File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1223, in parse
tree.parse(source, parser)
File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 678, in parse
parser.feed(data)
File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1670, in feed
self._raiseerror(v)
File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1543, in
_raiseerror
raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line
34, column 70

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File
"/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py",
line 125, in load_xml
except (etree.ParseError, FileNotFoundError):
NameError: global name 'FileNotFoundError' is not defined
Traceback (most recent call last):
File
"/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py",
line 153, in fill_presListWidget
for i in sorted([y.tag for y in self.root]):
AttributeError: 'ShowPresets' object has no attribute 'root'

Progress dialog modality

There is problem when Progress() dialog opens as modal.

Particularly:

  1. Progress bars updates their values lazily.
  2. Cancel button does not work. It seems that the signal never emitted.

The above can be noticed only in video conversions.

Porting to Qt5

Hello. Qt4 is already EOL, so it is logical to port the application to Qt5. You are planning to in the near future to do this? I could help you with this.

ff multi converter hangs

After setting up video parameters. I click the convert button and it and the conversion window pops up. It will stay at zero % for as long as I let it. I click the cancel button and nothing happens. Try to close the conversion window and nothing. I then have to close out the entire program. No error codes. Am I doing something wrong?

Split the 'From - To' list.

When converting documents, instead of having a drop-down menu which lists the from - to list, why not have a separate drop down for each. it would be easier selecting the format to convert from and to being separate lists.

office listener remains open after program execution

Before making any document conversions we have got to start an openoffice/libreoffice listener, in order to enable parallel document conversions.

The listener starts just before the first document conversion happens and - for now - it remains open all the time, even after program termination. The problem is that it starts indirectly with an unoconv command ("unoconv --listener") and as a spawned process there's no easy way to kill it.

Actually, it seems like there's no way to kill spawned processes just using python stdlib and for now I don't want to add an extra dependency to the program.

I leave this open for any better future solutions.

People can't get PythonMagick

People seems no way to get the PythonMagick package for installation.
Not work for pip or Linux package management. The website where PythonMagick hosted seemed down.

Is there any workaround? Thanks.

Failed to set value 'slow' for option 'preset'

Trying to convert ogv to mpg. When I convert it fails I get this:

Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.2 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height

That's pretty vague. The command line is -ab 320k -ar 48000 -ac 2.

I don't see anything in my presets (pressing "Preset" button brings up a window that has no presets in it) or anything about what I'm supposed to put in that command line.

OK so I found the presets and imported them. It still errors out:

ffmpeg -y -i "/home/dev/temp/thefilename.ogv" -crf 35.0 -vcodec libx264 -preset slow -acodec libfaac -ar 48000 -b:a 128k -coder 1 -flags +loop -cmp chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0 "/home/dev/temp/thefilename.mp4"
ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
  built on Feb  6 2014 20:56:59 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
[ogg @ 0x13077a0] max_analyze_duration reached
Input #0, ogg, from '/home/dev/temp/thefilename.ogv':
  Duration: 00:00:43.66, start: 0.000000, bitrate: 541 kb/s
    Stream #0.0: Data: skeleton
    Stream #0.1: Video: theora, yuv420p, 1584x1040 [PAR 1:1 DAR 99:65], 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #0.2: Audio: vorbis, 22050 Hz, mono, s16, 89 kb/s
Unrecognized option 'preset'
Failed to set value 'slow' for option 'preset'

Just installed an hour ago. Looks like this preset has an issue.

add support for calligraconverter ?

calligraconverter is a document converter shipped with calligra suite, which is an alternative to libreoffice under kde.
It supports both batch mode and interactive mode.

shutdown after convertion - problematic feature

Hi,

'Shutdown after convertion' feature seems quite odd:

            if self.shutdownQCB.isChecked():
                if utils.is_installed('systemctl'):
                    subprocess.call(shlex.split('systemctl poweroff'))
                else:
                    subprocess.call(shlex.split('shutdown -h now'))

I'm not Linux destop user but anyway, how could this work? Does this mean everybody can run 'systemctl' or 'shutdown' command? Just checking my CentOS 7 server and 'systemctl' is root owned, same on my OpenBSD box.

I'm not sure but you need dbus, polkit... Anyway, IMO the best would be do check if such integration (Linux, dbus/polkit) is available and if not then it would be best to make the checkbox inactive (greyed) with tooltip describing why it is inactive. (Or in preferences a configuration to support dbus/polkit or defining command to run, ie. 'sudo shutdown -h now'.)

.desktop file "Icon" should not contain ".png"

$ desktop-file-validate /usr/share/applications/FF-Multi-Converter.desktop
/usr/share/applications/FF-Multi-Converter.desktop: error: (will be fatal in the future): value "ffmulticonverter.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path

Icon=ffmulticonverter

Cheers!

Each conversion takes longer than the last

When doing a batch convert, the time it takes to do the next one is longer than the last.
Take the batch I left it with last night. Each file was 847.5, 810.8, 831.4, 795.1Mb and the time it took to convert each file was 1h:34m, 2h:07m, 3h:33m, 4h:59m. This is not a one-off as it happens all the time until it seem to just 'hang', taking forever to convert the next file.

I have updated to the latest version too, 1.70
AMD Phenom(tm) II X4 965 Processor
8Gb Ram
KDELibs 4.12.4
QT 4.8.6
Kernel 3.13.0-48
OS Kubuntu 14.10 64bit
ffmpeg 7:1.2.6-1trusty1
imagemagick 8:6.7.7.10
6ubuntu3
unoconv 0.6-6

Getting "ImportError" on Ubuntu 16.04

Hi,
i installed ffmulticonverter using this Tutorial: https://github.com/Ilias95/FF-Multi-Converter/wiki/Installing-from-source .
Now I get the following Errors when i try to start the program:
Traceback (most recent call last): File "/usr/local/bin/ffmulticonverter", line 4, in <module> from ffmulticonverter import ffmulticonverter File "/usr/local/lib/python3.5/dist-packages/ffmulticonverter/ffmulticonverter.py", line 20, in <module> from __init__ import __version__ ImportError: No module named '__init__'

Can you please help me to solve the Problem?

Don't recommend a huge bleeding edge PPA to standard users!

I think it's a terrible idea to tell users to install a PPA that updates their system in all sorts of dramatic and problematic ways just to run a simple GUI tool on Ubuntu. This is reckless. There should be a stable PPA just for this or don't recommend any PPA. So, the wiki should be changed. I'm just not going to be so bold as to go and edit the wiki to remove this horrible advice that is currently there without first bringing this up.

Issues installing

$ ffmulticonverter
Traceback (most recent call last):
File "/usr/local/bin/ffmulticonverter", line 4, in
from ffmulticonverter import ffmulticonverter
File "/usr/local/lib/python3.5/dist-packages/ffmulticonverter/ffmulticonverter.py", line 23, in
from PyQt5.QtGui import QIcon, QKeySequence
ImportError: No module named 'PyQt5'

Folder and sub folder support?

While it looks awesome I would like to request if you can add ability to convert multiple folders and not just multiple files.
Better yet to be able to convert also recursively.
Or both features.
Perhaps it can be done from command line but I am trying to do it for files and folders on a NAS drive, which is where the collections are located.

I haven't actually run it yet but in the event of a broken data path will it or does it have a resume feature?

Also it seems to need or shows it needs other libs to convert formats. This should all be included in the installation and/or perhaps a system built in that checks for needed dependencies and updates them automatically at intervals. Normally this can also be done by many distros in the software updater.

I for example maintain a huge music collection, and I want to convert all of the music to mp3 format. I also want to delete originals after conversion. That it does, and of course keeping the replacement in the same folder that it also does.

Multi-threading conversion

Hi! This program is great, but you know what could be missing? Multi threading conversion. For audio conversion this maybe very useful because what would become six hours of conversion, would end in 3 hours (approximately).
I think this would be excellent, but not urgent , because without Multi threading technique the program is still functional and I appreciate it too.
I hope my english be a little clearly hehe! Greetings from Argentina!

Presets for Extracting Audio

I'm suggesting two new presets. It seems plain, but is whats most needed to get music out of video-downloads.

Greets

CopyExtractAudioAAC
Extract (copy) audio AAC (mp4-video->aac-audio)
-acodec copy
aac

CopyExtractAudioMP3
Extract (copy) audio Mp3 (FLV-video->mp3-audio)
-acodec copy
mp3

Add .opus support ?

Is it possible to add support for converting to opus? The official opus tools can only convert from wav to opus, which means I have to use this program as a middle man. Inbuilt opus support would make converting go faster.

str_to_bool: return string.lower() == 'true' -- AttributeError: 'NoneType' object has no attribute 'lower'

$ ffmulticonverter
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ffmulticonverter/ffmulticonverter.py", line 186, in load_settings
settings.value('overwrite_existing'))
File "/usr/lib/python3/dist-packages/ffmulticonverter/utils.py", line 28, in str_to_bool
return string.lower() == 'true'
AttributeError: 'NoneType' object has no attribute 'lower'

$ python3 --version; apt-cache policy ffmulticonverter python3-pyqt4
Python 3.3.1
ffmulticonverter:
Installed: 1.5.2+git456-1ppa12ubuntu13.04.1
Candidate: 1.5.2+git456-1ppa12ubuntu13.04.1
Version table:
*** 1.5.2+git456-1ppa12ubuntu13.04.1 0
500 http://ppa.launchpad.net/ffmulticonverter/unstable/ubuntu/ raring/main amd64 Packages
100 /var/lib/dpkg/status
python3-pyqt4:
Installed: 4.10-0ubuntu3
Candidate: 4.10-0ubuntu3
Version table:
*** 4.10-0ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
100 /var/lib/dpkg/status

Possible Preset Error:

All Xvid conversions using presets immediately fail on my system regardless of input media. Need to investigate more.

Encoding to Lame with Quality Preset hangs won't exit

Using -acodec libmp3lame -v 2
the program creates the file in background but the progress bar is stuck to 0% and can only be exited by canceling

This is the log

Seems stream 1 codec frame rate differs from container frame rate: 60000.00 (60000/1) -> 30.00 (30/1)
Stream mapping:
Stream #0.0 -> #0.0
Press ctrl-c to stop encoding

EBU R128 preset?

Are there any plans for implementing an EBU R128 loudness standard filter into any of the audio conversion functionality? I know it goes beyond simple format translations, but it could be a useful tool for batch processing audio files for broadcast.

Upon completion of conversions the Conversion Window should have a "Close" button...

Upon completion of conversions, the Conversion Window should have a "Close" button i.e., so it reflects the state of the conversion.

As it is, the Conversion Window "appears" to still be active as it has the "Cancel" button only... as it does while the conversion is still in process. I found this confusing at first.

Another option would be to have said window close automatically on successful conversion.

data_files shall use relative path in setup.py

If you try to install ffmulticonverter with pip in a virtualenv, it will fail with:ย 

running install_data

copying share/ffmulticonverter.desktop -> /usr/share/applications/

error: could not create '/usr/share/applications/ffmulticonverter.desktop': Permission denied

Pathes of data_files in setup.py should be relative:

diff --git a/setup.py b/setup.py
index 8984e16..c0e95f0 100755
--- a/setup.py
+++ b/setup.py
@@ -5,10 +5,10 @@ import ffmulticonverter
 from distutils.core import setup


-data_files = [('/usr/share/applications/', ['share/ffmulticonverter.desktop']),
-              ('/usr/share/pixmaps/', ['share/ffmulticonverter.png']),
-              ('/usr/share/ffmulticonverter', ['share/presets.xml']),
-              ('/usr/share/man/man1', ['man/ffmulticonverter.1.gz'])]
+data_files = [('share/applications/', ['share/ffmulticonverter.desktop']),
+              ('share/pixmaps/', ['share/ffmulticonverter.png']),
+              ('share/ffmulticonverter', ['share/presets.xml']),
+              ('share/man/man1', ['man/ffmulticonverter.1.gz'])]

 setup(
     name = 'ffmulticonverter',

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.