Hi, IG-88,
my board is j4105.
DSM version 6.2.3 25426
extra.lzma v0.13.3
I tried to transcoding some videos with hardware acceleration and found that it didn't work
the result video size is very small, and no video frame in it, just only audio data. I try transcoding command line(same MOV format video), get the same result.
Partial transcoding log(return video:0kB audio:159kB):
[aac @ 0x564733e9ef00] Trying to remove 128 more samples than there are in the queue
frame= 209 fps=0.0 q=-0.0 Lsize= 162kB time=00:00:09.98 bitrate= 132.7kbits/s speed=24.2x
video:0kB audio:159kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.556809%
Input file #0 (input.MOV):
Input stream #0:0 (video): 209 packets read (13041871 bytes); 209 frames decoded;
Input stream #0:1 (audio): 431 packets read (137638 bytes); 430 frames decoded (440192 samples);
Total: 640 packets (13179509 bytes) demuxed
Output file #0 (out.mp4):
Output stream #0:0 (video): 209 frames encoded; 209 packets muxed (0 bytes);
Output stream #0:1 (audio): 430 frames encoded (440192 samples); 431 packets muxed (163090 bytes);
Total: 640 packets (163090 bytes) muxed
639 frames successfully decoded, 0 decoding errors
Transcoding Command Line:
ffmpeg -y -report -init_hw_device vaapi=foo:/dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device foo -i input.mov -filter_hw_device foo -vf 'format=nv12|vaapi,hwupload' -c:v h264_vaapi -b:v 10683833 output.mp4
the /dev/driv/ is normal,
and the driver is normal
Everything looks normal, but it just doesn't return normal results, I found an error in a section of log in DMESG, I don't know whether it is related to this, please help to confirm whether this section of log indicates that the graphics card has been driven normally
dmesg.txt transcoding_log.txt