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 18 Dec 2014, 03:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
dmMediaConverter - reduced download size version
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
mcewanw

Joined: 16 Aug 2007
Posts: 2350
Location: New Zealand

PostPosted: Thu 28 Aug 2014, 21:00    Post_subject:  dmMediaConverter - reduced download size version
Sub_title: But full-featured. Tested in DebianDog, and Puppy Slacko 6beta
 

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/jgdjekfgc7f45al/dmmediaconverter_1.0.0_i386.deb?dl=0

Download 1.3MB dotpet package tested on Puppy Slacko 6beta from:
https://www.dropbox.com/s/d37a0ykpn6dvi7b/dmmediaconverter-1.0.0-i386.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/gux536sh4n5hzyw/dmmediaconverter_1.0.0_amd64.deb?dl=0

Download 1.5MB dotpet package from:
https://www.dropbox.com/s/2jo2ydr0hnkn4r5/dmmediaconverter-1.0.0-amd64.pet?dl=0
-----

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

Code:
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/dmmediaconverter.html

Quote:
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:

Quote:
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.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
mcewanw

Joined: 16 Aug 2007
Posts: 2350
Location: New Zealand

PostPosted: Thu 28 Aug 2014, 23:56    Post_subject: 1.3MB dotpet version now uploaded
Sub_title: Tested briefly on Puppy Slacko 6beta
 

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

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send_private_message Visit_website 
step

Joined: 04 May 2012
Posts: 223

PostPosted: Fri 29 Aug 2014, 12:20    Post_subject:  

Edit3: See also http://murga-linux.com/puppy/viewtopic.php?p=797108#797108

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

# 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.

_________________
FatDog64 631|Blue Pup 4|DebianDog+OpenMediaVault stick

Edited_time_total
Back to top
View user's profile Send_private_message 
mcewanw

Joined: 16 Aug 2007
Posts: 2350
Location: New Zealand

PostPosted: Fri 29 Aug 2014, 18:53    Post_subject:  

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).

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
step

Joined: 04 May 2012
Posts: 223

PostPosted: Sat 30 Aug 2014, 04:29    Post_subject:  

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.

_________________
FatDog64 631|Blue Pup 4|DebianDog+OpenMediaVault stick
Back to top
View user's profile Send_private_message 
mcewanw

Joined: 16 Aug 2007
Posts: 2350
Location: New Zealand

PostPosted: Sat 30 Aug 2014, 04:49    Post_subject: Message from the program's author  

accidental double post
_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
mcewanw

Joined: 16 Aug 2007
Posts: 2350
Location: New Zealand

PostPosted: Sat 30 Aug 2014, 04:52    Post_subject: Message from the program's author  

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:

Quote:
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.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
mcewanw

Joined: 16 Aug 2007
Posts: 2350
Location: New Zealand

PostPosted: Sat 30 Aug 2014, 04:59    Post_subject:  

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

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send_private_message Visit_website 
jamesbond

Joined: 26 Feb 2007
Posts: 2232
Location: The Blue Marble

PostPosted: Sat 30 Aug 2014, 09:08    Post_subject:  

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

# 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, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
saintless


Joined: 11 Jun 2011
Posts: 2721
Location: Bulgaria

PostPosted: Sat 30 Aug 2014, 11:10    Post_subject:  

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:
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

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send_private_message MSNM 
step

Joined: 04 May 2012
Posts: 223

PostPosted: Sat 30 Aug 2014, 15:59    Post_subject:  

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:

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'

_________________
FatDog64 631|Blue Pup 4|DebianDog+OpenMediaVault stick
Back to top
View user's profile Send_private_message 
smokey01


Joined: 30 Dec 2006
Posts: 1856
Location: South Australia

PostPosted: Sat 30 Aug 2014, 17:44    Post_subject:  

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

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send_private_message Visit_website 
mcewanw

Joined: 16 Aug 2007
Posts: 2350
Location: New Zealand

PostPosted: Sat 30 Aug 2014, 18:01    Post_subject:  

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:


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

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
mcewanw

Joined: 16 Aug 2007
Posts: 2350
Location: New Zealand

PostPosted: Sat 30 Aug 2014, 18:05    Post_subject:  

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

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send_private_message Visit_website 
mdalacu

Joined: 14 Sep 2014
Posts: 3

PostPosted: Sun 14 Sep 2014, 15:21    Post_subject: dmMediaConverter v1.1.0
Sub_title: -of ini
 

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

Marius Dalacu.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1335s ][ Queries: 11 (0.0044s) ][ GZIP on ]