FFConvert - multimedia converter

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Can FFConvert be modified to also use avconv?

#221 Post by mikeslr »

Hi Shinobar:

With Ubuntu (and I think debian) now building using the avconv fork from ffmpeg, some newer Pups --those based on Ubuntu (and perhaps debian) binaries may lack ffmpeg but include avconv. See my post here: http://www.murga-linux.com/puppy/viewto ... 377#795377 and the links it gives. Although using winff as I suggested there is one possibility, it would be preferable to have a "home-grown" pet usable in most Puppies, regardless of their derivation. I couldn't find any way to configure ffmpeg so that it would alternatively use ffmpeg or avconv.

Thanks in advance,

mikesLr

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

#222 Post by technosaurus »

ffconvert doesn't do anything "special" besides wrapping calls to binaries. So long as the 2 different forks still use the same arguments, all you need is a symlink or hard link to the other.
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
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: Can FFConvert be modified to also use avconv?

#223 Post by shinobar »

ffconvert v1.3 and later supports avconv(libav).

# v1.3 - 17 Jun 2012: support avconv, fix unsupported codec error message, gtkdialog to avoid yaf-splash incompatibility, vcd for the default
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#224 Post by panoss »

Can I use FFConvert on puppy to convert mp4 to 3gp?
I don't see such a choice in FFConvert.

I tried and directly with ffmpeg:
ffmpeg -i input.mp4 output.3gp
and returned me an error:
"Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height".

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#225 Post by panoss »

I did what was suggested here:
/usr/bin/ffconvert:
Code:
source_property "$FILE1" $SKIP || FLAG=$?
Now I get another error (from avconv, I guess FFConvert uses avconv):
"Could not write header for output file #0 (incorrect codec parameters ?)"

panoss
Posts: 198
Joined: Mon 31 Oct 2011, 13:36

#226 Post by panoss »

I installed and used a windows application through Wine, Winx video converter.
It took 96 minutes to convert a 120MB movie from mp4 to 3gp.
At convertfiles.com it took me 28 minutes, from which upload was the 25 minutes
and 3 minutes download(74MB),
So I guess the online converter is a better solution, I thought that the conversion in the pc would be much faster.

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

#227 Post by don570 »

You must have changed the frames per second setting to a different
value from original.

_____________________________________________________________

slacko-rana
Posts: 3
Joined: Sat 07 Jun 2014, 06:25

wants to convert any video file to MP4

#228 Post by slacko-rana »

Hi there,
i'm new on linux. would like to convert a video to watch it on my mobile phone, i tried 1.4.2 but it converted it well, but the mobile unable to play this converted video. :( i attached a pic this settings works well. how i convert video with codec FFODIVX?
Attachments
valid.jpg
these videos play on my mobile phone, but after convert any video the video doesnt play on my mobile because of the codec that doesnt mach with FFODIVX
(41.38 KiB) Downloaded 967 times

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

Nokia Asha 302 setups

#229 Post by vicmz »

Playing with FFConvert in Precise Puppy, I managed to make some setups to convert videos for Nokia phones. I named the setups as Nokia Asha 302 because that's my phone model and I'm not sure if they will work for other models and brands (I think they might do the job at least for most mobile phones with 320x240 screen resolution). The widescreen setups are configured to convert HD videos while maintaining the original proportions, as by converting to full screen they would expand and look narrow. Since HD videos are made for screens wider than the ones of these Nokia phones, videos converted with the widescreen setups will not fill the phone screen, but play with a top and bottom black frame.

I also made a setup, named HD2CRT, to adapt HD videos to 1024x768 monitors. Because they're made for wide LCD/LED monitors, videos in high quality 720p and 1080p are usually played with delays or stutters under a 1024x768 sized screen (often CRT but also some LCD monitors). With this setup the videos will still be high quality and big, that's why they will take a lot of time to convert, yet they'll be in most cases smaller than the original file. Also, the videos won't fill the screen - you will get a top and bottom black frame, since the original videos were recorded for wide screens.

Always remember that the time it takes to convert a video and the file size of the resulting video will depend on the duration of the video in minutes, the quality settings for the new video file, the target device (phone, computer, etc.), and the speed of your computer microprocessor.

