
Recherche avancée
Autres articles (25)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (2772)
-
ffmpeg overlay fadein/fadeout is not working [duplicate]
22 avril 2021, par user15602767This is my normal overlay filter without any fadein/fadeout


ffmpeg -i .\urban_pop_b4.mp4 -i .\logos\cfe-coffee.png -filter_complex "overlay=700:300:enable=between(t\,3\,6)" output.mp4



When I include the fade-in/fade-out option as in docs I dont get any overlay at all(no error thrown)


ffmpeg -i .\urban_pop_b4.mp4 -i .\logos\cfe-coffee.png -filter_complex "[1:v]fade=t=in:st=5:d=1,fade=t=out:st=10:d=1[over];[0:v][over]overlay=700:300:enable=between(t\,3\,6)" output.mp4



ffmpeg version 2021-04-07-git-c06465a70b-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10.2.0 (Rev6, Built by MSYS2 project) configuration: --enable-gpl
--enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint libavutil 56. 72.100 / 56. 72.100 libavcodec 58.135.100 / 58.135.100 libavformat 58. 77.100 /
58. 77.100 libavdevice 58. 14.100 / 58. 14.100 libavfilter 7.111.100 / 7.111.100 libswscale 5. 10.100 / 5. 10.100 libswresample 3. 10.100 / 3. 10.100 libpostproc 55. 10.100 /
55. 10.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '.\urban_pop.mp4': Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.77.100 Duration: 00:00:21.05, start: 0.000000, bitrate: 413 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 832x432, 411 kb/s, 20 fps, 20 tbr, 10240 tbn, 40 tbc (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0] Input #1, png_pipe, from '.\logos\cfe-coffee.png': Duration: N/A, bitrate: N/A Stream #1:0: Video: png, rgba(pc), 256x192, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream mapping: Stream #0:0 (h264) -> overlay:main Stream #1:0 (png) -> fade overlay -> Stream #0:0 (libx264) Press [q] to stop, [?] for help [libx264 @ 00000271483e1240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 00000271483e1240] profile High, level 3.0, 4:2:0, 8-bit [libx264 @ 00000271483e1240] 264
- core 161 r3048 b86ae3c - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=20 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to 'output.mp4': Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.77.100 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(progressive), 832x432, q=2-31, 20 fps, 10240 tbn (default)
 Metadata:
 encoder : Lavc58.135.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 421 fps=0.0 q=-1.0 Lsize= 1052kB time=00:00:20.90 bitrate=
412.3kbits/s speed=21.9x video:1046kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.552964% [libx264 @ 00000271483e1240] frame I:2 Avg QP:13.84 size: 19321 [libx264 @ 00000271483e1240] frame P:106 Avg QP:22.42 size: 3482 [libx264 @ 00000271483e1240] frame B:313 Avg QP:28.03 size: 2117 [libx264 @ 00000271483e1240] consecutive B-frames: 0.7% 0.5% 0.0% 98.8% [libx264 @ 00000271483e1240] mb I I16..4: 54.9% 18.3% 26.8% [libx264 @ 00000271483e1240] mb P I16..4: 0.7% 0.4% 1.3% P16..4: 5.6% 
2.8% 1.6% 0.0% 0.0% skip:87.6% [libx264 @ 00000271483e1240] mb B I16..4: 0.1% 0.1% 0.4% B16..8: 5.6% 2.4% 1.2% direct: 0.5% skip:89.8% L0:49.1% L1:44.2% BI: 6.7% [libx264 @ 00000271483e1240] 8x8 transform intra:15.4% inter:6.9% [libx264 @ 00000271483e1240] coded y,uvDC,uvAC intra: 36.1% 8.1% 5.7% inter: 2.6% 0.2% 0.1% [libx264 @ 00000271483e1240] i16 v,h,dc,p: 59% 35% 5% 0% [libx264 @ 00000271483e1240] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 9% 61% 0% 0% 0% 0% 0% 1% [libx264 @ 00000271483e1240] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 19% 30% 3% 3% 3% 3% 6% 4% [libx264 @ 00000271483e1240] i8c dc,h,v,p: 84% 13% 4% 0% [libx264 @ 00000271483e1240] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 00000271483e1240] ref P L0: 59.3% 4.0% 20.8% 15.9% [libx264 @ 00000271483e1240] ref B L0: 70.8% 21.6% 7.6% [libx264 @ 00000271483e1240] ref B L1: 87.6% 12.4% [libx264 @ 00000271483e1240] kb/s:406.82



Already tried out ffmpeg overlay image with fade in and fade out


