FFConvert - multimedia converter

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

Re: Slacko 5.4 problems

#189 Post by SFR »

technosaurus wrote:
peebee wrote:Trying to use ffconvert 1.3 as comes in Slacko 5.4 to convert a downloaded flv file from gtk-youtube-downloader to mp4 format.

Get error messages when I try to convert - see screenies for error and settings in use.

Am I doing something wrong?

Thanks
peebee
spaces
Oh, I was going to report this problem and forgot.
I managed to fix this on my own. Line 1858 in /usr/bin/ffconvert:

Code: Select all

source_property "$FILE1" $SKIP || FLAG=$?
(double quotes)

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

Re: Slacko 5.4 problems

#190 Post by technosaurus »

SFR wrote:Oh, I was going to report this problem and forgot.
I managed to fix this on my own. Line 1858 in /usr/bin/ffconvert:

Code: Select all

source_property "$FILE1" $SKIP || FLAG=$?
(double quotes)
I figured it would be double quotes somewhere, just didn't have the code available ATM. Excellent work
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

Re: Slacko 5.4 problems

#191 Post by peebee »

SFR wrote: Oh, I was going to report this problem and forgot.
I managed to fix this on my own. Line 1858 in /usr/bin/ffconvert:

Code: Select all

source_property "$FILE1" $SKIP || FLAG=$?
(double quotes)

Greetings!
Many thanks SFR - that cures the problem.

I do notice that on completion of the convert, the Exit button on the main window does not work....

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

tutorial ffconvert 1.3

#192 Post by don570 »

I do a quick tutorial using ffconvert 1.3
to convert an mp3 file to wav.

http://www.murga-linux.com/puppy/viewto ... 971#671971

____________________________________

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ffconvert-1.3.1

#193 Post by shinobar »

# v1.3.1 - 31 Dec 2012: capturing parameters, auto cropping whole foler, fix was failed with spaces in filename (thanks to smokey)
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#194 Post by vicmz »

Spanish locale updated
Attachments
MoManager-es_AR-ffconvert.tar.gz
(5.34 KiB) Downloaded 667 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ffconvert-1.3.2

#195 Post by shinobar »

ffconvert-1.3.2.pet
#v1.3.2 - 16 Jul 2013: support ffmpeg 1.2 (SFR)
http://shino.pos.to/linux/puppy/
For Slacko 5.6, Use use 'h264' and 'ac3' instead of 'libx264' and 'libfaac' for the ffconvert MPEG4-AVC encoding.

c.f.
http://murga-linux.com/puppy/viewtopic. ... 433#713433
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ffconvert-1.3.3

#196 Post by shinobar »

ffconvert-1.3.3.pet
# v1.3.2s - 27 Jul 2013, SFR: further modifications for better compability with Slacko-5.5/5.6
# v1.3.3 - 29 Jul 2013 shinobar: fix was failed 2-pass, fix was failed save preset. fix was not read preset.d, fix X264_FFPRESET, codec name aliases, backward compatibility for older versions of ffmpeg
http://shino.pos.to/linux/puppy/

SFR did a great job. See http://www.murga-linux.com/puppy/viewto ... &start=166.
I have merged his code and applied other fixes.
Tested on slacko-5.6.71 + ffmpeg-2.0, Precise Puppy 550JP, 431JP2012.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ffconvert-1.4

#197 Post by shinobar »

ffconvert-1.4.pet (2013-10-25)
http://shino.pos.to/linux/puppy/ or
http://shino.pos.to/party/bridge.cgi?puppy/opt/
Upgrading is recommended especially for Precise puppies.

It was a question for a long time why the FFconvert on Precise puppies fail to encode WAV for CD.

The FFconvert makes query to the ffmpeg.
The ffmpeg responds that it does not support the encoding 'pcm_s16le'.
But actually, the ffmpeg can encode 'pcm_s16le'.

The ffconvert-1.4 has a fix against these conditions.
Last edited by shinobar on Sat 26 Oct 2013, 14:19, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ffinfo, mkplaylist

#198 Post by shinobar »

ffconvert-1.4 new feature:

ffinfo
Right-click on the ROX-Filer icon of multimedia files, and select ffinfo.
You can get the property of the multimedia file.

mkplaylist
Right-click on the ROX-Filer icon of a directory which contains multimedia files, and select mkplaylist.
The mkplaylist makes playlists in 3 formats, .asx, .m3u, and .pls.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

Re: ffconvert-1.4

#199 Post by ASRI éducation »

