You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
5.1KB

  1. \input texinfo @c -*- texinfo -*-
  2. @settitle FFmpeg FAQ
  3. @titlepage
  4. @sp 7
  5. @center @titlefont{FFmpeg FAQ}
  6. @sp 3
  7. @end titlepage
  8. @chapter General Problems
  9. @section ffserver doesn't not work.
  10. ffmpeg development is now concentrated on the codec and format
  11. handling. New developments broke ffserver, so don't expect it to work
  12. correctly. If you have time and experience, please help us fix it.
  13. @section I cannot read this file although this format seems to be suppored by ffmpeg.
  14. Even if ffmpeg can read the file format, it may not support all its
  15. codecs. Please consult the supported codec list in the ffmpeg
  16. documentation.
  17. @section I get audio/video synchro problems when grabbing.
  18. Currently, the grabbing stuff does not handle synchronisation
  19. correctly. You are free to correct it. It is planned to fix it ASAP.
  20. @section How do I encode jpegs to another format ?
  21. If the jpegs are named img1.jpg, img2.jpg, img3.jpg,..., use:
  22. @example
  23. ffmpeg -i img%d.jpg /tmp/a.mpg
  24. @end example
  25. @samp{%d} is replaced by the image number.
  26. @file{img%03d.jpg} generates @file{img001.jpg}, @file{img002.jpg}, etc...
  27. The same system is used for the other image formats.
  28. @section FFmpeg does not support codec XXX. Can you include a Windows DLL loader to support it ?
  29. No. FFmpeg only supports open source codecs. Windows DLLs are not
  30. portable, bloated and often slow.
  31. @section Why do I see a slight quality degradation with multithreaded MPEG* encoding ?
  32. For multithreaded MPEG* encoding, the encoded slices must be independent,
  33. otherwise thread n would practically have to wait for n-1 to finish, so its
  34. quite logic that there is a small reduction of quality, this is not a bug
  35. @section How can I read from the standard input or write to the standard output ?
  36. Use @file{-} as filename.
  37. @section Why Audio is not decoded in VOB files ?
  38. AC3 decoding is optional as the codec is currently released under the
  39. GPL. Enable it with @code{./configure --enable-a52}. Take care: by
  40. enabling AC3, you automatically change the license of libavcodec from
  41. LGPL to GPL.
  42. @section Which codecs are supported by windows ?
  43. Windows does not support standard formats like mpeg very well, unless you
  44. install some additional codecs
  45. The following list of video codecs should work on most windows systems
  46. @table @option
  47. @item msmpeg4v2
  48. .avi/.asf
  49. @item msmpeg4
  50. .asf only
  51. @item wmv1
  52. .asf only
  53. @item wmv2
  54. .asf only
  55. @item mpeg4
  56. only if you have some mpeg4 codec installed like ffdshow or xvid
  57. @item mpeg1
  58. .mpg only
  59. @end table
  60. note, asf often uses .wmv or .wma extensions in windows, it should also be
  61. mentioned that asf is patented, so microsoft may sue or threaten users who
  62. use it if they see any reason to do so, it is strongly recommanded to avoid asf
  63. for any use
  64. The following list of audio codecs should work on most windows systems
  65. @table @option
  66. @item adpcm_ima_wav
  67. @item adpcm_ms
  68. @item pcm
  69. @item mp3
  70. if some mp3 codec like lame is installed
  71. @end table
  72. @section The chrominance seems to come from a different time then the luminance on bt8x8 captures on linux?
  73. well known bug in the bt8x8 driver, for 2.4.26 theres a patch at
  74. (@url{http://www.mplayerhq.hu/~michael/bttv-420-2.4.26.patch}), i suspect that
  75. this will also apply cleanly to other 2.4 kernels
  76. @section How to avoid the ugly aliassing artefacts in bt8x8 captures on linux?
  77. pass 'combfilter=1 lumafilter=1' to the bttv driver, note though that 'combfilter=1'
  78. will cause somewhat too strong filtering, a fix is too apply (@url{http://www.mplayerhq.hu/~michael/bttv-comb-2.4.26.patch})
  79. or (@url{http://www.mplayerhq.hu/~michael/bttv-comb-2.6.6.patch})
  80. and pass 'combfilter=2'
  81. @section I have a problem with an old version of ffmpeg, where should i report it?
  82. Nowhere, upgrade to the latest release or if there is no recent release upgrade
  83. to cvs, you could also try to report it, maybe you are lucky and
  84. will become the first person in history to get a different awnser from "upgrade
  85. to cvs".
  86. @section -f jpeg doesnt work.
  87. try '-f image -img jpeg test%d.jpg'
  88. @section i cant change the framerate
  89. some codecs, like mpeg1/2 only allow a small number of fixed framerates,
  90. choose a different codec with -vcodec
  91. @section it doesnt work
  92. try a 'make distclean' if this doesnt help see
  93. (@url{ffmpeg-bugreport.html})
  94. @chapter Development
  95. @section Are there examples of use of the FFmpeg libraries libavcodec and libavformat ?
  96. Yes. Read the Developers Guide of the FFmpeg documentation.
  97. @section Can you support my C compiler XXX ?
  98. No. Only GCC is supported. GCC is ported on most systems available and I
  99. don't see the need to pollute the source code with @code{#ifdef}s
  100. related to the compiler.
  101. @section Can I use FFmpeg or libavcodec under Windows ?
  102. Yes, but the MinGW tools @emph{must} be used to compile FFmpeg. You
  103. can link the resulting DLLs with any other Windows program. Read the
  104. @emph{Native Windows Compilation} section in the FFmpeg documentation
  105. to have more information.
  106. @section Can you add automake, libtool or autoconf support ?
  107. No. These tools are too blowted and they complicate the build. Moreover,
  108. since only @samp{gcc} is supported they would add little advantages in
  109. terms of portability.
  110. @section ffmpeg doesnt contain any debugging symbols ?
  111. try ffmpeg_g, ffplay_g, ...
  112. @bye