KeepV flash Converter


A new KeepV Free Converter  is coming soon ...


How to make a perfect Flash conversion (.flv) with FFMpeg



1- Dowload a Firefox flash download addons here

(The one by Download Flash and Video is good ...(Click the bottom right corner btn to dowload a video) ) bottom right corner


2- Dowload ffmpeg here and put the .exe on your default console directory


3-Open a command prompt (In Windows from Start->All Programs->Accessories->Command Prompt).



ffmpeg -i yourvideo.flv youvideo.???


or ...
ffmpeg -i original_movie.avi output_file.mpg
ffmpeg -i original_movie.mpg output_file.avi
ffmpeg -i original_movie.avi output_file.gif
ffmpeg -i son.wav -i original_movie.avi output_file.mpg
ffmpeg -i myFile.flv -ab 56 -ar 22050 -b 500 -s 320x240 myFile.mpg
ffmpeg -i original_movie.avi -s ntsc -r ntsc -aspect 4:3 -ar 48000 -ac 2 output_file.dv
ffmpeg -i original_movie.avi -s 320x240 -vcodec msmpeg4v2 output_file.avi
ffmpeg -i original_movie.ogm -s 720x576 -vcodec mpeg2video -acodec mp3 output_file.mpg


Flash videos are everywhere ...


Firefox flash download addons

FLASH AND VIDEO DOWNLOAD:
Download Flash and videos with a single click - the only download tool that is a video downloader and a flash downloader mix together.
You can download any flash file on the web plus Flash games on Facebook or any other web site of Flash games. Compatible with DownThemAll and NoScript.
The downloader is great for users who like to visit YouTube and download videos, or like to play Flash games on the internet and download them later.

DOWNLOAD VIDEOS FROM:
Download web videos from YouTube, Dailymotion, Google Videos, Facebook, Metacafe, MySpace Video, Break.com, Blip.tv, MyVideo.de, Spike, vimeo.com, YourFileHost, zippyvideos.com, pornotube.com, yikers.com, revver.com, kontraband.com, badjojo.com, collegehumor.com, blastro.com, dachix.com, pornhub.com, redtube.com and all the other popular of flash videos sites.
You can download videos in popular formats.

DOWNLOAD FLASH FROM:
Download Flash Games from community.games.com, gamespot.com, zoopgames.com, armorgames.com, net-games.biz, gamesvine.com, flashgames247.com and other popular flash download web sites.

DOWNLOAD PROCEES:
The download process is very easy, whenever you want to download a flash or a video from a site, just click on the status bar icon (see screenshots), and choose the desired file to download and the downloader will start immediately (to download Flash files you need to choose the files with the swf extenuation,
downloading videos option will be enabled once you're visit one of the popular videos websites)

As a super user myself who likes to download videos from the internet (as a super user, FlashGot Downthemall NoScript and AdBlock are my must addons of course :)), if you are like me, this download helper is for you.


FFmpeg

FFmpegb is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.

options:
-L                  show license
-h                  show help
-version            show version
-formats            show available formats, codecs, protocols, ...
-f fmt              force format
-img img_fmt        force image format
-i filename         input file name
-y                  overwrite output files
-t duration         set the recording time
-fs limit_size      set the limit file size
-ss time_off        set the start time offset
-itsoffset time_off  set the input ts offset
-title string       set the title
-timestamp time     set the timestamp
-author string      set the author
-copyright string   set the copyright
-comment string     set the comment
-v verbose          control amount of logging
-target type        specify target file type ("vcd", "svcd", "dvd", "dv", "pal-vcd", "ntsc-svcd", ...)
-dframes number     set the number of data frames to record
-hq                 activate high quality settings
-scodec codec       force subtitle codec ('copy' to copy stream)
-newsubtitle        add a new subtitle stream to the current output stream
-slang code         set the ISO 639 language code (3 letters) of the current subtitle stream

