VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I'm trying to convert a video for my Galaxy Blaze Samsung using the following command.

    Code:
    ffmpeg -i o.mp4 -vcodec libx264 -crf 20 -threads 4 -flags +loop+mv4 -deblockalpha 0 -deblockbeta 0 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -refs 5 -bf 0 -flags2 +mixed_refs-fastpskip -coder 0 -me_method full -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -vsync 2 -acodec libfaac -ac 2 -ab 160k -vol 1280 -async 1 -f mp4 -vf "scale=800:428,pad=800:480:0:26:white" sample.mp4
    It use to work and now it complains with the following error.

    “Unknown encoder 'libfaac'


    Info about o.mp4

    Code:
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'o.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        creation_time   : 1970-01-01 00:00:00
        encoder         : Lavf52.31.0
      Duration: 00:02:00.44, start: 0.000000, bitrate: 869 kb/s
        Stream #0.0(und): Video: h264 (High 10), yuv420p10le, 1280x688 [PAR 1:1 DAR 80:43], 783 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
        Metadata:
          creation_time   : 1970-01-01 00:00:00
        Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 84 kb/s
        Metadata:
          creation_time   : 1970-01-01 00:00:00

    ffmpeg version:
    Code:
    ffmpeg version 0.8.5-6:0.8.5-1~bpo60+1
    Debian Squeeze

    Does anyone suggest a better ffmpeg command to transcode my video for the Galaxy Blaze Samsung?

    Thanks
    Quote Quote  
  2. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by lindylex View Post
    I'm trying to convert a video for my Galaxy Blaze Samsung using the following command.

    Code:
    ffmpeg -i o.mp4 -vcodec libx264 -crf 20 -threads 4 -flags +loop+mv4 -deblockalpha 0 -deblockbeta 0 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -refs 5 -bf 0 -flags2 +mixed_refs-fastpskip -coder 0 -me_method full -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -vsync 2 -acodec libfaac -ac 2 -ab 160k -vol 1280 -async 1 -f mp4 -vf "scale=800:428,pad=800:480:0:26:white" sample.mp4
    It use to work and now it complains with the following error.

    “Unknown encoder 'libfaac'
    Hi
    Change this:-
    Code:
    -acodec libfaac
    To this:-
    Code:
    -acodec aac -strict experimental
    and try again.
    Quote Quote  
  3. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    [ SOLUTION SOLVED ]
    bat999, I love the internet and smart people like you on it. Your suggestion worked.

    Code:
    ffmpeg -i o.mp4 -vcodec libx264 -crf 20 -threads 4 -flags +loop+mv4 -deblockalpha 0 -deblockbeta 0 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -refs 5 -bf 0 -flags2 +mixed_refs-fastpskip -coder 0 -me_method full -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -vsync 2 -acodec aac -strict experimental -ac 2 -ab 160k -vol 1280 -async 1 -f mp4 -vf "scale=800:428,pad=800:480:0:26:white" sample.mp4
    This is the command I used. Do you suggest a better command to create a video for this phone? This currently works and I would like to see if there is anything better.
    Quote Quote  
  4. Member bat999's Avatar
    Join Date
    Feb 2008
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by lindylex View Post

    Code:
    ffmpeg -i o.mp4 -vcodec libx264 -crf 20 -threads 4 -flags +loop+mv4 -deblockalpha 0 -deblockbeta 0 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -refs 5 -bf 0 -flags2 +mixed_refs-fastpskip -coder 0 -me_method full -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -vsync 2 -acodec aac -strict experimental -ac 2 -ab 160k -vol 1280 -async 1 -f mp4 -vf "scale=800:428,pad=800:480:0:26:white" sample.mp4
    This is the command I used. Do you suggest a better command to create a video for this phone?
    Hi
    I think some of the options in your command are obsolete.
    Maybe you can tidy it up like this:-
    Code:
    ffmpeg -i o.mp4 -vcodec libx264 -crf 20 -preset medium -acodec aac -strict experimental -ab 160k -ar 44100 -ac 2 -vf "scale=800:428,pad=800:480:0:26:white" sample.mp4
    Quote Quote  
  5. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I'm moving you to our video conversion section. ffmpegX is not ffmpeg. .
    Quote Quote  
  6. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    bat999, thanks for the updated ffmpeg string.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!