To add these setups to FFConvert:

- If FFConvert is running, close it. Then type in console:

Code: Select all

geany /usr/share/ffconvert/preset
- Copy & paste the following at the end of the file:

Code: Select all

Nokia Asha 302 widescreen HQ, -f mp4  -vcodec mpeg4  -b 384k 320x180  -r 25  -acodec libfaac 96k -ar 22050
Nokia Asha 302 widescreen, -f mp4  -vcodec mpeg4  -b 200k 320x180  -r 15  -acodec libfaac 64k -ar 22050
Nokia Asha 302 fullscreen HQ, -f mp4  -vcodec mpeg4  -b 384k 320x240  -r 25  -acodec libfaac 96k -ar 22050
Nokia Asha 302 fullscreen, -f mp4  -vcodec mpeg4  -b 200k 320x240  -r 15  -acodec libfaac 64k -ar 22050
HD2CRT 960x540, -f mp4  -vcodec libx264  -b 3000k 960x540  -r 29.97  -acodec libvo_aacenc 96k -ar 48000
- Save and close. Then you're ready to start using them.

IMPORTANT NOTE: When you apply a setup, make sure that the default video screen size and audio bitrate values are correct. For example, in the screenshot below, you can see that FFConvert did not apply the default screen size configured in the setup, it set the screen size used for the last file conversion instead! And the Adv. options field must be blank, otherwise conversion stops with an error.
Attachments
Screenshot_2015-08-14_17.55.07.png
(56.83 KiB) Downloaded 803 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

Convert to Audio Only

#230 Post by mikeslr »

Convert to Audio Only

Just a link to a 2 post discussion: http://murga-linux.com/puppy/viewtopic. ... 711#876711

mikesLr

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#231 Post by greengeek »

Does anyone have a version of ffmpeg that contains support for the MPv4 codec?

Here is what I get from my ffmpeg:

Code: Select all