Video options:
-b bitrate          set video bitrate (in kbit/s)
-vframes number     set the number of video frames to record
-r rate             set frame rate (Hz value, fraction or abbreviation)
-s size             set frame size (WxH or abbreviation)
-aspect aspect      set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
-fixaspect          fix aspect ratio
-croptop size       set top crop band size (in pixels)
-cropbottom size    set bottom crop band size (in pixels)
-cropleft size      set left crop band size (in pixels)
-cropright size     set right crop band size (in pixels)
-padtop size        set top pad band size (in pixels)
-padbottom size     set bottom pad band size (in pixels)
-padleft size       set left pad band size (in pixels)
-padright size      set right pad band size (in pixels)
-padcolor color     set color of pad bands (Hex 000000 thru FFFFFF)
-vn                 disable video
-bt tolerance       set video bitrate tolerance (in kbit/s)
-maxrate bitrate    set max video bitrate tolerance (in kbit/s)
-minrate bitrate    set min video bitrate tolerance (in kbit/s)
-bufsize size       set ratecontrol buffer size (in kByte)
-vcodec codec       force video codec ('copy' to copy stream)
-sameq              use same video quality as source (implies VBR)
-pass n             select the pass number (1 or 2)
-passlogfile file   select two pass log file name
-newvideo           add a new video stream to the current output stream

Advanced Video options:
-pix_fmt format     set pixel format
-g gop_size         set the group of picture size
-intra              use only intra frames
-vdt n              discard threshold
-qscale q           use fixed video quantiser scale (VBR)
-qmin q             min video quantiser scale (VBR)
-qmax q             max video quantiser scale (VBR)
-lmin lambda        min video lagrange factor (VBR)
-lmax lambda        max video lagrange factor (VBR)
-mblmin q           min macroblock quantiser scale (VBR)
-mblmax q           max macroblock quantiser scale (VBR)
-qdiff q            max difference between the quantiser scale (VBR)
-qblur blur         video quantiser scale blur (VBR)
-qsquish squish     how to keep quantiser between qmin and qmax (0 = clip, 1 = use differentiable function)
-qcomp compression  video quantiser scale compression (VBR)
-rc_init_cplx complexity  initial complexity for 1-pass encoding
-b_qfactor factor   qp factor between p and b frames
-i_qfactor factor   qp factor between p and i frames
-b_qoffset offset   qp offset between p and b frames
-i_qoffset offset   qp offset between p and i frames
-ibias bias         intra quant bias
-pbias bias         inter quant bias
-rc_eq equation     set rate control equation
-rc_override override  rate control override for specific intervals
-me method          set motion estimation method
-dct_algo algo      set dct algo
-idct_algo algo     set idct algo
-me_threshold       motion estimaton threshold
-mb_threshold       macroblock threshold
-er n               set error resilience
-ec bit_mask        set error concealment
-bf frames          use 'frames' B frames
-mbd mode           macroblock decision
-mbcmp cmp function  macroblock compare function
-ildctcmp cmp function  ildct compare function
-subcmp cmp function  subpel compare function
-cmp cmp function   fullpel compare function
-precmp cmp function  pre motion estimation compare function
-preme              pre motion estimation
-lelim elim         single coefficient elimination threshold for luminance (negative values also consider DC coefficient)
-celim elim         single coefficient elimination threshold for chrominance (negative values also consider DC coefficient)
-lumi_mask          luminance masking
-dark_mask          darkness masking
-scplx_mask         spatial complexity masking
-tcplx_mask         temporal complexity masking
-p_mask             inter masking
-4mv                use four motion vector by macroblock (MPEG4)
-obmc               use overlapped block motion compensation (h263+)
-lf                 use loop filter (h263+)
-part               use data partitioning (MPEG4)
-bug param          workaround not auto detected encoder bugs
-strict strictness  how strictly to follow the standards
-deinterlace        deinterlace pictures
-ildct              force interlaced dct support in encoder (MPEG2/MPEG4)
-ilme               force interlaced me support in encoder (MPEG2/MPEG4)
-psnr               calculate PSNR of compressed frames
-vstats             dump video coding statistics to file
-vhook module       insert video processing module
-aic                enable Advanced intra coding (h263+)
-aiv                enable Alternative inter vlc (h263+)
-umv                enable Unlimited Motion Vector (h263+)
-ssm                enable Slice Structured mode (h263+)
-alt                enable alternate scantable (MPEG2/MPEG4)
-qprd               
-cbp                
-trell              enable trellis quantization
-mv0                try to encode each MB with MV=<0,0> and choose the better one (has no effect if mbd=0)
-naq                normalize adaptive quantization
-cgop               closed gop
-sgop               strict gop
-noout              skip bitstream encoding
-scan_offset        enable SVCD Scan Offset placeholder
-qpel               enable 1/4-pel
-intra_matrix matrix  specify intra matrix coeffs
-inter_matrix matrix  specify inter matrix coeffs
-top                top=1/bottom=0/auto=-1 field first
-nr                 noise reduction
-qns                quantization noise shaping
-sc_threshold threshold  scene change threshold
-me_range range     limit motion vectors range (1023 for DivX player)
-dc precision       intra_dc_precision
-coder              coder type
-context            context model
-pred               prediction method
-vprofile           profile
-vlevel             level
-nssew              weight
-subq               
-mepc factor (1.0 = 256)  motion estimation bitrate penalty compensation
-lowres             
-vtag fourcc/tag    force video tag/fourcc
-skip_threshold threshold  frame skip threshold
-skip_factor factor  frame skip factor
-skip_exp exponent  frame skip exponent
-skip_cmp compare function  frame skip compare function
-gray               encode/decode grayscale

