dmMediaConverter - reduced download size version

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

dmMediaConverter - reduced download size version

#1 Post by mcewanw »

A nice crossplatform (Linux/Windows) ffmpeg frontend GUI program created by Marius Dalacu (it was written with Lazarus, Delphi compatible IDE, which could be used for creating other Puppy-compatible crossplatform applications using, for example, GTK+ or QT or Win32 widgets).

And here is:

dmMediaConverter version 1.0.0

Thanks to robwoj44 for bringing this latest version of the app, in its original form, to my attention.

The following are temporary links (which I will keep updated) of a small install version of dmMediaConverter for 32bit and 64bit Linux. I have repackaged the original application for DebianDog and also Puppy in order to much reduce the size (uncompressed size only 3.7 MB rather than the original approx 50 MB). Download size of 32bit version is only 1.3 MB:
-----

Versions for 32bit Linux (briefly tested):

Download 1.3MB Debian deb package tested on DebianDog jwm version from:
https://www.dropbox.com/s/jgdjekfgc7f45 ... 6.deb?dl=0

Download 1.3MB dotpet package tested on Puppy Slacko 6beta from:
https://www.dropbox.com/s/d37a0ykpn6dvi ... 6.pet?dl=0
-----

Versions for 64bit Linux (untested, but should work the same):

Download 1.5MB Debian deb package from:
https://www.dropbox.com/s/gux536sh4n5hz ... 4.deb?dl=0

Download 1.5MB dotpet package from:
https://www.dropbox.com/s/2jo2ydr0hnkn4 ... 4.pet?dl=0
-----

If installing the deb package in DebianDog, you should afterwards also enter:

Code: Select all

