Page 11 of 13

Audio CD

Posted: Sat 26 Oct 2013, 13:46
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..

Posted: Wed 13 Nov 2013, 09:01
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?

allways get a error message

Posted: Wed 13 Nov 2013, 10:49
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.

Posted: Wed 13 Nov 2013, 11:59
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

ffconvert-1.4-1.pet

Posted: Tue 07 Jan 2014, 14:23
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/

Posted: Tue 07 Jan 2014, 19:45
by vicmz
Thank you Shinobar :D

FFconvert new 2014 screenshot video

Posted: Sat 18 Jan 2014, 16:26
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.

Posted: Wed 14 May 2014, 15:11
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!

Posted: Sun 18 May 2014, 13:02
by IlluminatiPL
I will be wait for 1.5 in "VP9+Opus" Support (WebM) [Not "VP9+Vorbis" at a Some Converters)

ffconvert start

Posted: Mon 19 May 2014, 03:37
by wrayc
Sorry, new here

having ffconvert screen capture "start record" button missing

I see the fix is: PG="+$(($RW - $PW))+$(($RH - $PH))"

which file do we need to edit for this fix?

thanks in advance

Re: ffconvert start

Posted: Mon 19 May 2014, 11:14
by SFR
wrayc wrote:Sorry, new here

having ffconvert screen capture "start record" button missing

I see the fix is: PG="+$(($RW - $PW))+$(($RH - $PH))"

which file do we need to edit for this fix?

thanks in advance
It's /usr/bin/ffconvert, about line 1409.

Greetings!

re:ffconvert video capture

Posted: Mon 19 May 2014, 15:59
by wrayc
Thanks so much

M4V to MP4

Posted: Sun 01 Jun 2014, 05:25
by slavvo67
Does anyone know how to convert M4V to MP4. Which preset(s) work? I'm getting the error below with the latest FFConvert:


[buffer @ 0x807f8e0] Invalid pixel format string '-1'
Error opening filters!

UPDATE: ffconvert-1.4.2

Posted: Mon 23 Jun 2014, 04:48
by shinobar
UPDATE: ffconvert-1.4.2.pet (2014-06-23)
http://shino.pos.to/linux/puppy/ or
http://shino.pos.to/party/bridge.cgi?puppy/opt/

#v1.4.2 - 19 June 2014: cleanup for multiusers(mcewanw)
# (SFR)fix was missing capture button, filename with special charactors, add framerate and sampling rate, fix typo

flipping upside down video?

Posted: Thu 26 Jun 2014, 07:55
by davids45
G'day shinobar,

I believe, after a quick google, that ffmpeg can rotate video recorded from a phone/pad upside-down or at 90 degrees to normal.

Can ffconvert do this rotation as one of its conversion options or pre-sets? I want to view these on my desktop and the monitor is too heavy to hold upside down for too long :oops: .

Thanks,

David S.

Re: flipping upside down video?

Posted: Thu 26 Jun 2014, 08:04
by shinobar
davids45 wrote:Can ffconvert do this rotation as one of its conversion options or pre-sets?
No preset.
I am not sure but try the advanced option. You can type additional options there.

-vf transpose= filter for rotating

Posted: Fri 27 Jun 2014, 04:51
by davids45
G'day shinobar,

Thank you for the guidance in trying ffconvert-1.4 for rotating a video (taken on a smart-phone held the wrong way).

I added to the 'Advanced options' box, "-vf transpose=1" to rotate a short holiday .3gp video by 90 degrees. The converted video format I chose was mpeg4.

The new video was rotated correctly but the image quality was very pixelated. The original .3gp file was 60MB, the converted mpeg file just 8MB :shock: .

I tried adding the '-crf' parameter but this did not improve the image whatever value I used after the "-crf" ( tried 15 to 36 ).

Can you or anyone else suggest how to keep the image quality using the "transpose=" parameter with ffconvert?

With VLC, I can rotate as needed each video to watch it, but the file itself is still wrongly aligned.

Avidemux works very well (using the "Rotate" option in its "Filters" and its MP4 video option - new file is 50MB with good image quality and the right-way-up), so I can fix all my mis-aligned videos but would like to know more about ffconvert and how to use it also.

Thank you,
David S.

Re: -vf transpose= filter for rotating

Posted: Fri 27 Jun 2014, 08:04
by shinobar
davids45 wrote:The new video was rotated correctly but the image quality was very pixelated. The original .3gp file was 60MB, the converted mpeg file just 8MB :shock:
How about increasing Video Bitrate?
Also choose X254 preset if you are going to make MPEG4-AVC.

What is your Puppy version?

Rotating Phone/tablet videos [SOLVED]

Posted: Sat 28 Jun 2014, 03:33
by davids45
G'day shinobar,

Thank you for advising me to look at the Bit-rate of the ffconvert created file when rotating my upside-down and sideways holidays videos from my 'smart'-phone.

Poor quality transposed video from ffconvert was caused by my Bit-rate being set to 1000 - the original phone video was 9000 [which was being displayed in front of me by ffconvert during the conversion :oops: ] .

Setting the ffconvert Bit-rate to 3000 gives me very good .mp4 videos from my 9000-bit-rate .3gp originals.

For any other "old dogs" challenged by cameras & devices without viewfinders :evil: , so that videos can end up in any orientation on your monitor, the text to add into the 'Adv. options' box of ffconvert's 'Detail' tab for adjusting the original is:

-vf transpose=0 (rotate anti-clockwise 90 degrees and flip vertically; I think the leading '-vf' means a 'video filter' is being called)
-vf transpose=1 (rotate clockwise 90 degrees)
-vf transpose=2 (rotate anti-clockwise 90 degrees)
-vf transpose=3 (rotate clockwise 90 degrees and flip vertically)

-vf vflip,hflip (rotate 180 degrees - camera was upside down)

Working for me in slacko and tahr Pups so I'd expect this is good for any Pup running ffconvert-1.4.

For my .3gp video files, video codec=libx264, audio codec=libfaac, bit-rate=3000, to produce .mp4 files is a working combination among others.

Thanks again shinobar for your help and excellent multimedia package,

David S.

[SOLVED] FFconvert-1.4.2 screen size field empty

Posted: Mon 04 Aug 2014, 07:10
by charlie6
Hi shinobar,
thanks for this awesome app !
running FFconvert-1.4.2 on wheezy-3.5.2.11:
after having succesfully converted a video to .avi format, and wanting to perform a new conversion, i noticed that the guis screen size field kept being empty: no longer possible to select «same as source» or whatever resolution; definitely empty; even after un-and re-installing FFconvert.

fix:
Exiting FFconvert,
and afterwards deleting /root/.config/ffconvert/ffconvert.rc,
and re-starting FFconvert fixed the trick !

Greetings
Charlie