Audio options:
-aframes number     set the number of audio frames to record
-ab bitrate         set audio bitrate (in kbit/s)
-ar rate            set audio sampling rate (in Hz)
-ac channels        set number of audio channels
-an                 disable audio
-acodec codec       force audio codec ('copy' to copy stream)
-vol volume         change audio volume (256=normal)
-newaudio           add a new audio stream to the current output stream
-alang code         set the ISO 639 language code (3 letters) of the current audio stream
Listening tests
Advanced Audio options:
-atag fourcc/tag    force audio tag/fourcc

Subtitle options:
-scodec codec       force subtitle codec ('copy' to copy stream)
-newsubtitle        add a new subtitle stream to the current output stream
-slang code         set the ISO 639 language code (3 letters) of the current subtitle stream

Audio/Video grab options:
-vd device          set video grab device
-vc channel         set video grab channel (DV1394 only)
-tvstd standard     set television standard (NTSC, PAL (SECAM))
-ad device          set audio device
-grab format        request grabbing using
-gd device          set grab device

Advanced options:
-map file:stream[:syncfile:syncstream]  set input stream mapping
-map_meta_data outfile:infile  set meta data information of outfile from infile
-debug              print specific debug info
-vismv              visualize motion vectors
-benchmark          add timings for benchmarking
-dump               dump each input packet
-hex                when dumping packets, also dump the payload
-bitexact           only use bit exact algorithms (for codec testing)
-re                 read input at native frame rate
-loop               loop (current only works with images)
-loop_output        number of times to loop output in formats that support looping (0 loops forever)
-threads count      thread count
-vsync              video sync method
-async              audio sync method
-vglobal            video global header storage type
-copyts             copy timestamps
-shortest           finish encoding within shortest input
-b_strategy strategy  dynamic b frame selection strategy
-ps size            set packet size in bits
-error rate         error rate
-muxrate rate       set mux rate
-packetsize size    set packet size
-muxdelay seconds   set the maximum demux-decode delay
-muxpreload seconds  set the initial demux-decode delay
-muxab bitrate      set the audio bitrate in mux tag (in kbit/s)
-muxvb bitrate      set the video bitrate in mux tag (in kbit/s)

		

Supported File Formats and Codecs

You can use the -formats and -codecs options to have an exhaustive list.

File Formats

FFmpeg supports the following file formats through the libavformat library:

