-
 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  .- Knowledge Base  . 

FFmpeg Service Menu (headache)

   0.2.5  

KDE Service Menu

Score 53%
FFmpeg Service Menu (headache)
zoom


FFmpeg Service Menu (headache)
zoom


FFmpeg Service Menu (headache)
zoom


Link:  Link
Minimum required   KDE 4.x
Downloads:  344
Submitted:  Aug 3 2012
Updated:  Sep 15 2012

Description:

Fdl documentation
gpl software

!!!NOTE REMOVE OLD SETTINGS !!!!!

KNOWN ISSUE

old profiles that doesn\'t works with the latest git version of ffmpeg ....

screencast function doesn't work with ffmpeg provided by avconv developers and you havet to edit ti...

:D

This service menu help you to convert your multimedia files in every formats supported by FFmpeg

you can run the script with the option

ffmpeg-peace-service-menu -mx
ffmpeg-peace-service-menu -wx

of course you can use it with dolphin and right click on folders or files

the first if you have running X server
the second if you wan run it on terminal without X


features :

-add folder
-add files
-compile ffmpeg for kubuntu system (for other distro maybe someone could help me...)
-compile a video from pictures
-decompile a video into pictures
-build a ffmpeg function and save it
-single pass encode
-double pass encode
-overwrite function
-passive popup can be disabled
-use ffmpeg audio device video profiles
-test ffmpeg encoders
-user can save settings
-screencast function ONLY SHELL MODE
-user can set ffmpeg path
-service menu can be installed via dolphin with get hot new stuff service

INSTALLATION

run the install script ... by typing this on the konsole

./install

you can test the installation even from dolphin.... ghns service should work (configure dolphin settings download stuff etc etc..)

USE
select folders o files and add to conversion list....

after that you need to deselect every files or folder and just select one folder or one file and click on start menu....

if you want test the script just run it with

./ffmpeg-peace-service-menu -mx

nb

avconv is not supported

on kubuntu there is libav version of ffmpeg ... that is not fully supported


a) any insult is welcomed
b) this is for me and for my own fun
c) i like integreted stuff on dolphin
c) for m0nk your are the numero uno of fracassa palle yeah

Copyright (C) 2012 nowardev@gmail.com.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license can be found here http://www.gnu.org/licenses/fdl-1.3.txt




Changelog:

0.2.5
---------------------------------
Many fix
now user can see the message when somethign goes bad
new CUT feature
user can set texeditor
and boh manybe something else
----------------------------------
0.2.3
-------------------------------------
fix bugs :
dual pass with shell and gui works fine

254 line has $REPLY=""

users can type enter to set default values when he creates settings
some typo
remove easyprofilefile
new function to detect n° of cpu without cut grep and shit like that
--------------------------------------
0.2.1
now you can screencast ONLY IN SHELL MODE
fix analyze function
many other fixs


----------------------------------------
0.2.0
You can run the script without kdialog or X server

a lots of new stuff....

--------------------------------
0.1.0
Fix Cancel button Now cancel button stops the process
Fix Compile function to create video from pictures
-------------------------------------
0.0.9
-new add folder function based on common audio video formats much more faster
-new function compile ffmpeg for kubuntu
-new function compile video (not tested) need some love
-new fix
-new function double pass activated
-many aother things ....
KNOW ISSUE

Compile video doesn't work
cancel button doesn't work just kill the process :D

-----------------------------------------
0.0.8
Multiple Stupid Notifications shoudl not be there anymore

some work on function delete and function search for error




LicenseGPL
(0.2.5 (headache))
(0.2.3 (Hard Time))
(0.2.1 (Normal life))
(0.2.0 (Normal life))
(0.1.0 Healing)
( 0.0.9 Slow heal )
Send to a friend
Subscribe
Other  Apps  from nowardev
Report inappropriate content



-
.

 i can't do it i can't find the file ...

 
 by roctheme on: Aug 3 2012
 
Score 50%

I all times receive this error message (12x):

i can't do it i can't find the file /home/<user>/ffmpeg-service-menu-qt.lst

Note, the file /home/<user>/ffmpeg-service-menu-qt.lst exist before start conversion. Inside the file is the correct filename with full path.


