aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/codecs.conf
blob: 4e7704cfde5b5533bee56d4bba6170ff7c5b40a9 (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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
;=============================================================================
;  Default codecs config file. It replaces the old codecs.c file!
;  Before editing this file, please read DOCS/tech/codecs.conf.txt !
;=============================================================================

release 20020910

;=============================================================================
;                   VIDEO CODECS
;=============================================================================

; mpeg 1/2 decoding:
; Note: mpegpes is preferred for hw decoders:

videocodec mpegpes
  info "Mpeg PES output (.mpg or Dxr3/DVB card)"
  comment "for hardware decoding"
  status working
  format 0x10000001  ; mpeg 1
  format 0x10000002  ; mpeg 2
  driver mpegpes
  out MPES

videocodec mpeg12
  info "MPEG 1 or 2"
  comment "with postprocessing"
  status working
  format 0x10000001  ; mpeg 1
  format 0x10000002  ; mpeg 2
  driver libmpeg2
  dll "libmpeg2"
  out YV12,I420,IYUV

videocodec ffmpeg12
  info "FFmpeg MPEG 1/2"
  status working
  format 0x10000001  ; mpeg 1
  format 0x10000002  ; mpeg 2
  fourcc mpg1,mpg2
  fourcc PIM1
  driver ffmpeg
  dll "mpegvideo"
  out YV12,I420,IYUV

; we have only native opensource codecs for these:

videocodec nuv
  info "NuppelVideo"
  status working
  fourcc NUV1
  driver nuv
  out I420,IYUV

videocodec mpng
  info "PNG images decoder"
  status working
  comment "Gray scaled PNG with Alpha channel not supported"
  fourcc mpng,MPNG
  dll "libpng"
  driver mpng
  out BGR32,BGR24

videocodec mtga
  info "TGA images decoder"
  status working
  comment "Only 24bpp and 32bpp RGB TGA files supported"
  fourcc mtga,MTGA
  driver mtga
  out BGR32 ;,BGR24

videocodec fli
  info "Autodesk FLI/FLC Animation"
  status working
  comment "FLIC is an internal MPlayer FOURCC"
  fourcc FLIC
  driver fli
  out BGR32,BGR24

videocodec qtrle
  info "Quicktime Animation (RLE)"
  status working
  format 0x20656C72 ; "rle "
  driver qtrle
  out BGR32,BGR24

videocodec qtrpza
 info "Quicktime Apple Video"
 status working
 fourcc rpza,azpr
 driver qtrpza
 out BGR32,BGR24,BGR15

videocodec qtsmc
  info "Apple Graphics (SMC) codec"
  status working
  format 0x20636d73 ; "smc "
  driver qtsmc
  out BGR32,BGR24

videocodec cyuv
  info "Creative YUV (native codec)"
  status working
  fourcc cyuv,CYUV
  driver cyuv
  out YUY2
  out UYVY

videocodec msrle
  info "Microsoft RLE"
  status working
  format 0x1
  format 0x2
  driver msrle
  out BGR32,BGR24,BGR16,BGR15

videocodec roqvideo
  info "Id RoQ File Video Decoder"
  status buggy
  comment "RoQV is an internal MPlayer FOURCC"
  fourcc RoQV
  driver roqvideo
  out YV12

; prefer native codecs over win32?
; the win32 codecs probably are (better) optimized and support direct
; rendering, so this may be not the best idea...

;WIN32:

videocodec cram
  info "Microsoft Video 1"
  comment "-vop palette required for 8bpp"
  status buggy
  fourcc cram,CRAM CRAM
  fourcc msvc,MSVC CRAM
  fourcc wham,WHAM CRAM
  driver vfw
  dll "msvidc32.dll"
  out BGR24,BGR15,BGR8 static,query

videocodec cvidvfw
  info "Cinepak Video"
  status working
  fourcc cvid
  driver vfw
  dll "iccvid.dll"
;  out YUY2
;  out UYVY
  out BGR24,BGR15 static

videocodec huffyuv
  info "HuffYUV"
  status buggy
  fourcc HFYU
  driver vfw
  dll "huffyuv.dll"
  out YUY2 flip,noflip,query
;  out UYVY flip
  out BGR32,BGR24 flip,query

;NATIVE:

videocodec svq1
  info "Sorenson v1 (native codec)"
  status working
  fourcc SVQ1
  driver svq1
  out YVU9

videocodec video1
  info "Microsoft Video 1 (native codec)"
  status working
  fourcc cram,CRAM
  fourcc msvc,MSVC
  fourcc wham,WHAM
  driver msvidc
  out BGR32,BGR24

videocodec cvid
  info "Cinepak Video (native codec)"
  status working
  fourcc cvid,CVID
  driver cinepak
  out YV12,I420,IYUV
  out YUY2
  out BGR32,BGR24

videocodec mphuffyuv
  info "HuffYUV (native codec)"
  status working
  fourcc HFYU
  driver huffyuv
  out YUY2
  out BGR32,BGR24

videocodec mpmszh
  info "AVImszh (native codec)"
  status working
  fourcc MSZH
  driver lcl
  out BGR24

videocodec mpzlib
  info "AVIzlib (native codec)"
  status working
  fourcc ZLIB
  driver lcl
  out BGR24

;XAnim (slow):

videocodec cvidxa
  info "XAnim's Radius Cinepak Video"
  status buggy
  fourcc cvid
  driver xanim
  dll "vid_cvid.xa"
  out YV12,IYUV,I420 static

; time to decide what to do with the mpeg4/divx variants...
; ff* is fastest...

videocodec ffsvq1
  info "FFmpeg Sorenson Video v1"
  status working
  fourcc SVQ1
  driver ffmpeg
  dll svq1
  out YVU9

videocodec ffdivx
  info "FFmpeg DivX ;-) (MS MPEG-4 v3)"
  status working
  fourcc MPG3,mpg3 div3
  fourcc MP43,mp43 div3   ; M$ MPEG4 v3   (fourcc mapping to div3)
  fourcc DIV5,div5 div3   ; DivX 3.20 
  fourcc DIV6,div6 div4   ;   -||-
  fourcc DIV3,div3,DIV4,div4
  fourcc AP41 div3	  ; AngelPotion stuff
  fourcc COL1,col1,COL0,col0 ; Cool codec (based on mpg4ds32.ax)
  driver ffmpeg
  dll msmpeg4
  out YV12,I420,IYUV
  
videocodec ffmp42
  info "FFmpeg M$ MPEG-4 v2"
  status working
  fourcc DIV2,div2 mp42
  fourcc MP42,mp42
  driver ffmpeg
  dll msmpeg4v2
  out YV12,I420,IYUV

videocodec ffmp41
  info "FFmpeg M$ MPEG-4 v1"
  status working
  fourcc DIV1,div1 mpg4
  fourcc MPG4,mpg4
  driver ffmpeg
  dll msmpeg4v1
  out YV12,I420,IYUV

videocodec ffwmv1
  info "FFmpeg M$ WMV1/WMV7"
  status working
  fourcc WMV1,wmv1
  driver ffmpeg
  dll wmv1
  out YV12,I420,IYUV

videocodec ffodivx
  info "FFmpeg MPEG-4"
  status working
  fourcc DIVX,divx
  fourcc DIV1,div1 divx
  fourcc MP4S,mp4s	; ISO MPEG-4 Video V1
  fourcc M4S2,m4s2
  fourcc xvid,XVID,XviD
  fourcc DX50,BLZ0 DX50
  fourcc mp4v
  format 0x4
  fourcc UMP4
  driver ffmpeg
  dll mpeg4 ;opendivx
  out YV12,I420,IYUV

videocodec xvid
  info "Xvid (MPEG-4)"
  status working
  fourcc DIVX,divx
  fourcc xvid,XVID,XviD
  format 0x4
  driver xvid
  out YV12
  out I420
  out YUY2
  out UYVY
  out YVYU
  out BGR32,BGR24,BGR16,BGR15

; divx4 does direct render, and is native on linux

videocodec odivx
  info "OpenDivX API (ODIVX,DIVX4,DIVX5,XVID)"
  comment "with postprocessing"
  status working
  fourcc mp4v
  fourcc DIVX,divx
  fourcc DIV1,div1 divx
;  fourcc MP4S,mp4s	; ISO MPEG-4 Video V1
  fourcc MP43,mp43,DIV3,div3,DIV4,div4 DIV3  ; for DivX4Linux only!
  fourcc AP41 DIV3	  ; AngelPotion stuff
  fourcc xvid,XVID,XviD
  fourcc DX50,BLZ0 DX50
  format 0x4
  driver odivx
  dll "libdivxdecore.0"
  out YV12,I420,IYUV

videocodec divx4
  info "DivX4Linux API (DIVX4,DIVX5,XVID)"
  comment "with postprocessing"
  status working
  fourcc mp4v
  fourcc DIVX,divx
  fourcc DIV1,div1 divx
;  fourcc MP4S,mp4s	; ISO MPEG-4 Video V1
  fourcc MP43,mp43,DIV3,div3,DIV4,div4 DIV3  ; for DivX4Linux only!
  fourcc AP41 DIV3	  ; AngelPotion stuff
  fourcc xvid,XVID,XviD
  fourcc DX50,BLZ0 DX50
  format 0x4
  driver divx4
  dll "libdivxdecore.0"
;  out I420 ; planar direct rendering
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR16,BGR15

; is divx4vfw stable enough, working everywhere and faster than divxds?

videocodec divx4vfw
  info "DivX4Windows-VFW"
  status buggy
  comment "sig11 with -framedrop"
  fourcc DIVX,divx        ; opendivx / divx4
  fourcc DIV1,div1 divx
;  fourcc MP4S,mp4s	  ; ISO MPEG-4 Video V1
  fourcc MP43,mp43,DIV3,div3,DIV4,div4 DIV3  ; for DivX4Linux only!
  fourcc AP41 DIV3	  ; AngelPotion stuff
  format 0x4
  driver vfw
  dll "divx.dll"
;  out YV12   ; buggy
  out YUY2
  out BGR32,BGR24,BGR15

; the original ones...  prefer DShow for postprocessing:

videocodec divxds
  info "DivX ;-) (MS MPEG-4 v3)"
  comment "with postprocessing"
  status working
  fourcc MP43,mp43 div3   ; fourcc mapping to div3
  fourcc DIV5,div5 div3
  fourcc DIV6,div6 div4
  fourcc DIV3,div3,DIV4,div4
  fourcc AP41 div3	  ; AngelPotion stuff
  driver dshow
  dll "divx_c32.ax"
  guid 0x82CCd3E0, 0xF71A, 0x11D0, 0x9f, 0xe5, 0x00, 0x60, 0x97, 0x78, 0xaa, 0xaa
  out YUY2,UYVY
  out BGR32,BGR24,BGR16,BGR15

videocodec divx
  info "DivX ;-) (MS MPEG-4 v3)"
  status working
  fourcc MP43,mp43 div3   ; M$ MPEG4 v3   (fourcc mapping to div3)
  fourcc DIV5,div5 div3   ; DivX 3.20 
  fourcc DIV6,div6 div4   ;   -||-
  fourcc DIV3,div3,DIV4,div4
  fourcc AP41 div3	  ; AngelPotion stuff
  driver vfw
  dll "divxc32.dll"
  out YUY2 yuvhack
  out BGR32,BGR24,BGR15
  
; hmm. we should check, maybe these are/will be playable with libavcodec:

videocodec mpeg4ds
  info "Microsoft MPEG-4 v1/v2"
  status working
  comment "with postprocessing"
  fourcc DIV2,div2 mp42
  fourcc MP4S,mp4s	; ISO MPEG-4 Video V1
  fourcc MPG4,mpg4
  fourcc MP42,mp42
  driver dshow
  dll "mpg4ds32.ax"
  guid 0x82CCD3E0, 0xF71A, 0x11D0, 0x9F, 0xE5, 0x00, 0x60, 0x97, 0x78, 0xEA, 0x66
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

videocodec mpeg4
  info "Microsoft MPEG-4 v1/v2"
  status working
  fourcc MPG4,mpg4
  fourcc MP42,mp42
  fourcc DIV2 mp42
  driver vfw
  dll "mpg4c32.dll"
  out YUY2 yuvhack
  out BGR32,BGR24,BGR15

videocodec wmv8
  info "Windows Media Video 8"
  status working
  fourcc WMV2
  driver dshow
  dll "wmv8ds32.ax"
  guid 0x521fb373, 0x7654, 0x49f2, 0xbd, 0xb1, 0x0c, 0x6e, 0x66, 0x60, 0x71, 0x4f
  out YV12,I420,IYUV
  out YUY2,UYVY
  out BGR32,BGR24,BGR16,BGR15

videocodec wmv7
  info "Windows Media Video 7"
  status working
  fourcc WMV1
  driver dshow
  dll "wmvds32.ax"
  guid 0x4facbba1, 0xffd8, 0x4cd7, 0x82, 0x28, 0x61, 0xe2, 0xf6, 0x5c, 0xb1, 0xae
  out YUY2,UYVY
  out BGR32,BGR24,BGR16,BGR15

videocodec ubmp4
  info "UB Video MPEG 4"
  status buggy
  fourcc mp4v UMP4 ; black&white, sometimes buggy too
  fourcc UMP4
  driver vfw
  dll "ubvmp4d.dll"
  out I420
  out UYVY


; mjpegs:
; Notes: m3jpeg+mjpeg are mmx optimized. avid is very stable but slow.
; ijpg only decodes jpeg images (no mjpg), and slow. ffmjpeg is buggy.
; Update: ffmjpeg is almost perfect now, prefer it to others.

; fails only with Spectralfan.mov (marker bug?) & imgp1066.avi (0x0 size)
videocodec ffmjpeg
  info "FFmpeg MJPEG decoder"
  status working
  fourcc MJPG,mjpg
  fourcc AVRn,AVDJ  ; AVID
  fourcc jpeg ; photo-jpeg
  fourcc mjpa ; Apple MJPEG-A (Quicktime)
  fourcc JFIF ; SMJPEG (Loki)
  driver ffmpeg
  dll mjpeg
  out 422P
  out YUY2  ; queryed (conversion from yuv422p)
  out YV12,I420,IYUV

; slow. usable only for standalone jpegs, like -mf, avid or photojpeg:
videocodec ijpg
  info "Independent JPEG Group's codec"
  status working
  fourcc ijpg,IJPG   ; -mf type=jpeg
  fourcc jpeg        ; MOV Photo Jpeg
  fourcc AVRn,AVDJ  ; AVID
  driver ijpg
  dll libjpeg
  out RGB24,BGR24,BGR32

; http://www.morgan-multimedia.com/dev/codec_spec.htm
videocodec m3jpeg
  info "Morgan Motion JPEG Codec"
  status working
  fourcc MJPG
  fourcc mjpa,mjpb,mjpg MJPG  ; MOV files
  fourcc dmb1 MJPG            ; MJPEG by Matrox Rainbow Runner
  driver vfw
  dll "m3jpeg32.dll"
;  out YV12,I420
  out YUY2,UYVY
  out BGR32,BGR24,BGR15

videocodec mjpeg
  info "MainConcept Motion JPEG"
  status working
  fourcc MJPG
  fourcc mjpa,mjpb,mjpg MJPG  ; MOV files
;  fourcc AVRn,AVDJ MJPG ; AVID (sometimes buggy)
  driver vfw
  dll "mcmjpg32.dll"
  out YUY2,UYVY
  out BGR32,BGR24,BGR15

videocodec avid
  info "AVID Motion JPEG"
  status working
  comment "slooooooooow but stable"
  fourcc AVRn
  fourcc AVDJ AVRn
  fourcc MJPG,mjpg AVRn
  driver vfw
  dll "AvidAVICodec.dll"
  out BGR24 flip

videocodec LEAD
  info "LEAD (M)Jpeg"
  status working
  comment "supports interlaced MJPEG"
  fourcc MJPG
  fourcc jpeg MJPG  ; MOV Photo Jpeg
  driver vfw
  dll "LCodcCMP.dll"
  out BGR24,BGR15

; http://www.morgan-multimedia.com/dev/directshow_dec_spec.htm
videocodec m3jpegds
  info "Morgan MJPEG"
  status crashing
  fourcc MJPG mjpg
  fourcc mjpa,mjpb,mjpg mjpg  ; MOV files
  fourcc dmb1 mjpg            ; MJPEG by Matrox Rainbow Runner
  driver dshow
  dll "m3jpegdec.ax"
  guid 0x6988b440, 0x8352, 0x11d3, 0x9b, 0xda, 0xca, 0x86, 0x73, 0x7c, 0x71, 0x68
  out I420
  out YUY2,UYVY
  out BGR32,BGR24,BGR16,BGR15

videocodec pegasusm
  info "Pegasus Motion JPEG"
  status buggy
  fourcc MJPG
  driver vfw
;  dll "pvmjpg20.dll"	; v2.0
  dll "pvmjpg21.dll"	; v2.1
  out BGR24 flip

videocodec pegasusl
  info "Pegasus Lossless JPEG"
  status buggy
  fourcc JPGL
  fourcc MJPG JPGL
  driver vfw
  dll "pvljpg20.dll"
  out BGR24 flip

videocodec pegasusmwv
  info "Pegasus Motion Wavelet 2000"
  status buggy
  fourcc PVW2
  driver vfw
  dll "pvwv220.dll"
  out BGR24 flip

; h263: - I don't know. comments?

videocodec vivo
  info "Vivo H.263"
  status working
  fourcc VIVO,vivo vivo
  fourcc viv1,viv2 vivo
  driver vfw
  dll "ivvideo.dll"
  out BGR32,BGR24,BGR15 flip
  in BGR24

videocodec u263
  info "UB Video H.263/H.263+/H.263++ Decoder"
  status working
  fourcc U263
  fourcc vivo,VIVO U263
  fourcc viv1 U263
  driver dshow
  dll "ubv263d+.ax"
  guid 0x00af1181, 0x6ebb, 0x11d4, 0x9d, 0x5a, 0x00, 0x50, 0x04, 0x79, 0x6c, 0xc0
;  out UYVY
; BGR32,BGR16,BGR15 seems to work too
  out BGR24 flip

videocodec i263
  info "I263"
  status working
  fourcc I263,i263,I420,i420
  fourcc vivo,VIVO I263
  fourcc viv1 I263
  driver vfw
  dll "i263_32.drv"
  out I420
  out YUY2
  out BGR32,BGR24,BGR15

videocodec ffi263
  info "FFmpeg I263 decoder"
  status working
  fourcc I263,i263
  driver ffmpeg
  dll h263i
  out YV12,I420,IYUV

videocodec ffh263
  info "FFmpeg H263+ decoder"
  status working
  fourcc H263,U263,h263
  fourcc viv1 h263
  driver ffmpeg
  dll h263
  out YV12,I420,IYUV

videocodec h263xa
  info "XAnim's CCITT H.263"
  status crashing
  fourcc H263,h263
  fourcc viv1 H263
  fourcc VIVO,vivo H263
  driver xanim
  dll "vid_h263.xa"
  out YV12,IYUV,I420

videocodec h261xa
  info "XAnim's CCITT H.261"
  status untested
  fourcc H261,h261
  driver xanim
  dll "vid_h261.xa"
  out YV12,IYUV,I420

videocodec m261
  info "M261"
  status untested
  fourcc m261,M261
  driver vfw
  dll "msh261.drv"
  out BGR32,BGR24,BGR15

; indeo:
; Note: indeo 3 is buggy, both xanim (bad decoding) and VfW (not work with DR)
; Prefer win32 ones, they are faster, and 4/5 can DR. for fallback, there are
; Xanim codecs, they provide YV12, useful for YUV display or encoding.

videocodec indeo5ds
  info "Intel Indeo 5"
  status working
  fourcc IV50,iv50
  driver dshow
  dll "ir50_32.dll"
  guid 0x30355649, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
  out YV12,IYUV,I420
  out YUY2,UYVY
  out BGR32,BGR24,BGR16,BGR15

videocodec indeo5
  info "Intel Indeo 5"
  status working
  fourcc IV50,iv50
  driver vfwex
  dll "ir50_32.dll"
;  out YV12,I420   ; flickering
  out YUY2
  out BGR32,BGR24,BGR15

videocodec indeo4
  info "Intel Indeo 4.1"
  status working
  fourcc IV41,iv41
  driver vfw
  dll "ir41_32.dll"
  out IF09
  out BGR24,BGR15
  in YVU9

videocodec indeo3
  info "Intel Indeo 3.1/3.2"
  status working
  fourcc IV31,iv31
  fourcc IV32,iv32
  driver vfwex
  dll "ir32_32.dll"
  out IF09
  out BGR24,BGR15 flip,static
  in YVU9

videocodec indeo5xa
  info "XAnim's Intel Indeo 5"
  status working
  fourcc IV50,iv50
  driver xanim
  dll "vid_iv50.xa"
  out YVU9

videocodec indeo4xa
  info "XAnim's Intel Indeo 4.1"
  status working
  fourcc IV41,iv41
  driver xanim
  dll "vid_iv41.xa"
  out YVU9

videocodec indeo3xa
  info "XAnim's Intel Indeo 3.1/3.2"
  status working
  fourcc IV31,iv31
  fourcc IV32,iv32
  driver xanim
  dll "vid_iv32.xa"
  out YVU9

; DV:  qdv is more stable...  libdv is slow, mcdv is unstable

videocodec qdv
  info "Sony Digital Video (DV)"
  status working
  fourcc dvsl,dvsd,dvhd  ; ????
  fourcc DVSD dvsd   ; pal .avi
  fourcc "dvcp" dvsd ; pal .mov
  fourcc "dvc " dvsd ; ntsc .mov
  driver dshow
  dll "qdv.dll"
  guid 0xB1B77C00, 0xC3E4, 0x11CF, 0xAF, 0x79, 0x00, 0xAA, 0x00, 0xB6, 0x7A, 0x42
  out YUY2
  out UYVY
  out BGR24,BGR16,BGR15 ; BGR32 is buggy, at least with one sample

videocodec libdv
  info "Raw DV decoder using libdv"
  status working
  fourcc DVSD,dvsd   ; PAL
  fourcc DVCS,dvcs   ; NTSC ?
  fourcc "dvcp"      ; PAL DV in .mov
  fourcc "dvc "      ; NTSC DV in .mov
  driver libdv
  out YUY2

; note: it crashes with pond.dv :(
videocodec mcdv
  info "MainConcept DV Codec"
  status working
  fourcc DVSD,dvsd   ; PAL
  fourcc DVCS,dvcs   ; NTSC ?
  fourcc CDVC,cdvc   ; ???
  fourcc "dvcp" dvsd ; PAL DV in .mov
  fourcc "dvc " dvcs ; NTSC DV in .mov
  driver vfw
  dll "mcdvd_32.dll"
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR15

; 3ivx:

videocodec 3ivXxa
  info "XAnim's 3ivX Delta 3.5 plugin"
  status working
  fourcc 3IV1
  driver xanim
  dll "vid_3ivX.xa"
  out YV12,IYUV,I420

videocodec 3ivX
  info "3ivX Delta 3.5"
  status crashing
  fourcc 3IV1
  driver dshow
  dll "3ivxdmo.dll"
  guid 0x0E6772C0, 0xDD80, 0x11D4, 0xB5, 0x8f, 0xA8, 0x6B, 0x66, 0xd0, 0x61, 0x1c
  out YV12
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

; experimental real video decoder using closed source codecs

videocodec rv40
  info "Linux RealPlayer 9 RV40 decoder"
  status working
  fourcc RV40,rv40
  driver realvid
  dll "drv4.so.6.0"
  out I420

videocodec rv30
  info "Linux RealPlayer 8 RV30 decoder"
  status working
  fourcc RV30,rv30
  driver realvid
  dll "drv3.so.6.0"
  out I420

videocodec rv30win
  info "Win32 RealPlayer 8 RV30 decoder"
  status crashing
  fourcc RV30,rv30
  driver realvid
  dll "drv33260.dll"
  out I420

videocodec rv20
  info "Linux RealPlayer 8 RV20 decoder"
  status working
  fourcc RV20,rv20
  driver realvid
  dll "drv2.so.6.0"
  out I420

; others:

videocodec ffrv10
  info "FFmpeg RV10 decoder"
  status working
  fourcc RV10,rv10
  fourcc RV13,rv13
  driver ffmpeg
  dll rv10
  out YV12,I420,IYUV

videocodec vp3
  info "On2 OpenSource VP3-Codec"
  status working
  comment "For SSE-systems use hacked dll from ftp://mplayerhq.hu/MPlayer/samples/drivers32/"
  fourcc VP30,vp30,VP31,vp31
  flags align16
  driver vfwex
  dll "vp31vfw.dll"
  out YUY2
  out BGR32,BGR24,BGR15

videocodec mwv1
  info "Motion Wavelets"
  status working
  fourcc MWV1
  driver vfw
  dll "icmw_32.dll"
  out BGR24,BGR15 flip

videocodec asv2
  info "ASUS V2"
  status working
  fourcc ASV2
  driver vfw
  dll "asusasv2.dll"
  out UYVY
  out BGR32,BGR24,BGR15 flip

videocodec asv1
  info "ASUS V1"
  status working
  fourcc ASV1
  driver vfw
  dll "asusasvd.dll"
  out UYVY
  out BGR32,BGR24,BGR15 flip

videocodec mss1
  info "Windows Screen Video"
  status working
  fourcc MSS1
  driver dshow
  dll "msscds32.ax"
  guid 0x3301a7c4, 0x0a8d, 0x11d4, 0x91, 0x4d, 0x00, 0xc0, 0x4f, 0x61, 0x0d, 0x24
  out BGR32,BGR24,BGR16,BGR15

; CLRVIDDC.DLL needed too, with uppercase
videocodec ucod
  info "UCOD-ClearVideo"
  status working
  fourcc UCOD
  driver vfw
  dll "clrviddd.dll"
  out UYVY
  out BGR32,BGR24,BGR15 flip

videocodec vcr2
  info "ATI VCR-2"
  status working
  fourcc VCR2
  driver vfw
  dll "ativcr2.dll"
  out YV12
  out BGR24

videocodec CJPG
  info "CJPG"
  status untested
  comment "need sample files (this dll is decompression only!)"
  fourcc CJPG
  driver vfw
  dll "CtWbJpg.DLL"
  out YUY2
  out UYVY
  out BGR24,BGR15

; our BGR15->BGR32 is bad or the DLL?
videocodec tm20
  info "TrueMotion 2.0"
  status working
  comment "YUV faulting"
  fourcc TM20
  driver dshow
  dll "tm20dec.ax"
  guid 0x4cb63e61, 0xc611, 0x11D0, 0x83, 0xaa, 0x00, 0x00, 0x92, 0x90, 0x01, 0x84
  out BGR32,BGR24,BGR16

videocodec sp5x
  info "SP5x codec - used by Aiptek MegaCam"
  status working
  fourcc SP53,SP54,SP55,SP56,SP57,SP58
  driver vfw
  dll "sp5x_32.dll"
  out BGR24,BGR15


; buggy codecs:  (any volunteers for native rewrite?)

videocodec zlib
  info "AVIzlib"
  status working
  comment "24bpp only"
  fourcc ZLIB
  driver vfw
  dll "avizlib.dll"
  out BGR24 flip

videocodec mszh
  info "AVImszh"
  status working
  comment "24bpp only"
  fourcc MSZH
  driver vfw
  dll "avimszh.dll"
;  out YUY2
;  out BGR32,BGR24,BGR15
  out BGR24

videocodec alaris
  info "Alaris VideoGramPiX"
; http://www.alaris.com/movies/toocool.vgm
; Martin Schuster <schuster@ap.univie.ac.at>
  status crashing
  comment "only produces strange patterns"
  fourcc VGPX,VTLP VGPX
  driver vfwex
  dll "vgpix32d.dll"
  out UYVY
  out BGR24


; non-working codecs:

videocodec vcr1
  info "ATI VCR-1"
  status crashing
  fourcc VCR1
  driver vfw
  dll "ativcr1.dll"
  out RGB24 flip

videocodec pim1
  info "PIM1"
  status crashing
  comment "no picture. use ffmpeg12!"
  fourcc PIM1
  driver vfw
  dll "pclepim1.dll"
  out BGR24 flip
;  out I420
;  out YUY2
;  out BGR32,BGR24,BGR16,BGR15

videocodec qpeg
  info "Q-Team's QPEG (www.q-team.de)"
  status working
  comment "BGR8 only!"
  fourcc Q1.0,QPEG
  fourcc Q1.1,qpeq
  driver vfw
  dll "qpeg32.dll"
  out BGR8 flip

videocodec rricm
  info "rricm"
  status crashing
  fourcc dmb1
  driver vfw
  dll "rricm.dll"
  out YUY2
  out BGR24 flip

; sample videos: http://www.techsmith.com/products/camtasia/examplevideos.asp
videocodec camtasia
  info "TechSmith Camtasia Screen Codec"
  status buggy
  fourcc TSCC,tscc
  driver vfw
  dll "tsccvid.dll"
  out BGR15 flip

; raw formats:  (now RGB formats are autodetected)

; these raw codecs are used mostly by tv input
; 0x20776172 is used by Quicktime ('raw ')
; 0x0 is used by AVI
; YV12,RGB|32,RGB|24.. is created by MPlayer

videocodec rawrgb32
  info "RAW RGB32"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x52474220
  out RGB32

videocodec rawrgb24
  info "RAW RGB24"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x52474218
  out RGB24

videocodec rawrgb16
  info "RAW RGB16"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x52474210
  out RGB16

videocodec rawbgr32
  info "RAW BGR32"
  status working
  driver raw
  format 0x0
  format 0x42475220
  out BGR32 flip
	   
videocodec rawbgr24
  info "RAW BGR24"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x42475218
  out BGR24 flip

videocodec rawbgr16
  info "RAW BGR15"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x42475210
  out BGR16 flip

videocodec rawbgr15
  info "RAW BGR15"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x4247520F
  out BGR15 flip

videocodec rawyuy2
  info "RAW YUY2"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc yuy2,YUY2
  out YUY2

videocodec rawuyvy
  info "RAW UYVY"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc uyvy,UYVY
  out UYVY

videocodec rawyv12
  info "RAW YV12"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc yv12,YV12
  out YV12

videocodec rawi420
  info "RAW I420"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc i420,I420
  fourcc IYUV,iyuv
  out I420,IYUV

videocodec rawyvu9
  info "RAW YVU9"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc yvu9,YVU9
  out YVU9

; NULL codec - for testing.

videocodec null
  info "NULL codec (no decoding!)"
  status crashing
  comment "for unknown/unsupported codecs or testing"
  driver null
  out YV12
  out I420
  out YUY2
  out UYVY
  out YVU9
  out BGR32,BGR24,BGR16,BGR15

;=============================================================================
;                   AUDIO CODECS
;=============================================================================

audiocodec racook
  info "RealAudio COOK"
  status working
  format 0x6B6F6F63 ; "cook"
  driver realaud
  dll "cook.so.6.0"

audiocodec rasipr
  info "RealAudio Sipro"
  status working
  format 0x72706973 ; "sipr"
  driver realaud
  dll "sipr.so.6.0"

audiocodec imaadpcm
  info "IMA ADPCM"
  status working
  format 0x11
  format 0x34616d69  ; "ima4" (MOV files)
  driver imaadpcm

audiocodec msadpcm
  info "MS ADPCM"
  status working
  format 0x2
  driver msadpcm

audiocodec dk4adpcm
  info "Duck DK4 ADPCM (rogue format number)"
  status working
  comment "This format number was used by Duck Corp. but not officially registered with Microsoft"
  format 0x61
  driver imaadpcm

audiocodec dk3adpcm
  info "Duck DK3 ADPCM (rogue format number)"
  status working
  comment "This format number was used by Duck Corp. but not officially registered with Microsoft"
  format 0x62
  driver dk3adpcm

audiocodec roqaudio
  info "Id RoQ File Audio Decoder"
  status working
  comment "RoQA is an internal MPlayer FOURCC"
  fourcc RoQA
  driver roqaudio

audiocodec libdv
  info "raw DV audio decoder"
  status working
  comment "raw DV audio decoder"
  fourcc RADV
  driver libdv

audiocodec faad
  info "AAC MPEG2/MPEG4 Audio"
  status working
  comment "Under developemnt by Atmos"
  fourcc mp4a,MP4A
  driver faad

audiocodec pcm
  info "Uncompressed PCM"
  status working
  format 0x1
  format 0x20776172  ; "raw " (MOV files)
  format 0x736f7774  ; "twos" (MOV files)
;;;; these are for hardware support only:  (alaw,ulaw,ima-adpcm,mpeg,ac3)
;  format 0x6
;  format 0x7
;  format 0x11
;  format 0x50
;  format 0x2000
;;;;
  driver pcm

audiocodec divx
  info "DivX audio (WMA)"
  status working
  format 0x160
  format 0x161
  driver acm
  dll "divxa32.acm"

audiocodec msadpcmacm
  info "MS ADPCM"
  status working
  format 0x2
  driver acm
  dll "msadp32.acm"

audiocodec mp3
  info "mp3lib MPEG layer-2, layer-3"
  status working
  comment "Optimized to MMX/SSE/3Dnow!"
  format 0x50
  format 0x55
  format 0x33706d2e  ; ".mp3" CBR/VBR MP3 (MOV files)
  format 0x5500736d  ; "ms\0\x55" older mp3 fcc (MOV files)
  driver mp3lib
  dll "mp3lib"
  flags seekable

;MAD library
audiocodec mad
  info "libMAD MPEG layer 1,2,3"
  status working
  format 0x50
  format 0x55
  format 0x33706d2e  ; ".mp3" CBR/VBR MP3 (MOV files)
  format 0x5500736d  ; "ms\0\x55" older mp3 fcc (MOV files)
  driver libmad
  dll "libmad"
  flags seekable

audiocodec ffmp3
  info "FFmpeg layer-3 audio decoder - integer only"
  status working
  format 0x55
  format 0x33706d2e  ; ".mp3" CBR/VBR MP3 (MOV files)
  format 0x5500736d  ; "ms\0\x55" older mp3 fcc (MOV files)
  driver ffmpeg
  dll "mp3"
  flags seekable

audiocodec ffmp2
  info "FFmpeg layer 1,2 audio decoder - integer only"
  status working
  format 0x50
  driver ffmpeg
  dll "mp2"
  flags seekable

audiocodec mp3acm
  info "MPEG layer-3"
  status working
  comment "conflicts with security kernel patches"
  format 0x55
  driver acm
  dll "l3codeca.acm"
  flags seekable

audiocodec imaadpcmacm
  info "IMA ADPCM"
  status working
  format 0x11
  driver acm
  dll "imaadp32.acm"
  
audiocodec msgsmacm
  info "MS GSM"
  status working
  format 0x31
;  format 0x32
  driver acm
  dll "msgsm32.acm"

audiocodec msnaudio
  info "MSN AUDIO"
  status working
;  format 0x31
  format 0x32
  driver acm
  dll "msnaudio.acm"

audiocodec msgsm
  info "MS GSM"
  status working
  format 0x31
  format 0x32
  driver msgsm

audiocodec alaw
  info "aLaw"
  status working
  format 0x6
  driver alaw

audiocodec ulaw
  info "uLaw"
  status working
  format 0x7
  format 0x77616c75  ; "ulaw" (MOV files)
  driver alaw

audiocodec dvdpcm
  info "Uncompressed DVD LPCM"
  status working
  format 0x10001
  driver dvdpcm

audiocodec a52
  info "AC3-liba52"
  status working
  format 0x2000
  driver liba52
  dll "liba52"

audiocodec ac3
  info "AC3"
  comment "removed from mplayer, use liba52"
  status working
  format 0x2000
  driver libac3
  dll "libac3"

audiocodec voxware
  info "VoxWare"
  status working
  format 0x75
  driver dshow
  dll "voxmsdec.ax"
  guid 0x73f7a062, 0x8829, 0x11d1, 0xb5, 0x50, 0x00, 0x60, 0x97, 0x24, 0x2d, 0x8d

audiocodec acelp
  info "ACELP.net Sipro Lab Audio Decoder"
  status working
  format 0x130
  driver dshow
  dll "acelpdec.ax"
  guid 0x4009f700, 0xaeba, 0x11d1, 0x83, 0x44, 0x00, 0xc0, 0x4f, 0xb9, 0x2e, 0xb7

audiocodec imc
  info "Intel Music Coder"
  status working
  comment "driver at http://codeczone.virtualave.net/FXIMCAUD.zip"
  format 0x401
  driver acm
  dll "imc32.acm"

audiocodec hwac3
  info "AC3 through SPDIF"
  status working
  format 0x2000
  driver hwac3

audiocodec vorbis
  info "OggVorbis Audio Decoder"
  status working
  comment "OggVorbis driver using libvorbis"
  format 0xFFFE
  driver libvorbis
  dll "libvorbis"
  flags seekable
; acm codec doesn't work, haven't tried zorannt dshow codec
;  driver acm
;  dll "vorbis.acm"

audiocodec vivoaudio
  info "Vivo G.723/Siren Audio Codec"
  status working
  format 0x111       ; vivo g.723
  format 0x112       ; siren
  driver acm
  dll "vivog723.acm"

audiocodec g72x
  info "G.711/G.721/G.723"
  status crashing
  comment "does not work yet - just noise :("
  format 0x111	    ; vivo g.723
  format 0x112	    ; vivo siren
  driver g72x
  dll "g72x.c"

audiocodec atrac3
  info "Sony ATRAC3"
  status buggy
  format 0x270
  driver acm
  dll "atrac3.acm"

audiocodec ALF2
; http://www.nctsoft.com/products/NCTALFCD/
; jdp@mail.sonofon.dk
  info "ALF2"
  status working
  format 0x1FC4     ; ALF2
  driver acm
  dll "alf2cd.acm"

audiocodec truespeech
  info "DSP Group TrueSpeech(TM)"
  status working
  format 0x22
  driver acm
  dll "tssoft32.acm"

; rt32dcmp.dll needed too
audiocodec voxwarert24
  info "VoxWare RT24 speech codec"
  status working
  format 0x181c
  driver acm
  dll "nsrt2432.acm"

audiocodec lhacm
  info "Lernout & Hauspie CELP and SBC codecs"
  status working
  format 0x1101 ; CELP
  format 0x1102 ; SBC
  format 0x1103 ; SBC
  format 0x1104 ; SBC
  driver acm
  dll "lhacm.acm"