Name Encoding Decoding Comments
4xm X 4X Technologies format, used in some games.
8088flex TMV X
Adobe Filmstrip X X
Audio IFF (AIFF) X X
American Laser Games MM X Multimedia format used in games like Mad Dog McCree.
3GPP AMR X X
ASF X X
AVI X X
AVISynth X
AVS X Multimedia format used by the Creature Shock game.
Beam Software SIFF X Audio and video format used in some games by Beam Software.
Bethesda Softworks VID X Used in some games from Bethesda Softworks.
Brute Force & Ignorance X Used in the game Flash Traffic: City of Angels.
Interplay C93 X Used in the game Cyberia from Interplay.
Delphine Software International CIN X Multimedia format used by Delphine Software games.
CD+G X Video format used by CD+G karaoke disks
Core Audio Format X Apple Core Audio Format
CRC testing format X
Creative Voice X X Created for the Sound Blaster Pro.
CRYO APC X Audio format used in some games by CRYO Interactive Entertainment.
D-Cinema audio X X
Deluxe Paint Animation X
DV video X X
DXA X This format is used in the non-Windows version of the Feeble Files game and different game cutscenes repacked for use with ScummVM.
Electronic Arts cdata X
Electronic Arts Multimedia X Used in various EA games; files have extensions like WVE and UV2.
FFM (FFserver live feed) X X
Flash (SWF) X X
Flash 9 (AVM2) X X Only embedded audio is decoded.
FLI/FLC/FLX animation X .fli/.flc files
Flash Video (FLV) X Macromedia Flash video files
framecrc testing format X
FunCom ISS X Audio format used in various games from FunCom like The Longest Journey.
GIF Animation X
GXF X X General eXchange Format SMPTE 360M, used by Thomson Grass Valley playout servers.
id Quake II CIN video X
id RoQ X X Used in Quake III, Jedi Knight 2, other computer games.
IEC61937 encapsulation X
IFF X Interchange File Format
Interplay MVE X Format used in various Interplay computer games.
IV8 X A format generated by IndigoVision 8000 video server.
LMLM4 X Used by Linux Media Labs MPEG-4 PCI boards
Matroska X X
Matroska audio X
MAXIS XA X Used in Sim City 3000; file extension .xa.
MD Studio X
Monkey’s Audio X
Motion Pixels MVI X
MOV/QuickTime/MP4 X X 3GP, 3GP2, PSP, iPod variants supported
MP2 X X
MP3 X X
MPEG-1 System X X muxed audio and video, VCD format supported
MPEG-PS (program stream) X X also known as VOB file, SVCD and DVD format supported
MPEG-TS (transport stream) X X also known as DVB Transport Stream
MPEG-4 X X MPEG-4 is a variant of QuickTime.
MIME multipart JPEG X
MSN TCP webcam X Used by MSN Messenger webcam streams.
MTV X
Musepack X
Musepack SV8 X
Material eXchange Format (MXF) X X SMPTE 377M, used by D-Cinema, broadcast industry.
Material eXchange Format (MXF), D-10 Mapping X X SMPTE 386M, D-10/IMX Mapping.
NC camera feed X NC (AVIP NC4600) camera streams
NTT TwinVQ (VQF) X Nippon Telegraph and Telephone Corporation TwinVQ.
Nullsoft Streaming Video X
NuppelVideo X
NUT X X NUT Open Container Format
Ogg X X
TechnoTrend PVA X Used by TechnoTrend DVB PCI boards.
QCP X
raw ADTS (AAC) X X
raw AC-3 X X
raw Chinese AVS video X
raw CRI ADX X X
raw Dirac X X
raw DNxHD X X
raw DTS X X
raw E-AC-3 X X
raw FLAC X X
raw GSM X
raw H.261 X X
raw H.263 X X
raw H.264 X X
raw Ingenient MJPEG X
raw MJPEG X X
raw MLP X
raw MPEG X
raw MPEG-1 X
raw MPEG-2 X
raw MPEG-4 X X
raw NULL X
raw video X X
raw id RoQ X
raw Shorten X
raw TrueHD X X
raw VC-1 X
raw PCM A-law X X
raw PCM mu-law X X
raw PCM signed 8 bit X X
raw PCM signed 16 bit big-endian X X
raw PCM signed 16 bit little-endian X X
raw PCM signed 24 bit big-endian X X
raw PCM signed 24 bit little-endian X X
raw PCM signed 32 bit big-endian X X
raw PCM signed 32 bit little-endian X X
raw PCM unsigned 8 bit X X
raw PCM unsigned 16 bit big-endian X X
raw PCM unsigned 16 bit little-endian X X
raw PCM unsigned 24 bit big-endian X X
raw PCM unsigned 24 bit little-endian X X
raw PCM unsigned 32 bit big-endian X X
raw PCM unsigned 32 bit little-endian X X
raw PCM floating-point 32 bit big-endian X X
raw PCM floating-point 32 bit little-endian X X
raw PCM floating-point 64 bit big-endian X X
raw PCM floating-point 64 bit little-endian X X
RDT X
REDCODE R3D X File format used by RED Digital cameras, contains JPEG 2000 frames and PCM audio.
RealMedia X X
Redirector X
Renderware TeXture Dictionary X
RL2 X Audio and video format used in some games by Entertainment Software Partners.
RPL/ARMovie X
RTMP X X Output is performed by publishing stream to RTMP server
RTP X
RTSP X
SDP X
Sega FILM/CPK X Used in many Sega Saturn console games.
Sierra SOL X .sol files used in Sierra Online games.
Sierra VMD X Used in Sierra CD-ROM games.
Smacker X Multimedia format used by many games.
Sony OpenMG (OMA) X Audio format used in Sony Sonic Stage and Sony Vegas.
Sony PlayStation STR X
Sony Wave64 (W64) X
SoX native format X X
SUN AU format X X
THP X Used on the Nintendo GameCube.
Tiertex Limited SEQ X Tiertex .seq files used in the DOS CD-ROM version of the game Flashback.
True Audio X
VC-1 test bitstream X X
WAV X X
WavPack X
Wing Commander III movie X Multimedia format used in Origin’s Wing Commander III computer game.
Westwood Studios audio X Multimedia format used in Westwood Studios games.
Westwood Studios VQA X Multimedia format used in Westwood Studios games.
YUV4MPEG pipe X X