apt-get install -f
to fetch the one small missing component. (Note that I have iceweasel installed, so I can't say offhand how many missing components for clean DebianDog install).

NOTE WELL: If you don't already have ffmpeg installed on your system, you need to do that. In DebianDog, you can create a loadable ffmpeg sfs filesystem from Start Menu->Utility->FFmpeg2sfs


Comparison with the original dmMediaConverter download:

The only difference is that this version uses external ffmpeg components in /usr/bin rather than the original statically compiled included ffmpeg components. I have tested this as working so far (on DebianDog) and the dotpet on Puppy Slacko 6beta, but needs further testing, and results will depend on the capabilities of the ffmpeg installed on your system (which ffmpeg aac encoder used, for example - mp3 should work for audio though). Will probably also work in Precise 5.7.1 but I haven't tested that. EDIT: Does not owing to Precise using avconv/avprobe and an old version at that, rather than ffmpeg/ffprobe.

USAGE:

The following is an extract from the dmMediaConverter home page that covers what the popups said. Note that the key to Converting with this is usually to uncheck the Streams video 'Copy' checkbox; that activates the video encoder settings panel:

From: http://dmsimpleapps.blogspot.ro/2014/04 ... erter.html
1. Select job type
2. Add source files
3. Modify stream parameters.
- "Enable" checkbox - means that the stream will be present in the output file
- "Copy" checkbox - stream will not be reencoded, only copied, so, stream options (lower part of the app) will be disabled. To modify stream just unckeck it and you will be able to choose codec and various audio / video options.
- To enable Picture settings on a video stream (crop, pad , rotate, etc) first, you need to uncheck "Copy" and click the video screenshot or just double click it directly. Options seted here will be automatically saved when you close this window. If you reopen "Picture Settings" later all settings for that video stream, now, will be preserved.
4. Hit "Run now" button to start conversion. The application will ask you for an output file and depending on the file extension chosen will use the proper format (container). i recommend Matroska (.mkv) because it is compatible with all the codecs available in the app.
5. Sit back and wait for it to finish. What you see in the Output tab is exactly the ffmpeg output. You can approximate the progress by looking at the written time (100% = source file duration).
I plan to create and also attach here a dotpet of this much reduced download sized version soon and following further testing. In the meantime, if you wish to try dmMediaConverter, you can find a dotpet of the original version (approx 18 MB download, 50MB uncompressed), which includes its own ffmpeg via the following thread:

http://www.murga-linux.com/puppy/viewtopic.php?t=95469

Note that, whilst dmMediaConverter package is currently free, its author has indicated (via ubuntu forum) that he has no current plans to release its sources (a pity...). Should be interesting to compare its facilities and ease of use with the likes of ffmpeg and the much larger and more complex Handbrake.

Quote from the program's author at the apps website:
I do not know it yet or promise that the app will be released as Open Source. Nevertheless, it will be free.
If you like the app and want to continue it's development, please donate. Any amount will be appreciated.
With this app i also distribute a ffmpeg static build without modifying any of its source files. I have not studied, yet, legal implications.
Notes:

A version of the original (slightly older at the moment) is also available from Ubuntu Software Centre.

I don't myself have a 64bit machine to test the 64bit Linux packages on, but I guess they will work the same.

A nice feature of the package is that it shows the generated ffmpeg command during processing, so that could be re-used at the commandline (or stored away for re-use in DebianDog/Puppy DoMyFile program's command list).

You can find more about Lazurus IDE, which was used to write dmMediaConverter, here:

http://www.lazarus.freepascal.org/

William

EDIT: Worked in DebianDog and also Puppy Slacko 6beta, which use ffmpeg and ffprobe. However, in quick test, didn't work in Puppy Precise 5.7.1 afterall. I believe problem is that Precise actually uses avprobe, which apparently does not understand the option -print_format, which ffprobe uses. Both ffprobe and avprobe can use apparently equivalent option -of. Pity it is not open source or could have fixed that issue at least.

The original package will however probably work okay in Puppy Precise since it comes with its own ffprobe in the package (which unfortunately bloats the size). Can fetch that ffmpeg included dotpet version via robwoj44 thread:

http://www.murga-linux.com/puppy/viewtopic.php?t=95469

I've contacted the program's author, via his blog, about our tests of his application here with the hope that future versions could be designed with ffmpeg/ffprobe avconv/avprobe compatibility. It certainly looks like a very useful program and I hope the author will in the end release it as open source too.
Last edited by mcewanw on Sun 31 Aug 2014, 07:37, edited 22 times in total.
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

1.3MB dotpet version now uploaded

#2 Post by mcewanw »

see first post of this thread for DebianDog deb package and Puppy dotpet 1.3MB download. Tested briefly on Puppy Slacko 6beta but should work in Puppy Precise 5.7.1 and many other recent Puppies too.

William

Note: As I indicated in first post, the author has not released the source for this package. It didn't seem to have a license, but was described as 'free'.

EDIT: Worked in DebianDog and also Puppy Slacko 6beta, which use ffmpeg and ffprobe. However, in quick test, didn't work in Puppy Precise 5.7.1 afterall. I believe problem is that Precise actually uses avprobe, which apparently does not understand the option -print_format, which ffprobe uses. Both ffprobe and avprobe can use apparently equivalent option -of. Pity it is not open source or could have fixed that issue at least.

The original package will however probably work okay in Puppy Precise since it comes with its own ffprobe in the package (which unfortunately bloats the size). Can fetch that ffmpeg included dotpet version via robwoj44 thread:

http://www.murga-linux.com/puppy/viewtopic.php?t=95469
github mcewanw

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#3 Post by step »

Edit3: See also http://murga-linux.com/puppy/viewtopic. ... 108#797108

Tested the 64bit pet on FatDog64 700 alpha1 and got this error, which seems to point to an application bug:

Code: Select all

# dmmediaconverter 

(dmmediaconverter:5048): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[FORMS.PP] ExceptionOccurred 
  Sender=EDivByZero
  Exception=Division by zero
  Stack trace:
  $00007F735C840474
  $00007F73611CC512
  $00007F735CA667B2
TApplication.HandleException Division by zero
  Stack trace:
  $00007F735C840474
  $00007F73611CC512
  $00007F735CA667B2
[FORMS.PP] ExceptionOccurred 
# 
I should be able to also test it on FD64-631 and report back.

Testing the pet on FD64-700a1 needs some preliminary steps:
Download dmmediaconvert-1.0.0-amd64.pet from http://murga-linux.com/puppy/viewtopic.php?t=95473.
Right-click the petfile in ROX Filer and select "Convert to New Package Format".
FD64-700 issue #1: there is no feedback as to the conversion process status.
Open ROX Filer in /root, find file dmmediaconvert-1.0.0.-noarch-PET.txz, right-click it and select "Install Package". Run application from system menu entry "Multimedia > dmMediaConverter".
FD64-700 issue #2: Manually Cleanup leftovers from the conversion process; remove folders dmmediaconver and dmmediaconvert-1.0.0-amd64 in /root/

Edit: Tested on FD64-631. Good news, at least the application starts without errors! I will try and convert some movies later. One minor issue I noticed is that the "Select job Type" and "Add files" GUI widgets insist on staying on top of all open windows.

Edit2: ddMediaConverter has issues on FD64-631. You can add files to convert but the application can't show streams. I guess it needs a more recent version of ffmpeg (the version in FD64-700 is newer). So testing on FD64-631 stops here, too bad.
Last edited by step on Sat 30 Aug 2014, 07:11, edited 1 time in total.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#4 Post by mcewanw »

step wrote:T
Edit2: ddMediaConverter has issues on FD64-631. You can add files to convert but the application can't show streams. I guess it needs a more recent version of ffmpeg (the version in FD64-700 is newer). So testing on FD64-631 stops here, too bad.
Does FD64-631 use real ffmpeg or is that just a symlink to avconv? I had a similar problem to what you describe when trying dmMediaConverter in Puppy Precise. The streams window wouldn't show up, which appeared to be because Precise used avprobe rather than ffprobe and avprobe couldn't understand the ffprobe option -print_format. There might be a way round that issue, assuming that is the problem - I'm having a think about it.

William

EDIT: Glad the the static 64-bit tar.gz version worked for you on FatDog64 631 step. Might still be a slight chance of your being able to use the non-static slimmed down 64bit version, but depends if the underlying ffmpeg and ffprobe is actually avconv and avprobe. If your system uses avprobe, I need to know the options your avprobe supports (perhaps post a tarred up dump of avprobe --help which I could look at).
Last edited by mcewanw on Sat 30 Aug 2014, 08:36, edited 1 time in total.
github mcewanw

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#5 Post by step »

mcewanw wrote:Does FD64-631 use real ffmpeg or is that just a symlink to avconv?
Real ffmpeg 0.11.1 and ffprobe. My guess is that version 0.11.1 and related libs just aren't current enough for dmMediaConverter. When I tested the static version on FD 631 it worked without a hitch.
But the same static version crashed on FD 700a1 exactly as shown above.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Message from the program's author

#6 Post by mcewanw »

accidental double post
Last edited by mcewanw on Sat 30 Aug 2014, 08:53, edited 2 times in total.
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Message from the program's author

#7 Post by mcewanw »

I contacted the program's author, via his blog, regarding one of the issues I had come across trying to get the slimmed down version of dmMediaConverter (using Precise's inbuilt avconv/avprobe) working on Puppy Precise 5.7.1 (its avprobe doesn't understand required option -print_format). Here is his encouraging reply:
Marius Dalacu August 29, 2014 at 1:41 PM

Hi, i am glad that you like my application and you find it useful to build Puppy linux packages for it. When i have started development of it i have tested both ffmpeg and avconv and i have found more differences then -print_format if i remember correctly. If-of option does behave the same i will include it in my next version.
If i am able to assist you in any way don't hesitate to ask.
Last edited by mcewanw on Sat 30 Aug 2014, 11:32, edited 1 time in total.
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#8 Post by mcewanw »

step wrote:
mcewanw wrote:Does FD64-631 use real ffmpeg or is that just a symlink to avconv?
Real ffmpeg 0.11.1 and ffprobe. My guess is that version 0.11.1 and related libs just aren't current enough for dmMediaConverter.
Hi step

Yes, that seems like a pretty old ffmpeg version I think. Could you kindly post the output messages the program gave (in the program's "Output" tab, the third tab along in its opening GUI)? I'm curious to see if the problem is identified there.

dmMediaConverter seems to be working well in DebianDog after loading its provided ffmpeg squashfs, which is hopeful for the future. The problem I'm most concerned with is whether it will prove compatible with newer versions of avconv/avprobe, which is sometimes provided instead of ffmpeg/ffprobe. According to the avprobe documentation page, later versions understand the option "-of ini" but not "-print_format ini". However, the presumably also too old version of avprobe in Precise 5.7.1 understands neither of these options and doesn't even understand option -i. Of course, the dmMediaConverter provided ffmpeg/ffprobe can always be used where appropriate, but nice to keep things as small as possible on Puppy and Puppy-lookalike systems such as DebianDog.

William
github mcewanw

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#9 Post by jamesbond »

step wrote:Tested the 64bit pet on FatDog64 700 alpha1 and got this error, which seems to point to an application bug:

Code: Select all

# dmmediaconverter 

(dmmediaconverter:5048): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[FORMS.PP] ExceptionOccurred 
  Sender=EDivByZero
  Exception=Division by zero
  Stack trace:
  $00007F735C840474
  $00007F73611CC512
  $00007F735CA667B2
TApplication.HandleException Division by zero
  Stack trace:
  $00007F735C840474
  $00007F73611CC512
  $00007F735CA667B2
[FORMS.PP] ExceptionOccurred 
# 
This isn't dmMediaConverter bug. It is Lazarus "compatibility problem" with newer libraries. I have a Free Pascal IDE which is built on Lazarus (it's part of freepascal SFS for Fatdog 600). That IDE fails with exactly the same error message. The compiler itself works, and other IDE that doesn't depend on Lazarus works too.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#10 Post by saintless »

If it is important for the problem reported from Step the deb package from William works on Squeeze-DebianDog with this version ffmpeg installed:

Code: Select all

root@debian:~# ffmpeg   
ffmpeg version 0.7.16, Copyright (c) 2000-2013 the FFmpeg developers
  built on May  2 2014 14:22:53 with gcc 4.4.5
  configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
Quick tested to convert and change encoding settings without issues.

Toni

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#11 Post by step »

mcewanw wrote:Could you kindly post the output messages the program gave (in the program's "Output" tab, the third tab along in its opening GUI)? I'm curious to see if the problem is identified there.
Yes, of course. Below is the output you requested.
If you do get back in touch with the developer, would you please point him to my "Unhandled exception" posting in this thread?

Code: Select all

ffprobe version 0.11.1 Copyright (c) 2007-2012 the FFmpeg developers
  built on Jun 17 2012 21:31:16 with gcc 4.6.2
  configuration: --prefix=/usr --libdir=/usr/lib64 --enable-postproc --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-libfaac --enable-libx264 --enable-x11grab --enable-libxvid --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-runtime-cpudetect --enable-pthreads --enable-swscale --extra-ldflags='-Wl,--as-needed -L/usr/X11R7/lib64' --enable-libgsm --enable-libopenjpeg --enable-libvpx --disable-debug --disable-libgsm
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Unknown output format with name 'ini'
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#12 Post by smokey01 »

Tested on Fatdog630 it seemed to work ok. I found the help popups a bit distracting but they are necessary as I found it a bit difficult to drive without them. They might look better with a border.
I tried ripping an audio track from a youtube video. It worked but took about 4 times longer than ffconvert or mhWaveEdit to do the job.
Good work.

Thank

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#13 Post by mcewanw »

step wrote:
mcewanw wrote:Could you kindly post the output messages the program gave (in the program's "Output" tab, the third tab along in its opening GUI)? I'm curious to see if the problem is identified there.
Yes, of course. Below is the output you requested.
If you do get back in touch with the developer, would you please point him to my "Unhandled exception" posting in this thread?

Code: Select all


Unknown output format with name 'ini'
Yes, that's the problem with that particular old ffprobe. It doesn't understand output format "ini" which is parsed internally by dmMediaConverter to find all the video/audio parameters. I can't workaround that unfortunately; you need newer ffmpeg.

I also passed on the link to this thread to the program's author, Marius Dalacu, so hopefully he will look in from time to time to follow our comments. I've also posted to him directly about the Lazarus issue comment of jamesbond.

William
Last edited by mcewanw on Sat 30 Aug 2014, 22:20, edited 2 times in total.
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#14 Post by mcewanw »

smokey01 wrote: I tried ripping an audio track from a youtube video. It worked but took about 4 times longer than ffconvert or mhWaveEdit to do the job.
The only reason for that, which I can think of, would be that dmMediaConverter must be using a different ffmpeg commandline for that purpose. Not sure why that would be offhand, but I'll check the difference too and let the program author know if that can be improved. The program certainly proved efficient enough at video conversion.

William
github mcewanw

mdalacu
Posts: 3
Joined: Sun 14 Sep 2014, 19:15

dmMediaConverter v1.1.0

#15 Post by mdalacu »

Hi, in this verison i have changed ffprobe command from -print_format to -of.
Does it work for you? Thx.

Marius Dalacu.

mdalacu
Posts: 3
Joined: Sun 14 Sep 2014, 19:15

#16 Post by mdalacu »

Version v1.2.0 is up, mainly bug fixing.

labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

testing

#17 Post by labbe5 »

Hi,

Reduced-size app tested with Tooppy 1.0, based on Precise 5.4.3. It's doing ok.

Just to let you know.

mdalacu
Posts: 3
Joined: Sun 14 Sep 2014, 19:15

#18 Post by mdalacu »

New release: v1.5.0!
Changelog:
- Parallel jobs - you can run multiple jobs in the same time
- Initial job progress implementation
- Split UI improvements
- Running under WINE is more robust now (Mac Os)
- Internal code rework - multithreading
- Some bugs fixed
- Updated FFMpeg binary with latest version

I hope you like it and please provide feedback!
http://dmsimpleapps.blogspot.ro/2014/04 ... erter.html

Post Reply