shinobar wrote:ffconvert-1.4.pet (2013-10-25)
Thank you shinobar.
Cordialement,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#200 Post by Flash »

Shinobar, do you mean that FFConvert 1.4 can make some audio file into a WAV file that, if burned onto a CD, will play in an old-fashioned CD player?

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Audio CD

#201 Post by shinobar »

Flash wrote:Shinobar, do you mean that FFConvert 1.4 can make some audio file into a WAV file that, if burned onto a CD, will play in an old-fashioned CD player?
You are better to use zigbert's pBurn to make audio CDs.
pBurn does not require FFConvert.
http://www.murga-linux.com/puppy/viewtopic.php?t=23881

'WAV for CD' means its format is compatible with the audio CD, can play with many applications like wavplay, can play in the secondlife, and etc..
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#202 Post by HoerMirAuf »

... since the last time i allways get a error message if i want t o open ffconvert. It tells me to check my ffmpeg installation, but ffmpeg is installed.

I comment out the vcodec check in ffconvert:
if [ -z "$VODOECS" ]; then
LC_ALL=$LC_ALL_ORG
errmsg "$ (gettext "Somewhat ........
exit 1
fi
ffconvertis working ... is this a bug or what is wrong?

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

allways get a error message

#203 Post by shinobar »

@HoerMirAuf
What is your Puppy?
What is your FFConvert version?
What is your ffmpeg version?
Type 'ffmpeg' on a terminal to see the ffmpeg version.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
HoerMirAuf
Posts: 255
Joined: Tue 22 Jan 2008, 12:11
Location: Würzburg

#204 Post by HoerMirAuf »

hi shinobar
My Puppy is slacko 5.5
ffconvert is now 1.4 but the same error was with 1.3
ffmpeg is 0.11.1

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

ffconvert-1.4-1.pet

#205 Post by shinobar »

ffconvert-1.4-1.pet (2014-01-07)
fix was wrong owner/permission
http://shino.pos.to/linux/puppy/ or
http://shino.pos.to/party/bridge.cgi?puppy/opt/
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#206 Post by vicmz »

Thank you Shinobar :D
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

Pelo

FFconvert new 2014 screenshot video

#207 Post by Pelo »

x11grab.mpg: 50 M for fullscreen format 852x480. 7500 frames. 25f/s.
It's a little bit expensive but it does the job.
Second hand of xvidcap. Puprecord can be used too.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#208 Post by SFR »

Hey Shinobar

I've been doing some converting lately and found that there are still problems with some paths/filenames (with characters like: ' $ and also if there's more that 1 space in a row).

Another thing I just noticed is that in x11-grab mode, that little window with record & stop buttons won't get displayed on the bottom right corner (technically, it's there but has 0x0 size).
IIRC it used to work when I tried it last time, but it was more than 1.5 ago, I guess...
Perhaps it's a matter of different Gtkdialog versions (gtkdialog version 0.8.4 r514M here)..?
Anyway, replacing:
PG="0x0+$(($RW - $PW))+$(($RH - $PH))"
with just:
PG="+$(($RW - $PW))+$(($RH - $PH))"
fixed the problem for me.

I also would like to suggest expanding 'Framerate' and 'Sampling' presets with 23.98 and 22050 values respectively.

Here's the diff of the above changes (+ a couple of other small fixes):

Code: Select all

--- old/ffconvert	2013-10-25 09:28:33.000000000 +0200
+++ new/ffconvert	2014-05-19 11:33:37.689973376 +0200
@@ -493,10 +493,10 @@
     </checkbox>
 
   <hbox>
-	<text><label>$(gettext 'Souce file')</label><variable>SOURCE_FILE</variable></text>
+	<text><label>$(gettext 'Source file')</label><variable>SOURCE_FILE</variable></text>
     <entry tooltip-text="$TOOLTIP_TEXT" editable="true" accept="filename">
         <variable>FILE1</variable>
-        $(make_default "$SOURCEFILE")
+        $(make_default ""$SOURCEFILE"")
         <action>enable:INFO_BUTTON</action>
         <action>enable:PLAY_BUTTON</action>
         <action>enable:CONVERT_BUTTON</action>
@@ -543,7 +543,7 @@
 	<text><label>$(gettext 'Souce 2nd')</label><variable>SOURCE_FILE2</variable></text>
     <entry tooltip-text="$TOOLTIP_TEXT2" editable="true" accept="filename">
         <variable>FILE2</variable>
-        $(make_default "$SOURCEFILE2")
+        $(make_default ""$SOURCEFILE2"")
         <action>enable:INFO_BUTTON2</action>
         <action>enable:PLAY_BUTTON2</action>
         <action>enable:CONVERT_BUTTON</action>
