History

fate/video: Add media100 test

Tests both the Media 100 decoder (using the media100_to_mjpegb BSF implicitly) as well as using said BSF, followed by the MJPEGB decoder. (We currently hit a bug when remuxing: The demuxer treats compressorname as encoded in a Mac character encoding (Mac OS Roman?) and converts it to UTF-8, yet the muxer just writes it.)

Andreas Rheinhardt committed 1 year ago

Commit d71c8631 parent ecd7c922 files · +18 −0Browse files

Unified · Split

2 files
  1. tests/fate/video.mak +4 −0
  2. tests/ref/fate/media100 +14 −0
tests/fate/video.mak+4−0
@@ -251,6 +251,10 @@ fate-mdec: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/ea-dct/NFS2Esprit-pa · 250 unmodified lines
251FATE_VIDEO-$(call FRAMECRC, STR, MDEC) += fate-mdec-v3251FATE_VIDEO-$(call FRAMECRC, STR, MDEC) += fate-mdec-v3
252fate-mdec-v3: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/psx-str/abc000_cut.str -an252fate-mdec-v3: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/psx-str/abc000_cut.str -an
253 253
254FATE_VIDEO-$(call REMUX, MOV, MEDIA100_TO_MJPEGB_BSF MEDIA100_DECODER MJPEGB_DECODER) += fate-media100
255fate-media100: CMD = transcode mov $(TARGET_SAMPLES)/mjpegb/media100.mov mov \
256 "-map 0 -map 0 -c copy -bsf:v:0 media100_to_mjpegb -tag:v:0 mjpb" "-map 0"
257
254FATE_VIDEO-$(call FRAMECRC, MSNWC_TCP, MIMIC) += fate-mimic258FATE_VIDEO-$(call FRAMECRC, MSNWC_TCP, MIMIC) += fate-mimic
255fate-mimic: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/mimic/mimic2-womanloveffmpeg.cam259fate-mimic: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/mimic/mimic2-womanloveffmpeg.cam
256 260
tests/ref/fate/media100+14−0
@@ -0,0 +1,14 @@
136ca02da1b757454a710e0879d32e19f *tests/data/fate/media100.mov
2155218 tests/data/fate/media100.mov
3#tb 0: 1/25
4#media_type 0: video
5#codec_id 0: rawvideo
6#dimensions 0: 768x576
7#sar 0: 0/1
8#tb 1: 1/25
9#media_type 1: video
10#codec_id 1: rawvideo
11#dimensions 1: 768x576
12#sar 1: 0/1
130, 0, 0, 1, 884736, 0x22304315
141, 0, 0, 1, 884736, 0x22304315

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t