# ffmpeg -formats
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 16 2013 10:17:34 with gcc 4.7.1 (GCC)
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
File formats:
 D. = Demuxing supported
 .E = Muxing supported
 --
  E 3g2              
  E 3gp              
 D  4xm              
  E a64              
 D  aac              
 DE ac3              
 D  act             ACT Voice file format
 D  adf              
 D  adp              
  E adts             
 DE adx              
 D  aea              
 D  afc              
 DE aiff             
 DE alaw             
 DE alsa             
 DE amr              
 D  anm              
 D  apc              
 D  ape              
 D  aqtitle          
 DE asf              
  E asf_stream       
 DE ass              
 DE ast              
 DE au               
 DE avi              
  E avm2             
 D  avr              
 D  avs              
 D  bethsoftvid      
 D  bfi              
 D  bin              
 D  bink             
 DE bit              
 D  bmv              
 D  boa              
 D  brstm            
 D  c93              
 DE caf              
 DE cavsvideo        
 D  cdg              
 D  cdxl             
 D  concat           
  E crc              
 DE data             
 DE daud             
 D  dfa              
 DE dirac            
 DE dnxhd            
 D  dsicin           
 DE dts              
 D  dtshd            
 DE dv               
 D  dv1394           
  E dvd              
 D  dxa              
 D  ea               
 D  ea_cdata         
 DE eac3             
 D  epaf             
 DE f32be            
 DE f32le            
  E f4v              
 DE f64be            
 DE f64le            
 D  fbdev            
 DE ffm              
 DE ffmetadata       
 D  film_cpk         
 DE filmstrip        
 DE flac             
 D  flic             
 DE flv              
  E framecrc         
  E framemd5         
 D  frm              
 DE g722             
 DE g723_1           
 D  g729             
 DE gif              
 D  gsm              
 DE gxf              
 DE h261             
 DE h263             
 DE h264             
  E hls              
 D  hls,applehttp    
 DE ico              
 D  idcin            
 D  idf              
 D  iff              
 DE ilbc             
 DE image2           
 DE image2pipe       
 D  ingenient        
 D  ipmovie          
  E ipod             
 DE ircam            
  E ismv             
 D  iss              
 D  iv8              
 DE ivf              
 DE jacosub          
 D  jv               
 DE latm             
 D  lavfi            
 D  libdc1394        
 D  lmlm4            
 D  loas             
 D  lvf              
 D  lxf              
 DE m4v              
  E matroska         
 D  matroska,webm    
  E md5              
 D  mgsts            
 DE microdvd         
 DE mjpeg            
  E mkvtimestamp_v2  
 DE mlp              
 D  mm               
 DE mmf              
  E mov              
 D  mov,mp4,m4a,3gp,3g2,mj2  
  E mp2              
 DE mp3              
  E mp4              
 D  mpc              
 D  mpc8             
 DE mpeg             
  E mpeg1video       
  E mpeg2video       
 DE mpegts           
 D  mpegtsraw        
 D  mpegvideo        
  E mpjpeg           
 D  mpl2             
 D  mpsub            
 D  msnwctcp         
 D  mtv              
 DE mulaw            
 D  mv               
 D  mvi              
 DE mxf              
  E mxf_d10          
 D  mxg              
 D  nc               
 D  nistsphere       
 D  nsv              
  E null             
 DE nut              
 D  nuv              
 DE ogg              
 DE oma              
 DE oss              
 D  paf              
 D  pjs              
 D  pmp              
  E psp              
 D  psxstr           
 D  pva              
 D  pvf              
 D  qcp              
 D  r3d              
 DE rawvideo         
 D  realtext         
 D  redspark         
 D  rl2              
 DE rm               
 DE roq              
 D  rpl              
 D  rsd              
 DE rso              
 DE rtp              
 DE rtsp             
 DE s16be            
 DE s16le            
 DE s24be            
 DE s24le            
 DE s32be            
 DE s32le            
 DE s8               
 D  sami             
 DE sap              
 D  sbg              
  E sdl              
 D  sdp              
  E segment          
 D  shn              
 D  siff             
 DE smjpeg           
 D  smk              
  E smoothstreaming  
 D  smush            
 D  sol              
 DE sox              
 DE spdif            
 DE srt              
  E stream_segment,ssegment  
 D  subviewer        
 D  subviewer1       
  E svcd             
 DE swf              
 D  tak              
 D  tedcaptions      
  E tee              
 D  thp              
 D  tiertexseq       
 D  tmv              
 DE truehd           
 D  tta              
 D  tty              
 D  txd              
 DE u16be            
 DE u16le            
 DE u24be            
 DE u24le            
 DE u32be            
 DE u32le            
 DE u8               
  E v4l2             
 DE vc1              
 DE vc1test          
  E vcd              
 D  video4linux2,v4l2  
 D  vivo             
 D  vmd              
  E vob              
 D  vobsub           
 DE voc              
 D  vplayer          
 D  vqf              
 DE w64              
 DE wav              
 D  wc3movie         
  E webm             
 DE webvtt           
 D  wsaud            
 D  wsvqa            
 DE wtv              
 DE wv               
 D  x11grab          
 D  xa               
 D  xbin             
 D  xmv              
  E xv               
 D  xwma             
 D  yop              
 DE yuv4mpegpipe     
# 

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

#232 Post by mcewanw »

greengeek wrote:
Here is what I get from my ffmpeg:

Code: Select all

# ffmpeg -formats
--enable-libxvid
Hi greengeek,

You seem to have libxvid on the ffmpeg you have.

See:

https://trac.ffmpeg.org/wiki/Encode/MPEG-4

William
github mcewanw

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#233 Post by greengeek »