1. General Questions


1.1 When will the next FFmpeg version be released? / Why are FFmpeg releases so few and far between?

Like most open source projects FFmpeg suffers from a certain lack of manpower. For this reason the developers have to prioritize the work they do and putting out releases is not at the top of the list, fixing bugs and reviewing patches takes precedence. Please don’t complain or request more timely and/or frequent releases unless you are willing to help out creating them.


1.2 I have a problem with an old version of FFmpeg; where should I report it?

Nowhere. Upgrade to the latest release or if there is no recent release upgrade to Subversion HEAD. You could also try to report it. Maybe you will get lucky and become the first person in history to get an answer different from "upgrade to Subversion HEAD".


1.3 Why doesn’t FFmpeg support feature [xyz]?

Because no one has taken on that task yet. FFmpeg development is driven by the tasks that are important to the individual developers. If there is a feature that is important to you, the best way to get it implemented is to undertake the task yourself or sponsor a developer.


1.4 FFmpeg does not support codec XXX. Can you include a Windows DLL loader to support it?

No. Windows DLLs are not portable, bloated and often slow. Moreover FFmpeg strives to support all codecs natively. A DLL loader is not conducive to that goal.


1.5 My bug report/mail to ffmpeg-devel/user has not received any replies.

Likely reasons

  • We are busy and haven’t had time yet to read your report or investigate the issue.
  • You didn’t follow bugreports.html.
  • You didn’t use Subversion HEAD.
  • You reported a segmentation fault without gdb output.
  • You describe a problem but not how to reproduce it.
  • It’s unclear if you use ffmpeg as command line tool or use libav* from another application.
  • You speak about a video having problems on playback but not what you use to play it.
  • We have no faint clue what you are talking about besides that it is related to FFmpeg.