@@ -773,7 +773,7 @@
 <text><label>$(gettext 'Frame rate')(fps)</label></text>
 <combobox>
 <variable>FRAMERATE1</variable>
-$(make_combo - $DEFFRAMERATE $SAME 15 24 25 29.97 30 59.94)
+$(make_combo - $DEFFRAMERATE $SAME 15 23.98 24 25 29.97 30 59.94)
 </combobox>
 </hbox>
 <hbox>
@@ -809,7 +809,7 @@
 <text><label>$(gettext 'Sampling')(Hz)</label></text>
 <combobox>
 <variable>SAMPLING1</variable>
-$(make_combo $DEFSAMPLING $SAME 44100 48000)
+$(make_combo $DEFSAMPLING $SAME 22050 44100 48000)
 </combobox>
 </hbox>
 <hbox>
@@ -1406,7 +1406,7 @@
  # record button
  PW=300 #80
  PH=60
- PG="0x0+$(($RW - $PW))+$(($RH - $PH))"
+ PG="+$(($RW - $PW))+$(($RH - $PH))"
  debug "$PG"
  STEP=$(($CAPTURE_SECONDS / 20))
  debug "STEP=$STEP"
@@ -1628,7 +1628,7 @@
   waitsplash stop
   DIRSAVE="$(pwd)"
   cd "$SOURCEDIR"
-  eval $($GTKDIALOG)
+  eval "$($GTKDIALOG)"
   cd "$DIRSAVE"
   [ "$VDISABLE"  = "" ] || VCODEC1="$NONE"
   [ "$ADISABLE"  = "" ] || ACODEC1="$NONE"
@@ -1785,7 +1785,7 @@
   else
     if [ -z "$FILE1" -a "$FILE2" ]; then
       # swap
-      FILE1=FILE2
+      FILE1=$FILE2
       FILE2=""
     fi
     if [ ! -f "$FILE1" ]; then
@@ -1880,7 +1880,7 @@
 NFILES=$(echo "$SOURCES"| wc -l)
 REST=$NFILES
 NCONV=0
-MYROOT=$(basename "$FILE1"| cut -d'.' -f1|tr ' ()&' '_')	# SFR: trim also ()&
+MYROOT=$(basename "$FILE1"| cut -d'.' -f1|tr ' ()[]&$' '_' | tr "'" "_") # SFR: trim also ()[]&$ and '
 export COUNTFILE="$APPTMPDIR/$MYROOT-count"
 export NCONVFILE="$APPTMPDIR/$MYROOT-nconv"
 export DESTFNFILE="$APPTMPDIR/$MYROOT-destfile"
@@ -1925,8 +1925,8 @@
 # convert loop
 rm -f "$DESTFNLIST"
 echo "$SOURCES" | while read ITEM; do
- BASE1=$(echo $ITEM)   # remove blank for precaution
- SRCEXT=$(echo $BASE1| rev | cut -s -f1 -d'.'| rev)
+ BASE1=$(echo "$ITEM")   # remove blank for precaution
+ SRCEXT=$(echo "$BASE1" | rev | cut -s -f1 -d'.'| rev)
  SRCFILE="$ITEM"
  [ "$SRCDIR" ] && SRCFILE="$SRCDIR/$BASE1"
  FILE1="$SRCFILE"
@@ -1986,7 +1986,7 @@
  debug "# make options"
  #var2opt  # already done before loop
  # prepair work space
- ROOT2=$(echo "$ROOT1"|tr ' ()&' '_')		# SFR: trim also ()&
+ ROOT2=$(echo "$ROOT1"|tr ' ()[]&$' '_' | tr "'" "_") # SFR: trim also ()[]&$ and '
  WORKDIR="$DESTDIR/ffconvert_tmp_$ROOT2"
  CMDFILE="$APPTMPDIR/$ROOT2.sh"
  TMPFILE="$APPTMPDIR/$ROOT2.tmp"
EDIT: added also [ ] to exclusions.

BTW, while fixing the above issues, I noticed two occurences of '-sameq' option in the code.
It seems that new ffmpeg doesn't support it anymore:
ffmpeg -sameq wrote:ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
[snip]
Option 'sameq' was removed. If you are looking for an option to preserve the quality (which is not what -sameq was for), use -qscale 0 or an equivalent quality factor option.
Thanks again for this great tool &
Greetings!
Last edited by SFR on Mon 19 May 2014, 11:12, edited 1 time in total.
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Post Reply