[FFmpeg-devel] [PATCH 42/42] tests/fate/hevc: add a test for switching between single and multi-view
James Almer
jamrial at gmail.com
Sat Nov 30 18:50:37 EET 2024
On 11/30/2024 1:38 PM, Zhao Zhili wrote:
>
>> -----Original Message-----
>> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Anton Khirnov
>> Sent: 2024年8月27日 23:05
>> To: ffmpeg-devel at ffmpeg.org
>> Subject: [FFmpeg-devel] [PATCH 42/42] tests/fate/hevc: add a test for switching between single and multi-view
>>
>> ---
>> tests/fate/hevc.mak | 10 ++
>> tests/ref/fate/hevc-mv-switch | 172 ++++++++++++++++++++++++++++++++++
>> 2 files changed, 182 insertions(+)
>> create mode 100644 tests/ref/fate/hevc-mv-switch
>>
>> diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
>> index e75fbd3c16..5631ded860 100644
>> --- a/tests/fate/hevc.mak
>> +++ b/tests/fate/hevc.mak
>> @@ -273,6 +273,16 @@ FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) += fate-hevc-sm
>> fate-hevc-mv-nuh-layer-id: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/mv_nuh_layer_id.bit -map 0:view:all
>> FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-mv-nuh-layer-id
>>
>> +# NB: $\ at the end of line joins lines without adding whitespace;
>> +# this trick is recommended by GNU make manual
>> +fate-hevc-mv-switch: INPUT = \
>> +$(TARGET_SAMPLES)/hevc-conformance/LS_A_Orange_2.bit|$\
>> +$(TARGET_SAMPLES)/hevc/mv_nuh_layer_id.bit|$\
>> +$(TARGET_SAMPLES)/hevc-conformance/NoOutPrior_B_Qualcomm_1.bit|$\
>> +$(TARGET_SAMPLES)/hevc-conformance/MVHEVCS_A.bit
>> +fate-hevc-mv-switch: CMD = framecrc -i "concat:$(INPUT)" -fps_mode passthrough -map 0:vidx:0 -map 0:vidx:1
>> +FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, CONCAT_PROTOCOL) += fate-hevc-mv-switch
>
> The test failed when run with msys2, because msys2 only convert the first sample path to Windows style path:
It shouldn't convert any at all.
>
> [in#0 @ 0000028FF3412EC0] Error opening input: No such file or directory
> Error opening input file concat;D:\bin\msys\home\quink\work\ffmpeg-fate-sample\hevc-conformance\LS_A_Orange_2.bit|\home\quink\work\ffmpeg-fate-sample\hevc\mv_nuh_layer_id.bit|\home\quink\work\ffmpeg-fate-sample\hevc-conformance\NoOutPrior_B_Qualcomm_1.bit|\home\quink\work\ffmpeg-fate-sample\hevc-conformance\MVHEVCS_A.bit.
I can't reproduce this on msys2 locally. Have you tried using a relative
path for SAMPLES?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241130/1d97c89d/attachment.sig>
More information about the ffmpeg-devel
mailing list