1.6 Is there a forum for FFmpeg? I do not like mailing lists.

You may view our mailing lists with a more forum-alike look here: http://dir.gmane.org/gmane.comp.video.ffmpeg.user, but, if you post, please remember that our mailing list rules still apply there.


1.7 I cannot read this file although this format seems to be supported by ffmpeg.

Even if ffmpeg can read the container format, it may not support all its codecs. Please consult the supported codec list in the ffmpeg documentation.


1.8 Which codecs are supported by Windows?

Windows does not support standard formats like MPEG very well, unless you install some additional codecs.

The following list of video codecs should work on most Windows systems:

msmpeg4v2

.avi/.asf

msmpeg4

.asf only

wmv1

.asf only

wmv2

.asf only

mpeg4

Only if you have some MPEG-4 codec like ffdshow or Xvid installed.

mpeg1

.mpg only

Note, ASF files often have .wmv or .wma extensions in Windows. It should also be mentioned that Microsoft claims a patent on the ASF format, and may sue or threaten users who create ASF files with non-Microsoft software. It is strongly advised to avoid ASF where possible.

The following list of audio codecs should work on most Windows systems:

adpcm_ima_wav
adpcm_ms
pcm

always

mp3

If some MP3 codec like LAME is installed.


2. Compilation


2.1 error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'

This is a bug in gcc. Do not report it to us. Instead, please report it to the gcc developers. Note that we will not add workarounds for gcc bugs.

Also note that (some of) the gcc developers believe this is not a bug or not a bug they should fix: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11203. Then again, some of them do not know the difference between an undecidable problem and an NP-hard problem...


3. Usage


3.1 ffmpeg does not work; what is wrong?

