summaryrefslogtreecommitdiff
path: root/doc/faq.html
blob: 6af28f01df30202b7cb629abcd5838d269af23b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<HTML>
<HEAD>
<!-- Created by texi2html 1.56k from faq.texi on 4 November 2002 -->

<TITLE>FFmpeg FAQ</TITLE>
</HEAD>
<BODY>
<H1>FFmpeg FAQ</H1>
<P>
<P><HR><P>
<H1>Table of Contents</H1>
<UL>
<LI><A NAME="TOC1" HREF="faq.html#SEC1">1. General Problems</A>
<UL>
<LI><A NAME="TOC2" HREF="faq.html#SEC2">1.1 ffserver doesn't not work.</A>
<LI><A NAME="TOC3" HREF="faq.html#SEC3">1.2 I cannot read this file although this format seems to be suppored by ffmpeg.</A>
<LI><A NAME="TOC4" HREF="faq.html#SEC4">1.3 I get audio/video synchro problems when grabbing.</A>
<LI><A NAME="TOC5" HREF="faq.html#SEC5">1.4 How do I encode jpegs to another format ?</A>
<LI><A NAME="TOC6" HREF="faq.html#SEC6">1.5 FFmpeg does not support codec XXX. Can you include a Windows DLL loader to support it ?</A>
</UL>
<LI><A NAME="TOC7" HREF="faq.html#SEC7">2. Development</A>
<UL>
<LI><A NAME="TOC8" HREF="faq.html#SEC8">2.1 Can you support my C compiler XXX ?</A>
<LI><A NAME="TOC9" HREF="faq.html#SEC9">2.2 I want to use ffmpeg or libavcodec under Windows. Can you support my proprietary C compiler XXX ?</A>
<LI><A NAME="TOC10" HREF="faq.html#SEC10">2.3 Can you add automake, libtool or autoconf support ?</A>
</UL>
</UL>
<P><HR><P>

<P>
FFmpeg FAQ




<H1><A NAME="SEC1" HREF="faq.html#TOC1">1. General Problems</A></H1>



<H2><A NAME="SEC2" HREF="faq.html#TOC2">1.1 ffserver doesn't not work.</A></H2>

<P>
ffmpeg development is now concentrated on the codec and format
handling. New developments broke ffserver, so don't expect it to work
correctly. It is planned to fix it ASAP.




<H2><A NAME="SEC3" HREF="faq.html#TOC3">1.2 I cannot read this file although this format seems to be suppored by ffmpeg.</A></H2>

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




<H2><A NAME="SEC4" HREF="faq.html#TOC4">1.3 I get audio/video synchro problems when grabbing.</A></H2>

<P>
Currently, the grabbing stuff does not handle synchronisation
correctly. You are free to correct it. It is planned to fix it ASAP.




<H2><A NAME="SEC5" HREF="faq.html#TOC5">1.4 How do I encode jpegs to another format ?</A></H2>

<P>
If the jpegs are named img1.jpg, img2.jpg, img3.jpg,..., use:



<PRE>
  ffmpeg -i img%d.jpg /tmp/a.mpg
</PRE>

<P>
<SAMP>`%d'</SAMP> is replaced by the image number.


<P>
<TT>`img%03d.jpg'</TT> generates <TT>`img001.jpg'</TT>, <TT>`img002.jpg'</TT>, etc...


<P>
The same system is used for the other image formats.




<H2><A NAME="SEC6" HREF="faq.html#TOC6">1.5 FFmpeg does not support codec XXX. Can you include a Windows DLL loader to support it ?</A></H2>

<P>
No. FFmpeg only supports open source codecs. Windows DLLs are not
portable, bloated and often slow.




<H1><A NAME="SEC7" HREF="faq.html#TOC7">2. Development</A></H1>



<H2><A NAME="SEC8" HREF="faq.html#TOC8">2.1 Can you support my C compiler XXX ?</A></H2>

<P>
No. Only GCC is supported. GCC is ported on most systems available and I
don't see the need to pollute the source code with <CODE>#ifdef</CODE>s
related to the compiler.




<H2><A NAME="SEC9" HREF="faq.html#TOC9">2.2 I want to use ffmpeg or libavcodec under Windows. Can you support my proprietary C compiler XXX ?</A></H2>

<P>
No. Use <CODE>mingw-gcc</CODE> available at <A HREF="http://www.mingw.org/">http://www.mingw.org/</A> to
compile the code. It generates object files fully compatible with other
windows compilers.




<H2><A NAME="SEC10" HREF="faq.html#TOC10">2.3 Can you add automake, libtool or autoconf support ?</A></H2>

<P>
No. These tools are too blowted and they complicate the build. Moreover,
since only <SAMP>`gcc'</SAMP> is supported they would add little advantages in
terms of portability.


<P><HR><P>
This document was generated on 4 November 2002 using
<A HREF="http://wwwinfo.cern.ch/dis/texi2html/">texi2html</A>&nbsp;1.56k.
</BODY>
</HTML>