mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-02 03:06:28 +02:00
635389ccfa
This commit removes the badly duplicated code between the encoder and the muxer. That may sound surprising, but the encoder is now responsible from the encoding of the picture when muxing to a .gif file. It also does not require anymore a manual user intervention such as a -pix_fmt rgb24 to work properly. To summarize, output gif are now easier to generate, code is saner and simpler, and files are smaller (thanks to the lzw encoding which was unused so far with the default .gif output). We can certainly make things even better, but this is the first step. FATE is updated because of the output being produced by the encoder and not the muxer (no lzw in the muxer), and in the seek test only the size mismatches. Fixes Ticket #2262
41 lines
2.2 KiB
Plaintext
41 lines
2.2 KiB
Plaintext
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret: 0 st:-1 flags:0 ts:-1.000000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret: 0 st:-1 flags:1 ts: 1.894167
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret:-1 st: 0 flags:0 ts: 0.790000
|
|
ret:-1 st: 0 flags:1 ts:-0.320000
|
|
ret:-1 st:-1 flags:0 ts: 2.576668
|
|
ret: 0 st:-1 flags:1 ts: 1.470835
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret:-1 st: 0 flags:0 ts: 0.370000
|
|
ret:-1 st: 0 flags:1 ts:-0.740000
|
|
ret:-1 st:-1 flags:0 ts: 2.153336
|
|
ret: 0 st:-1 flags:1 ts: 1.047503
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret: 0 st: 0 flags:0 ts:-0.060000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret: 0 st: 0 flags:1 ts: 2.840000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret:-1 st:-1 flags:0 ts: 1.730004
|
|
ret: 0 st:-1 flags:1 ts: 0.624171
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret: 0 st: 0 flags:0 ts:-0.480000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret: 0 st: 0 flags:1 ts: 2.410000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret:-1 st:-1 flags:0 ts: 1.306672
|
|
ret: 0 st:-1 flags:1 ts: 0.200839
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret: 0 st: 0 flags:0 ts:-0.900000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret: 0 st: 0 flags:1 ts: 1.990000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret:-1 st:-1 flags:0 ts: 0.883340
|
|
ret:-1 st:-1 flags:1 ts:-0.222493
|
|
ret:-1 st: 0 flags:0 ts: 2.670000
|
|
ret: 0 st: 0 flags:1 ts: 1.570000
|
|
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 81501
|
|
ret:-1 st:-1 flags:0 ts: 0.460008
|
|
ret:-1 st:-1 flags:1 ts:-0.645825
|