Try a make distclean in the ffmpeg source directory before the build. If this does not help see (http://ffmpeg.org/bugreports.html).


3.2 How do I encode single pictures into movies?

First, rename your pictures to follow a numerical sequence. For example, img1.jpg, img2.jpg, img3.jpg,... Then you may run:

 
  ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg

Notice that ‘%d’ is replaced by the image number.

img%03d.jpg’ means the sequence ‘img001.jpg’, ‘img002.jpg’, etc...

The same logic is used for any image format that ffmpeg reads.


3.3 How do I encode movie to single pictures?

Use:

 
  ffmpeg -i movie.mpg movie%d.jpg

The ‘movie.mpg’ used as input will be converted to ‘movie1.jpg’, ‘movie2.jpg’, etc...

Instead of relying on file format self-recognition, you may also use

-vcodec ppm
-vcodec png
-vcodec mjpeg

to force the encoding.

Applying that to the previous example:

 
  ffmpeg -i movie.mpg -f image2 -vcodec mjpeg menu%d.jpg

Beware that there is no "jpeg" codec. Use "mjpeg" instead.


3.4 Why do I see a slight quality degradation with multithreaded MPEG* encoding?

For multithreaded MPEG* encoding, the encoded slices must be independent, otherwise thread n would practically have to wait for n-1 to finish, so it’s quite logical that there is a small reduction of quality. This is not a bug.


3.5 How can I read from the standard input or write to the standard output?

Use ‘-’ as file name.


3.6 Why does the chrominance data seem to be sampled at a different time from the luminance data on bt8x8 captures on Linux?

This is a well-known bug in the bt8x8 driver. For 2.4.26 there is a patch at (http://svn.ffmpeg.org/michael/trunk/patches/bttv-420-2.4.26.patch?view=co). This may also apply cleanly to other 2.4-series kernels.


3.7 How do I avoid the ugly aliasing artifacts in bt8x8 captures on Linux?

Pass ’combfilter=1 lumafilter=1’ to the bttv driver. Note though that ’combfilter=1’ will cause somewhat too strong filtering. A fix is to apply (http://svn.ffmpeg.org/michael/trunk/patches/bttv-comb-2.4.26.patch?view=co) or (http://svn.ffmpeg.org/michael/trunk/patches/bttv-comb-2.6.6.patch?view=co) and pass ’combfilter=2’.


3.8 -f jpeg doesn’t work.

Try ’-f image2 test%d.jpg’.


3.9 Why can I not change the framerate?

Some codecs, like MPEG-1/2, only allow a small number of fixed framerates. Choose a different codec with the -vcodec command line option.


3.10 How do I encode Xvid or DivX video with ffmpeg?

Both Xvid and DivX (version 4+) are implementations of the ISO MPEG-4 standard (note that there are many other coding formats that use this same standard). Thus, use ’-vcodec mpeg4’ to encode in these formats. The default fourcc stored in an MPEG-4-coded file will be ’FMP4’. If you want a different fourcc, use the ’-vtag’ option. E.g., ’-vtag xvid’ will force the fourcc ’xvid’ to be stored as the video fourcc rather than the default.


3.11 How do I encode videos which play on the iPod?

needed stuff

-acodec libfaac -vcodec mpeg4 width<=320 height<=240

working stuff

4mv, title

non-working stuff

B-frames

example command line

ffmpeg -i input -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv -trellis 2 -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output.mp4


3.12 How do I encode videos which play on the PSP?

needed stuff

-acodec libfaac -vcodec mpeg4 width*height<=76800 width%16=0 height%16=0 -ar 24000 -r 30000/1001 or 15000/1001 -f psp

working stuff

4mv, title

non-working stuff

B-frames

example command line

ffmpeg -i input -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -ar 24000 -mbd 2 -flags +4mv -trellis 2 -aic 2 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -title X -f psp output.mp4

needed stuff for H.264

-acodec libfaac -vcodec libx264 width*height<=76800 width%16=0? height%16=0? -ar 48000 -coder 1 -r 30000/1001 or 15000/1001 -f psp

working stuff for H.264

title, loop filter

non-working stuff for H.264

CAVLC

example command line

ffmpeg -i input -acodec libfaac -ab 128kb -vcodec libx264 -b 1200kb -ar 48000 -mbd 2 -coder 1 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -title X -f psp -flags loop -trellis 2 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 output.mp4

higher resolution for newer PSP firmwares, width<=480, height<=272

-vcodec libx264 -level 21 -coder 1 -f psp

example command line

ffmpeg -i input -acodec libfaac -ab 128kb -ac 2 -ar 48000 -vcodec libx264 -level 21 -b 640kb -coder 1 -f psp -flags +loop -trellis 2 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -g 250 -s 480x272 output.mp4


3.13 Which are good parameters for encoding high quality MPEG-4?

’-mbd rd -flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2’, things to try: ’-bf 2’, ’-flags qprd’, ’-flags mv0’, ’-flags skiprd’.


3.14 Which are good parameters for encoding high quality MPEG-1/MPEG-2?

’-mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 100 -pass 1/2’ but beware the ’-g 100’ might cause problems with some decoders. Things to try: ’-bf 2’, ’-flags qprd’, ’-flags mv0’, ’-flags skiprd.


3.15 Interlaced video looks very bad when encoded with ffmpeg, what is wrong?

You should use ’-flags +ilme+ildct’ and maybe ’-flags +alt’ for interlaced material, and try ’-top 0/1’ if the result looks really messed-up.


3.16 How can I read DirectShow files?

If you have built FFmpeg with ./configure --enable-avisynth (only possible on MinGW/Cygwin platforms), then you may use any file that DirectShow can read as input. (Be aware that this feature has been recently added, so you will need to help yourself in case of problems.)

Just create an "input.avs" text file with this single line ...

 
  DirectShowSource("C:\path to your file\yourfile.asf")

... and then feed that text file to FFmpeg:

 
  ffmpeg -i input.avs

For ANY other help on Avisynth, please visit http://www.avisynth.org/.