Closed sungn closed 6 years ago
root cause: param set err. When the setting of the parameter pix_fmt yuv420p is canceled, the case can pass (the setting required for the case is yuv422). In the case of the fate framework test, some cases need to set pix_fmt to yuv420p to pass. There is no way to do the screening on the software implementation, so there is no modification strategy.
@sungn If the FATE can pass with default parameter, I don't think is an issue, will close it
command
./ffmpeg -nostdin -nostats -cpuflags all -vsync drop -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_flags allow_profile_mismatch -threads 1 -thread_type frame+slice -i ./fate-suite//h264-conformance/FRext/Hi422FR1_SONY_A.jsv -pix_fmt yuv420p -flags +bitexact -fflags +bitexact -f framecrc -
backtrace --- ./tests/ref/fate/h264-conformance-frext-hi422fr1_sony_a 2018-06-07 14:32:26.684501075 +0800 +++ tests/data/fate/h264-conformance-frext-hi422fr1_sony_a 2018-07-10 16:38:12.584780320 +0800 @@ -3,8 +3,8 @@
codec_id 0: rawvideo
dimensions 0: 352x288
sar 0: 0/1
-0, 0, 0, 1, 202752, 0xd5a1e49f -0, 1, 1, 1, 202752, 0x08352d61 -0, 2, 2, 1, 202752, 0x43f78f47 -0, 3, 3, 1, 202752, 0xfb5910f4 -0, 4, 4, 1, 202752, 0xd98e8739 +0, 0, 0, 1, 152064, 0x6380c4cd +0, 1, 1, 1, 152064, 0x88e40e74 +0, 2, 2, 1, 152064, 0x444c7fad +0, 3, 3, 1, 152064, 0x723d01f8 +0, 4, 4, 1, 152064, 0xa1f88007 Test h264-conformance-frext-hi422fr1_sony_a failed. Look at tests/data/fate/h264-conformance-frext-hi422fr1_sony_a.err for details. ffmpeg version N-91236-ge4006a474f Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7 (Ubuntu 7.2.0-8ubuntu3.2) configuration: --enable-libx264 --enable-gpl --enable-libx265 --disable-doc --disable-stripping --disable-optimizations --enable-libvpx --samples=fate-suite libavutil 56. 18.102 / 56. 18.102 libavcodec 58. 19.105 / 58. 19.105 libavformat 58. 17.100 / 58. 17.100 libavdevice 58. 4.100 / 58. 4.100 libavfilter 7. 25.100 / 7. 25.100 libswscale 5. 2.100 / 5. 2.100 libswresample 3. 2.100 / 3. 2.100 libpostproc 55. 2.100 / 55. 2.100 [h264 @ 0x5557540c3380] decoding for stream 0 failed Input #0, h264, from '/home/intel/sungn/0607/FFmpeg/fate-suite//h264-conformance/FRext/Hi422FR1_SONY_A.jsv': Duration: N/A, bitrate: N/A Stream #0:0: Video: h264 (High 4:2:2), yuv422p(progressive), 352x288, 25 fps, 25 tbr, 1200k tbn, 50 tbc Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> rawvideo (native)) Output #0, framecrc, to 'pipe:': Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, q=2-31, 30412 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc rawvideo [framecrc @ 0x5557540c5180] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly [framecrc @ 0x5557540c5180] Encoder did not produce proper pts, making some up. frame= 5 fps=0.0 q=-0.0 Lsize= 0kB time=00:00:00.20 bitrate= 15.2kbits/s speed=10.8x
video:742kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown tests/Makefile:225: recipe for target 'fate-h264-conformance-frext-hi422fr1_sony_a' failed make: *** [fate-h264-conformance-frext-hi422fr1_sony_a] Error 1