-
Ffmpeg rounds seconds instead of using the milliseconds part
10 mai 2021, par NourElDineAI tried to cut a video using the following command :


ffmpeg -i input.mp4 -ss 00:00:00 -to 00:00:06.600 output.mp4



When I run the command ffmpeg rounds up and the output video is 7 seconds instead of 6.6 seconds.
I would like to know if there is a way to cut the video precisely where I tell it to.


Here is the log file content :


ffmpeg version 4.3.1-2021-01-01-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
 built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out2.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.45.100
 Duration: 00:00:10.52, start: 0.000000, bitrate: 1070 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x720 [SAR 1:1 DAR 4:3], 935 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
 Metadata:
 handler_name : Telestream Inc. Dib Library - ReleaseVantage 2014.59.138974
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 126 kb/s (default)
 Metadata:
 handler_name : Telestream Inc. Dib Library - ReleaseVantage 2014.59.138974
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
 Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0000015de0911400] using SAR=1/1
[libx264 @ 0000015de0911400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000015de0911400] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0000015de0911400] 264 - core 161 r3027 4121277 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out3.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.45.100
 Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 960x720 [SAR 1:1 DAR 4:3], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
 Metadata:
 handler_name : Telestream Inc. Dib Library - ReleaseVantage 2014.59.138974
 encoder : Lavc58.91.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : Telestream Inc. Dib Library - ReleaseVantage 2014.59.138974
 encoder : Lavc58.91.100 aac