Reply to this

-

 Re: i can't do it i can't find the file ...

 
 by nowardev on: Aug 3 2012
 
Score 50%

cat /tmp/ffmpeg_peace_dolphin_service_menu.log

you should get this

/usr/bin/ffmpeg
Version 0.0.7
Author nowardev@gmail.com
License GLPv3
List of Files location /home/nowardevse/ffmpeg-service-menu-qt.lst
easyprofile_file location /home/nowardevse/.FFmpeg_easy_profile
FFmpeg Audio profile location /home/nowardevse/.FFmpeg_profiles-qt_audio.lst
FFmpeg Device profile location /home/nowardevse/.FFmpeg_profiles-qt_device.lst
FFmpeg Video profile location /home/nowardevse/.FFmpeg_profiles-qt_video.lst
Temp Log file location /tmp/ffmpeg_peace_dolphin_service_menu.log
FFmpeg service menu Settings Location /home/nowardevse/.FFmpeg_service_menu_settings
Reset list after conversion yes
OverWrite files if they are present ? -y
Cpu used 1
Cpu detected 1
Number of files 3


btw multiple messagge is a known bug :)


Reply to this

-

 Re: i can't do it i can't find the file ...

 
 by nowardev on: Aug 3 2012
 
Score 50%

thanks i have seen a problem in the funcion delete , i have to fix and watch better for multiple stupid messagges ...

btw your files are converted or not ?
it starts to convert or not?


Reply to this

-

 Re: Re: i can't do it i can't find the file ...

 
 by roctheme on: Aug 3 2012
 
Score 50%

"cat /tmp/ffmpeg_peace_dolphin_service_menu.log"

-> no such file or directory!

"btw your files are converted or not ?"

The files exist, but are empty.

"it starts to convert or not?"

It start to convert this messages appears:
1x: Conversions done!

2x: Old list /home/mirko/ffmpeg-service-menu-qt.lst deleted and Old log /tmp/ffmpeg_peace_dolphin_service_menu.log deleted

11x: i can't do it i can't find the file /home/mirko/ffmpeg-service-menu-qt.lst



Reply to this

-

 Re: Re: Re: i can't do it i can't find the file ..

 
 by nowardev on: Aug 3 2012
 
Score 50%

ok so that means :

the script does the loop , then delete the log and the list of your files because it doesn't detect errors in the log...

i guess you have a problem with ffmpeg ... if the files are empty that means ffmpeg has some kind of problems with codecs.


to be sure of your ffmpeg use the same format you used with my service menu , if you have made some mp3 or avi just do this

ffmpeg -i testvideo.blalba outvideo.mp3

or what ever output format you used before

if you want test your ffmpeg do this

ffmpeg -codecs 2>&1 | grep mp3

if you don't see E but only D and other letters that meeans your ffmpeg is not able to encode into mp3

for example in this case ffmpeg can just decode...


D A D mp3 MP3 (MPEG audio layer 3)
D A D mp3adu ADU (Application Data Unit) MP3 (MPEG audio layer 3)
D A D mp3adufloat ADU (Application Data Unit) MP3 (MPEG audio layer 3)
D A D mp3float MP3 (MPEG audio layer 3)
D A D mp3on4 MP3onMP4
D A D mp3on4float MP3onMP4


Reply to this

-

 Re: Re: Re: Re: i can't do it i can't find the fil

 
 by roctheme on: Aug 3 2012
 
Score 50%

OK:

"ffmpeg -i testvideo.blalba outvideo.mp3"

conversion works!

I receive this output:

"ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jun 12 2012 16:52:09 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.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Test.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2012-03-16 18:37:38
artist : bla bla
album :
title : blubb
Duration: 00:02:46.56, start: 0.000000, bitrate: 312 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x360, 214 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 95 kb/s
Metadata:
creation_time : 2012-03-16 18:37:38
Output #0, mp3, to 'Test.mp3':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
TDEN : 2012-03-16 18:37:38
TPE1 : blabla
TALB :
TIT2 : blub
TSSE : Lavf53.21.0
Stream #0.0(und): Audio: libmp3lame, 44100 Hz, stereo, s16, 200 kb/s
Metadata:
creation_time : 2012-03-16 18:37:38
Stream mapping:
Stream #0.1 -> #0.0
Press ctrl-c to stop encoding
size= 3905kB time=166.58 bitrate= 192.0kbits/s
video:0kB audio:3904kB global headers:0kB muxing overhead 0.008129%"