Hi William, thanks for the link. I am really struggling to understand the finer points of codecs/containers etc. My aim is to re-format some of my videos so that they will play on my Samsung xcover B550 phone. I am trying to understand the parameters/format of a video that I took on that phone (if I can duplicate that format I hope the phone will play videos loaded from external sources as well as it's own internal videos).

Here is a screenshot of the output from two differnt programmes (gnome mplayer and ffconvert) showing the supposed parameters used to create the phone's internally recorded video.There seems to be a slight bit of discrepancy between the two.

I don't yet understand the relationship between divx, xvid and MP4V so will continue to experiment with conversion.

I also don't know if the phone may have some form of DRM protection which is blocking me - but when I try to play the converted videos that i load from external sources the phone tells me "unsupported file type" - even though the file has a .mp4 suffix just the same as the internal vids. I'm obviously using the wrong codec inside the mp4 container.

I'm also trying to understand the difference between MP4V and M4V - I have found some information but by crikey there is a lot to understand. Posing a valid question is hard when you can't see the wood for the trees.
Attachments
video1_parameters.jpg
(47.9 KiB) Downloaded 542 times

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

#234 Post by mcewanw »

greengeek wrote:Hi William, thanks for the link. I am really struggling to understand the finer points of codecs/containers etc. My aim is to re-format some of my videos so that they will play on my Samsung xcover B550 phone. I am trying to understand the parameters/format of a video that I took on that phone (if I can duplicate that format I hope the phone will play videos loaded from external sources as well as it's own internal videos).

Here is a screenshot of the output from two differnt programmes (gnome mplayer and ffconvert) showing the supposed parameters used to create the phone's internally recorded video.There seems to be a slight bit of discrepancy between the two.
Hi greengeek,

Yes, it is tricky. Could you post the results of:

Code: Select all

ffmpeg -i  some_video_that_works_on_your_phone
to see what ffmpeg itself thinks the codec parameters and video container used are?

May not help find the conversion details to use for ffconvert, but may help if different from your ffconvert info you already posted screenshot of.

William

EDIT: It could be that your player needs that FourCC specified (-tag:v DIVX maybe), but bit rates and frame rates and more could also be critical (for both the video and the audio):.

You also might need to adjust the resultant video quality (once you get the codecs etc correct) - that might mean encoding with -q:v numeric_quality_value (e.g. -q:v 5 or higher quality: -q:v 3 etc) but I'm not myself sure since I'm more used to encoding with libx264, which probably doesn't work on your Samsung xcover device. Maybe something here will have something useful:

http://superuser.com/questions/309822/f ... rt-to-divx

And the following is quite informative:

https://evilsoup.wordpress.com/2013/02/ ... g-guide-2/

EDIT2: I think something like the following might work for you greengeek (if suits your device) since your ffmpeg seems to have libopencore-amrnb enabled, which is a narrow band speech encoder (the ffmpeg I use doesn't have that enabled, but the following convert commandline works on my linux using libmp3lame for audio instead though I also had to use an mkv (output.mkv) container rather than output.mp4 (output.avi also worked). You'd maybe still have to tweak the command or find something similar in ffconvert:

Code: Select all

ffmpeg -y -i video_to_convert.mp4  -r 15.214 -s 320x240 -c:v libxvid -q:v 3 -tag:v DIVX -c:a libopencore-amrnb -ac 1 -ar 8000 -b:a 12k output.mp4
Of course, if your ffmpeg is older you might need to alter the syntax (e.g. -vcodec libxvid ; -vtag DIVX ; -acodec libopencore-amrnb ; -ab 12k ; but don't use these semi-colons!).

I don't, however, have a Samsung xcover device to test on so may be other issues. And, note that with some much older ffmpeg there is a chance the order of the command arguments would need modified (I can't remember). Hopefully okay though. Note that if libopencore-amrnb isn't accepted (though I think it will) you could try simple audio encoder called pcm_s16le or perhaps libmp3lame - if your Samsung can decode these (for these latter you'd probably want to change audio bitrate/quality settings though).
github mcewanw

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#235 Post by greengeek »

mcewanw wrote:Could you post the results of:

Code: Select all

ffmpeg -i  some_video_that_works_on_your_phone
to see what ffmpeg itself thinks the codec parameters and video container used are?
Here we go:

Code: Select all

 ffmpeg -i  /root/Video0001.mp4
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 16 2013 10:17:34 with gcc 4.7.1 (GCC)
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/Video0001.mp4':
  Metadata:
    major_brand     : 3gp5
    minor_version   : 0
    compatible_brands: 3gp5
    creation_time   : 1970-01-01 00:03:04
  Duration: 00:00:07.04, start: 0.000000, bitrate: 376 kb/s
    Stream #0:0(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, flt, 12 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:03:04
      handler_name    : SoundHandler
    Stream #0:1(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 356 kb/s, 15.11 fps, 60 tbr, 30k tbn, 30k tbc
    Metadata:
      creation_time   : 1970-01-01 00:03:04
      handler_name    : VideoHandler
At least one output file must be specified
# 

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#236 Post by greengeek »

I just tried looking through the presets in ffconvert and found one for "LG Chocolate" so I gave that a try - thinking with LG and Samsung both being Korean phones there may be some common ground, and sure enough the converted video did play successfully on the Samsung.

Just for the record here are the specs of the converted file. It might not be 100% what the Samsung wants but hey it works so it gives me a workaround. Thanks for the help!

Code: Select all

# ffmpeg -i  /root/source_vid.mp4
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 16 2013 10:17:34 with gcc 4.7.1 (GCC)
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/source_vid.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf55.12.100
  Duration: 00:00:09.09, start: 0.023220, bitrate: 215 kb/s
    Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 240x192 [SAR 16:15 DAR 4:3], 208 kb/s, 11.99 fps, 11.99 tbr, 11988 tbn, 11.99 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 2 kb/s
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified
#
(I don't understand how the vid specs say it uses mP4v when my ffmpeg told me it did not have that codec available, but oh well, it seems to work...)

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#237 Post by greengeek »

Although it seems to work I am finding some videos end up with the sound fully muted when played on the phone (an icon of a muted speaker shows up when I try to increase or decrease sound). I don't understand this as some videos work perfectly - and all videos play audio correctly when run on the PC - it is only when on the phone that the sound is gone.

If I use ffmpeg to examine the encoding parameters of these "audio muted" files they appear to be using "5.1" (maybe that's something the phone doesn't like)

Code: Select all

# ffmpeg -i /mnt/sdc1/Videos/MotorcycleDiaries.mp4
ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 16 2013 10:17:34 with gcc 4.7.1 (GCC)
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/sdc1/Videos/MotorcycleDiaries.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf55.12.100
  Duration: 02:00:49.58, start: 0.023220, bitrate: 371 kb/s
    Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 240x192 [SAR 64:45 DAR 16:9], 191 kb/s, 11.99 fps, 11.99 tbr, 11988 tbn, 11.99 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, 5.1, fltp, 176 kb/s
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified
# 
I wonder if there is some way to switch off the 5.1?

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

#238 Post by mcewanw »

Hi Greengeek,

in ffconvert 'Detail' tab you should check Audio 'Channels' and probably make sure it is 'mono', or 'stereo' (or on ffmpeg command line, same thing really, use -ac 1). You possibly, currently, have it as 'Same as source'.

You can fine-tune most ffmpeg conversion parameters in that ffconvert Detail tab (also screen size, for example).

William
github mcewanw

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#239 Post by greengeek »

mcewanw wrote:in ffconvert 'Detail' tab you should check Audio 'Channels' and probably make sure it is 'mono', or 'stereo' (or on ffmpeg command line, same thing really, use -ac 1). You possibly, currently, have it as 'Same as source'.
Thanks William - changing the "same as source" to "mono" sorted the problem out nicely and got rid of the "5.1" from the ffmpeg output.
Here is the comparison:

The file with fixed mute sound showed this line:

Code: Select all

# ffmpeg -i /mnt/sdd3/dvdriptemp/B2TF2_2.mp4....
...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/sdd3/dvdriptemp/B2TF2_2.mp4':
....
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, 5.1, fltp, 176 kb/s
and the file with working sound showed the following:

Code: Select all

# ffmpeg -i /mnt/sdd3/dvdriptemp/B2TF2.mp4
....
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/sdd3/dvdriptemp/B2TF2.mp4':
....
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 55 kb/s
All good now - I can rip videos and format them for my Samsung Xcover B550H button phone (old school style non-smart phone but ruggedised for contractor use)

Pelo

but screencasts are very tiny.

#240 Post by Pelo »

v1.3.1 - 31 Dec 2012: capturing parameters, auto cropping whole foler, fix was failed with spaces in filename (thanks to smokey)

1.3.1 is the version with Fat Racy 5.5, not bad but screencasts are very tiny. Perhaps my settings are bad, but if i change somethings, Ffconvert does not work more anymore.
I translate here above topic if any solution yet given to users.

Post Reply