frame= 100 fps=0.0 q=29.0 size= 0kB time=00:00:03.56 bitrate= 0.1kbits/s speed=6.78x 
frame= 172 fps=167 q=29.0 size= 256kB time=00:00:05.95 bitrate= 352.4kbits/s speed=5.77x 
frame= 198 fps=126 q=-1.0 Lsize= 818kB time=00:00:06.61 bitrate=1013.6kbits/s speed=4.22x 
video:709kB audio:100kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.054347%
[libx264 @ 0000015de0911400] frame I:1 Avg QP: 3.25 size: 178
[libx264 @ 0000015de0911400] frame P:84 Avg QP:18.55 size: 6826
[libx264 @ 0000015de0911400] frame B:113 Avg QP:20.94 size: 1347
[libx264 @ 0000015de0911400] consecutive B-frames: 1.5% 66.7% 1.5% 30.3%
[libx264 @ 0000015de0911400] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0000015de0911400] mb P I16..4: 5.8% 6.9% 0.6% P16..4: 40.1% 4.8% 3.4% 0.0% 0.0% skip:38.4%
[libx264 @ 0000015de0911400] mb B I16..4: 0.1% 0.3% 0.0% B16..8: 12.1% 0.8% 0.1% direct: 6.5% skip:80.1% L0:33.9% L1:60.4% BI: 5.7%
[libx264 @ 0000015de0911400] 8x8 transform intra:48.3% inter:70.6%
[libx264 @ 0000015de0911400] coded y,uvDC,uvAC intra: 13.6% 73.4% 33.1% inter: 4.1% 20.1% 0.5%
[libx264 @ 0000015de0911400] i16 v,h,dc,p: 92% 4% 3% 2%
[libx264 @ 0000015de0911400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 7% 65% 2% 3% 3% 3% 3% 2%
[libx264 @ 0000015de0911400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 16% 22% 5% 7% 7% 7% 6% 3%
[libx264 @ 0000015de0911400] i8c dc,h,v,p: 54% 20% 23% 4%
[libx264 @ 0000015de0911400] Weighted P-Frames: Y:6.0% UV:6.0%
[libx264 @ 0000015de0911400] ref P L0: 69.2% 5.3% 17.7% 7.7% 0.1%
[libx264 @ 0000015de0911400] ref B L0: 92.8% 6.2% 1.0%
[libx264 @ 0000015de0911400] ref B L1: 99.5% 0.5%
[libx264 @ 0000015de0911400] kb/s:878.78
[aac @ 0000015de0914080] Qavg: 6573.620



The output file is 7 seconds long which means ffmpeg rounded up my 6.60 to 7 and I need it to cut exactly at 00:00:06.60


-
Cannot play mp4 video with ffplay, but mpv can
4 septembre 2021, par guapiI want to play a mp4 video on Debian 9.


First, I try to use ffplay to play the video. I use the command
ffplay test.mp4
, but it cannot play, and display many same errorsReceive_frame and send_packet both returned EAGAIN, which is an API violation.
. There are detailed logs.

$ffplay test.mp4
ffplay version n3.4.1-1-g84bbe2b650-1 Copyright (c) 2003-2017 the FFmpeg developers
 built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
 configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-version3 --enable-rkmpp --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --cross-prefix=aarch64-linux-gnu- --arch=arm64 --target-os=linux --enable-shared
 libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':q= 0B f=0/0 
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 artist : 陈奕迅
 comment : 163 key(Don't modify):clknHbeu87C/TSIpwWw5+/XVNX46iNc6ZUUI/NNBEnGJkB4J9X28bm/OzW54+zpI0NB1+t6V7QGaqmB68bMFun4XNP4wNmDOIp4WWeRm39qy/b0byW/uCuwv/MCWns8cctlzaCGCgZ1BwPvgwiafBMYcHpKHd1o0LSoaK+04tV2kClpKQTalNso32/6iLaRha+HEQqp6uyHtqsB8zoqnbIwint4Dni3AwFID6Y4aN
 title : 梦想天空分外蓝
 encoder : Lavf57.71.100
 Duration: 00:03:20.45, start: 0.000000, bitrate: 834 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 700 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
 Metadata:
 handler_name : SoundHandler
mpi: mpp version: 073ceeb author: Jacob Chen DEBIAN: update rules for release_20171218
mpp_log: can not found match soc name: rockchip,rp px30 linux rockchip,px30 
hal_h264d_api: hal_h264d_init mpp_buffer_group_get_internal used ion In
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
[h264_rkmpp @ 0x7f7003a000] Decoder noticed an info change (854x480), format=0
[h264_rkmpp @ 0x7f7003a000] Receive_frame and send_packet both returned EAGAIN, which is an API violation.
[h264_rkmpp @ 0x7f7003a000] Receive_frame and send_packet both returned EAGAIN, which is an API violation.
[h264_rkmpp @ 0x7f7003a000] Receive_frame and send_packet both returned EAGAIN, which is an API violation.
[h264_rkmpp @ 0x7f7003a000] Receive_frame and send_packet both returned EAGAIN, which is an API violation.
[h264_rkmpp @ 0x7f7003a000] Receive_frame and send_packet both returned EAGAIN, which is an API violation.
[h264_rkmpp @ 0x7f7003a000] Receive_frame and send_packet both returned EAGAIN, which is an API violation.
[h264_rkmpp @ 0x7f7003a000] Receive_frame and send_packet both returned EAGAIN, which is an API violation.




Then, I try to use mpv to play the video. I use the command
mpv test.mp4
, and it successfully play the video. There are detailed logs.

$mpv test.mp4
Playing: test.mp4
 (+) Video --vid=1 (*) (h264 854x480 25.000fps)
 (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
File tags:
 Artist: 陈奕迅
 Comment: 163 key(Don't modify):clknHbeu87C/TSIpwWw5+/XVNX46iNc6ZUUI/NNBEnGJkB4J9X28bm/OzW54+zpI0NB1+t6V7QGaqmB68bMFun4XNP4wNmDOIp4WWeRm39qy/b0byW/uCuwv/MCWns8cctlzaCGCgZ1BwPvgwiafBMYcHpKHd1o0LSoaK+04tV2kClpKQTalNso32/6iLaRha+HEQqp6uyHtqsB8zoqnbIwint4Dni3AwFID6Y4aNZYwtXYGiF6L7DDWSezw0ICX
 Title: 梦想天空分外蓝
ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x860 r2p0 status range [0..15], but none of the GPUs matched:
/dev/mali0 detected as 0x7093 r0p0 status 0
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
AO: [alsa] 44100Hz stereo 2ch float
VO: [x11] 854x480 yuv420p
[ffmpeg] swscaler: No accelerated colorspace conversion found from yuv420p to bgra.
[ffmpeg] swscaler: No accelerated colorspace conversion found from yuv420p to bgra.
[ffmpeg] swscaler: No accelerated colorspace conversion found from yuv420p to bgra.
AV: 00:00:03 / 00:03:20 (1%) A-V: 0.000




I don’t know much about video encoding and decoding. Both mpv and ffplay use ffmpeg for video decoding, but why are the results different ?
Thanks in advance.


There is the information of my system.


$uname -a
Linux linaro-alip 4.4.189 #24 SMP Tue Jul 21 17:01:59 CST 2020 aarch64 GNU/Linux



$cat /proc/version
Linux version 4.4.189 (rpdzkj@rpdzkj) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #24 SMP Tue Jul 21 17:01:59 CST 2020



$lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.13 (stretch)
Release: 9.13
Codename: stretch