"ffmpeg -codecs 2>&1 | grep mp3"

Output:

EA libmp3lame libmp3lame MP3 (MPEG audio layer 3)
D A D mp3 MP3 (MPEG audio layer 3)
D A D mp3adu ADU (Application Data Unit) MP3 (MPEG audio layer 3)
D A D mp3adufloat ADU (Application Data Unit) MP3 (MPEG audio layer 3)
D A D mp3float MP3 (MPEG audio layer 3)
D A D mp3on4 MP3onMP4
D A D mp3on4float MP3onMP4


Reply to this

-

 Re: Re: Re: Re: i can't do it i can't find the fil

 
 by roctheme on: Aug 3 2012
 
Score 50%

OK:

"ffmpeg -i testvideo.blalba outvideo.mp3"

conversion works!

I receive this output:

"ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jun 12 2012 16:52:09 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.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Test.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2012-03-16 18:37:38
artist : bla bla
album :
title : blubb
Duration: 00:02:46.56, start: 0.000000, bitrate: 312 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x360, 214 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 95 kb/s
Metadata:
creation_time : 2012-03-16 18:37:38
Output #0, mp3, to 'Test.mp3':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
TDEN : 2012-03-16 18:37:38
TPE1 : blabla
TALB :
TIT2 : blub
TSSE : Lavf53.21.0
Stream #0.0(und): Audio: libmp3lame, 44100 Hz, stereo, s16, 200 kb/s
Metadata:
creation_time : 2012-03-16 18:37:38
Stream mapping:
Stream #0.1 -> #0.0
Press ctrl-c to stop encoding
size= 3905kB time=166.58 bitrate= 192.0kbits/s
video:0kB audio:3904kB global headers:0kB muxing overhead 0.008129%"



"ffmpeg -codecs 2>&1 | grep mp3"

Output:

EA libmp3lame libmp3lame MP3 (MPEG audio layer 3)
D A D mp3 MP3 (MPEG audio layer 3)
D A D mp3adu ADU (Application Data Unit) MP3 (MPEG audio layer 3)
D A D mp3adufloat ADU (Application Data Unit) MP3 (MPEG audio layer 3)
D A D mp3float MP3 (MPEG audio layer 3)
D A D mp3on4 MP3onMP4
D A D mp3on4float MP3onMP4


Reply to this

-

 Re: Re: Re: Re: Re: i can't do it i can't find the

 
 by nowardev on: Aug 3 2012
 
Score 50%

ok so you have the mp3 encoder and ffmpeg should work just fine

my service menu it's only a bash script that create a loop reading the file.

i should read the log to understand the problem you could open the log file even if empty

kate /tmp/ffmpeg_peace_dolphin_service_menu.log

then run my service menu while it is working you should reload the file opened into kate


here the conversion just work fine , leaving the problem of stupid multiple notifications


Reply to this

-

 Re: Re: Re: Re: Re: Re: i can't do it i can't find

 
 by roctheme on: Aug 4 2012
 
Score 50%

kate /tmp/ffmpeg_peace_dolphin_service_menu.log:

/usr/bin/ffmpeg
Version 0.0.7
Author nowardev@gmail.com
License GLPv3
List of Files location /home/mirko/ffmpeg-service-menu-qt.lst
easyprofile_file location /home/mirko/.FFmpeg_easy_profile
FFmpeg Audio profile location /home/mirko/.FFmpeg_profiles-qt_audio.lst
FFmpeg Device profile location /home/mirko/.FFmpeg_profiles-qt_device.lst
FFmpeg Video profile location /home/mirko/.FFmpeg_profiles-qt_video.lst
Temp Log file location /tmp/ffmpeg_peace_dolphin_service_menu.log
FFmpeg service menu Settings Location /home/mirko/.FFmpeg_service_menu_settings
Reset list after conversion yes
OverWrite files if they are present ?
Cpu used 2
Cpu detected 2
Number of files 2
Easy profile used -sameq
/usr/bin/ffmpeg
Version 0.0.7
Author nowardev@gmail.com
License GLPv3
List of Files location /home/mirko/ffmpeg-service-menu-qt.lst
easyprofile_file location /home/mirko/.FFmpeg_easy_profile
FFmpeg Audio profile location /home/mirko/.FFmpeg_profiles-qt_audio.lst
FFmpeg Device profile location /home/mirko/.FFmpeg_profiles-qt_device.lst
FFmpeg Video profile location /home/mirko/.FFmpeg_profiles-qt_video.lst
Temp Log file location /tmp/ffmpeg_peace_dolphin_service_menu.log
FFmpeg service menu Settings Location /home/mirko/.FFmpeg_service_menu_settings
Reset list after conversion yes
OverWrite files if they are present ?
Cpu used 2
Cpu detected 2
Number of files 2
Easy profile used -sameq

After this, the file ffmpeg_peace_dolphin_service_menu.log will be deleted from your script.



-

 Re: Re: Re: Re: Re: Re: i can't do it i can't find

 
 by roctheme on: Aug 4 2012
 
Score 50%

I found this file in /.local/share/Trash/files/:

ffmpeg_peace_dolphin_service_menu.log:

start new conversion loop using profile


Log File /home/mirko/test.mp4


/usr/bin/ffmpeg -i /home/mirko/Videos/test.mp4 -acodec vorbis -aq 60 -ac 2 -vn -y /home/mirko/Videos/test.OGG
ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jun 12 2012 16:52:09 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.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/mirko/Videos/test.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2012-04-03 21:27:46
Duration: 00:02:49.60, start: 0.000000, bitrate: 361 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 480x360, 264 kb/s, 29.97 fps, 29.97 tbr, 60k tbn, 59.94 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 94 kb/s
Metadata:
creation_time : 2012-04-03 21:27:46
encoder 'vorbis' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it.
Or use the non experimental encoder 'libvorbis'.

...



-

 ok i undestood the problem

 
 by nowardev on: Aug 4 2012
 
Score 50%

you are using this

/usr/bin/ffmpeg -i /home/mirko/Videos/test.mp4 -acodec vorbis -aq 60 -ac 2 -vn -y /home/mirko/Videos/test.OGG


so you did => convert using a audio profile then you selected ogg

this feature is NOT well tested and many profiles could not work properly like yours example because you are using ffmpeg by libav developers


work around =>

select convert made easy and select your prefered format...


Reply to this

-

 ok i undestood the problem

 
 by nowardev on: Aug 4 2012
 
Score 50%

you are using this

/usr/bin/ffmpeg -i /home/mirko/Videos/test.mp4 -acodec vorbis -aq 60 -ac 2 -vn -y /home/mirko/Videos/test.OGG


so you did => convert using a audio profile then you selected ogg

this feature is NOT well tested and many profiles could not work properly like yours example because you are using ffmpeg by libav developers


work around =>

select convert made easy and select your prefered format...


Reply to this

-
.

 Re: ok i undestood the problem

 
 by roctheme on: Aug 4 2012
 
Score 50%

Thank you.

With the new version everything works fine.

But note, an ogg generated from a mp3-file with 4 MB is 12 MB large. So I use still soundKonverter to convert my files.

And note too, moving files to ~/.local/share/Trash/files/ due to an error in Kubuntu (trash folder exceeds limit).


Reply to this

-
.

 Re: Re: ok i undestood the problem

 
 by nowardev on: Aug 4 2012
 
Score 50%

you can edit the configs file with your own settings
editing the files :

~/.FFmpeg_profiles-qt_audio.lst
~/.FFmpeg_profiles-qt_device.lst
~.FFmpeg_profiles-qt_video.lst

for example here

you have just to write it correctly for example

OGG_personal ogg options_you_want_in ffmpeg

and then use your profile

of course you need to test in konsole your own personal settings...


Reply to this

-

 Re: Re: Re: ok i undestood the problem

 
 by roctheme on: Aug 4 2012
 
Score 50%

OK, thank you.

I try to change the settings for mp3 to ogg conversion and report later, if successful.


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 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 KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.