
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (89)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (8205)
-
avutil : remove deprecated FF_API_FRAME_PKT
19 février, par James Almeravutil : remove deprecated FF_API_FRAME_PKT
Deprecated since 2023-03-20.
Signed-off-by : James Almer <jamrial@gmail.com>
- [DH] libavcodec/av1dec.c
- [DH] libavcodec/cuviddec.c
- [DH] libavcodec/decode.c
- [DH] libavcodec/libuavs3d.c
- [DH] libavdevice/lavfi.c
- [DH] libavfilter/af_volume.c
- [DH] libavfilter/af_volume.h
- [DH] libavfilter/avfilter.c
- [DH] libavfilter/f_select.c
- [DH] libavfilter/f_sendcmd.c
- [DH] libavfilter/setpts.c
- [DH] libavfilter/vf_crop.c
- [DH] libavfilter/vf_drawtext.c
- [DH] libavfilter/vf_eq.c
- [DH] libavfilter/vf_eq.h
- [DH] libavfilter/vf_overlay.c
- [DH] libavfilter/vf_overlay.h
- [DH] libavfilter/vf_overlay_cuda.c
- [DH] libavfilter/vf_scale.c
- [DH] libavfilter/vf_scale_npp.c
- [DH] libavfilter/vf_swaprect.c
- [DH] libavutil/frame.c
- [DH] libavutil/frame.h
- [DH] libavutil/version.h
-
How can I convert a video raw frame to image using ffmpeg [closed]
8 mai 2024, par SeanI have a video stream (from a DJI Drone) coming to a websocket server.The websocket server saves the data using the technique described in this answer.


Technical Details



The frame is :


- 

- From a H265 video generated by the drone
- has size : height 1080 , width 1440
- FPS : 30
- Size : 45235










This is the raw video data as we receive from the getData() function of the video frame returned by the addStreamDataListener method


Goal



I want that the saved frame (I have noted the peculiar size) to be converted to ffpmeg.


Attempt(s) to solve



I have tried :


ffmpeg -f rawvideo -s 720x480 -i images/fileName1715180324575.dat output.jpg



as well as


ffmpeg -f rawvideo -pix_fmt rgb24 -s 1080x1440 -i images/fileName1715180324575.dat output.jpg



and various other combinations


Error



I get :


ffmpeg version n6.1.1 Copyright (c) 2000-2023 the FFmpeg developers


built with gcc 13.2.1 (GCC) 20230801
 configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-vapoursynth --enable-version3 --enable-vulkan
 libavutil 58. 29.100 / 58. 29.100
 libavcodec 60. 31.102 / 60. 31.102
 libavformat 60. 16.100 / 60. 16.100
 libavdevice 60. 3.100 / 60. 3.100
 libavfilter 9. 12.100 / 9. 12.100
 libswscale 7. 5.100 / 7. 5.100
 libswresample 4. 12.100 / 4. 12.100
 libpostproc 57. 3.100 / 57. 3.100
[rawvideo @ 0x5d0fc4e5f600] Packet corrupt (stream = 0, dts = 0).
[rawvideo @ 0x5d0fc4e5f600] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'images/fileName1715180324575.dat':
 Duration: N/A, start: 0.000000, bitrate: 933120 kb/s
 Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1080x1440, 933120 kb/s, 25 tbr, 25 tbn
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[in#0/rawvideo @ 0x5d0fc4e5f500] corrupt input packet in stream 0
[rawvideo @ 0x5d0fc4e697c0] Invalid buffer size, packet size 45235 < expected frame_size 4665600
[vist#0:0/rawvideo @ 0x5d0fc4e69640] Error submitting packet to decoder: Invalid argument
[swscaler @ 0x5d0fc4e86580] deprecated pixel format used, make sure you did set range correctly
[vost#0:0/mjpeg @ 0x5d0fc4e6c6c0] No filtered frames for output stream, trying to initialize anyway.
Output #0, image2, to 'output.jpg':
 Metadata:
 encoder : Lavf60.16.100
 Stream #0:0: Video: mjpeg, yuvj444p(pc, progressive), 1080x1440, q=2-31, 200 kb/s, 25 fps, 25 tbn
 Metadata:
 encoder : Lavc60.31.102 mjpeg
 Side data:
 cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[vist#0:0/rawvideo @ 0x5d0fc4e69640] Decode error rate 1 exceeds maximum 0.666667
[out#0/image2 @ 0x5d0fc4e69380] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[out#0/image2 @ 0x5d0fc4e69380] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A speed=N/A 
Conversion failed!



or


ffmpeg version n6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
 built with gcc 13.2.1 (GCC) 20230801
 configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-vapoursynth --enable-version3 --enable-vulkan
 libavutil 58. 29.100 / 58. 29.100
 libavcodec 60. 31.102 / 60. 31.102
 libavformat 60. 16.100 / 60. 16.100
 libavdevice 60. 3.100 / 60. 3.100
 libavfilter 9. 12.100 / 9. 12.100
 libswscale 7. 5.100 / 7. 5.100
 libswresample 4. 12.100 / 4. 12.100
 libpostproc 57. 3.100 / 57. 3.100
[rawvideo @ 0x5a4c0b8685c0] Packet corrupt (stream = 0, dts = 0).
[rawvideo @ 0x5a4c0b8685c0] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'images/fileName1715180324575.dat':
 Duration: N/A, start: 0.000000, bitrate: 103680 kb/s
 Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480, 103680 kb/s, 25 tbr, 25 tbn
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[in#0/rawvideo @ 0x5a4c0b8684c0] corrupt input packet in stream 0
[rawvideo @ 0x5a4c0b872700] Invalid buffer size, packet size 45235 < expected frame_size 518400
[vist#0:0/rawvideo @ 0x5a4c0b872580] Error submitting packet to decoder: Invalid argument
[swscaler @ 0x5a4c0b88f480] deprecated pixel format used, make sure you did set range correctly
[vost#0:0/mjpeg @ 0x5a4c0b875600] No filtered frames for output stream, trying to initialize anyway.
Output #0, image2, to 'output.jpg':
 Metadata:
 encoder : Lavf60.16.100
 Stream #0:0: Video: mjpeg, yuvj420p(pc, progressive), 720x480, q=2-31, 200 kb/s, 25 fps, 25 tbn
 Metadata:
 encoder : Lavc60.31.102 mjpeg
 Side data:
 cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[vist#0:0/rawvideo @ 0x5a4c0b872580] Decode error rate 1 exceeds maximum 0.666667
[out#0/image2 @ 0x5a4c0b8722c0] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[out#0/image2 @ 0x5a4c0b8722c0] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A speed=N/A 
Conversion failed!



or similar errors.


Question



How can I extract the image from a video frame using ffmpeg ? Thank you


A sample of the image file may be found here : github


-
checkasm : add vvc_sao
14 décembre 2024, par Shaun Loocheckasm : add vvc_sao
This is a part of Google Summer of Code 2023
AVX2 :
- vvc_sao.sao_band [OK]
- vvc_sao.sao_edge [OK]
checkasm : all 54 tests passed
vvc_sao_band_8_8_c : 157.4 ( 1.00x)
vvc_sao_band_8_8_avx2 : 30.7 ( 5.12x)
vvc_sao_band_8_10_c : 119.4 ( 1.00x)
vvc_sao_band_8_10_avx2 : 29.2 ( 4.09x)
vvc_sao_band_8_12_c : 144.6 ( 1.00x)
vvc_sao_band_8_12_avx2 : 30.0 ( 4.82x)
vvc_sao_band_16_8_c : 446.5 ( 1.00x)
vvc_sao_band_16_8_avx2 : 103.3 ( 4.32x)
vvc_sao_band_16_10_c : 399.2 ( 1.00x)
vvc_sao_band_16_10_avx2 : 64.3 ( 6.21x)
vvc_sao_band_16_12_c : 472.9 ( 1.00x)
vvc_sao_band_16_12_avx2 : 56.5 ( 8.37x)
vvc_sao_band_32_8_c : 2430.9 ( 1.00x)
vvc_sao_band_32_8_avx2 : 203.3 (11.96x)
vvc_sao_band_32_10_c : 1405.7 ( 1.00x)
vvc_sao_band_32_10_avx2 : 208.5 ( 6.74x)
vvc_sao_band_32_12_c : 2054.3 ( 1.00x)
vvc_sao_band_32_12_avx2 : 213.0 ( 9.64x)
vvc_sao_band_48_8_c : 3835.4 ( 1.00x)
vvc_sao_band_48_8_avx2 : 604.2 ( 6.35x)
vvc_sao_band_48_10_c : 3624.6 ( 1.00x)
vvc_sao_band_48_10_avx2 : 468.8 ( 7.73x)
vvc_sao_band_48_12_c : 3752.4 ( 1.00x)
vvc_sao_band_48_12_avx2 : 477.5 ( 7.86x)
vvc_sao_band_64_8_c : 6061.1 ( 1.00x)
vvc_sao_band_64_8_avx2 : 803.9 ( 7.54x)
vvc_sao_band_64_10_c : 6142.5 ( 1.00x)
vvc_sao_band_64_10_avx2 : 827.3 ( 7.43x)
vvc_sao_band_64_12_c : 6106.6 ( 1.00x)
vvc_sao_band_64_12_avx2 : 839.9 ( 7.27x)
vvc_sao_band_80_8_c : 9478.0 ( 1.00x)
vvc_sao_band_80_8_avx2 : 1516.7 ( 6.25x)
vvc_sao_band_80_10_c : 10300.5 ( 1.00x)
vvc_sao_band_80_10_avx2 : 1298.7 ( 7.93x)
vvc_sao_band_80_12_c : 8941.1 ( 1.00x)
vvc_sao_band_80_12_avx2 : 1315.3 ( 6.80x)
vvc_sao_band_96_8_c : 13351.5 ( 1.00x)
vvc_sao_band_96_8_avx2 : 1815.4 ( 7.35x)
vvc_sao_band_96_10_c : 13197.5 ( 1.00x)
vvc_sao_band_96_10_avx2 : 1872.4 ( 7.05x)
vvc_sao_band_96_12_c : 11969.0 ( 1.00x)
vvc_sao_band_96_12_avx2 : 1895.8 ( 6.31x)
vvc_sao_band_112_8_c : 19936.9 ( 1.00x)
vvc_sao_band_112_8_avx2 : 2802.3 ( 7.11x)
vvc_sao_band_112_10_c : 19534.9 ( 1.00x)
vvc_sao_band_112_10_avx2 : 2635.0 ( 7.41x)
vvc_sao_band_112_12_c : 16520.6 ( 1.00x)
vvc_sao_band_112_12_avx2 : 2591.8 ( 6.37x)
vvc_sao_band_128_8_c : 25967.5 ( 1.00x)
vvc_sao_band_128_8_avx2 : 3155.3 ( 8.23x)
vvc_sao_band_128_10_c : 24002.6 ( 1.00x)
vvc_sao_band_128_10_avx2 : 3374.6 ( 7.11x)
vvc_sao_band_128_12_c : 20829.4 ( 1.00x)
vvc_sao_band_128_12_avx2 : 3377.0 ( 6.17x)
vvc_sao_edge_8_8_c : 174.6 ( 1.00x)
vvc_sao_edge_8_8_avx2 : 37.0 ( 4.72x)
vvc_sao_edge_8_10_c : 174.4 ( 1.00x)
vvc_sao_edge_8_10_avx2 : 58.5 ( 2.98x)
vvc_sao_edge_8_12_c : 171.1 ( 1.00x)
vvc_sao_edge_8_12_avx2 : 58.5 ( 2.93x)
vvc_sao_edge_16_8_c : 677.7 ( 1.00x)
vvc_sao_edge_16_8_avx2 : 72.2 ( 9.39x)
vvc_sao_edge_16_10_c : 724.8 ( 1.00x)
vvc_sao_edge_16_10_avx2 : 106.4 ( 6.81x)
vvc_sao_edge_16_12_c : 647.0 ( 1.00x)
vvc_sao_edge_16_12_avx2 : 106.6 ( 6.07x)
vvc_sao_edge_32_8_c : 3001.8 ( 1.00x)
vvc_sao_edge_32_8_avx2 : 157.6 (19.04x)
vvc_sao_edge_32_10_c : 3071.1 ( 1.00x)
vvc_sao_edge_32_10_avx2 : 404.2 ( 7.60x)
vvc_sao_edge_32_12_c : 2698.6 ( 1.00x)
vvc_sao_edge_32_12_avx2 : 398.8 ( 6.77x)
vvc_sao_edge_48_8_c : 6557.7 ( 1.00x)
vvc_sao_edge_48_8_avx2 : 380.1 (17.25x)
vvc_sao_edge_48_10_c : 6319.9 ( 1.00x)
vvc_sao_edge_48_10_avx2 : 896.3 ( 7.05x)
vvc_sao_edge_48_12_c : 6306.4 ( 1.00x)
vvc_sao_edge_48_12_avx2 : 885.5 ( 7.12x)
vvc_sao_edge_64_8_c : 11510.7 ( 1.00x)
vvc_sao_edge_64_8_avx2 : 504.1 (22.84x)
vvc_sao_edge_64_10_c : 10917.4 ( 1.00x)
vvc_sao_edge_64_10_avx2 : 1608.3 ( 6.79x)
vvc_sao_edge_64_12_c : 11499.8 ( 1.00x)
vvc_sao_edge_64_12_avx2 : 1586.4 ( 7.25x)
vvc_sao_edge_80_8_c : 18193.2 ( 1.00x)
vvc_sao_edge_80_8_avx2 : 930.2 (19.56x)
vvc_sao_edge_80_10_c : 17984.3 ( 1.00x)
vvc_sao_edge_80_10_avx2 : 2420.9 ( 7.43x)
vvc_sao_edge_80_12_c : 18289.4 ( 1.00x)
vvc_sao_edge_80_12_avx2 : 2412.1 ( 7.58x)
vvc_sao_edge_96_8_c : 26361.8 ( 1.00x)
vvc_sao_edge_96_8_avx2 : 1118.4 (23.57x)
vvc_sao_edge_96_10_c : 26162.2 ( 1.00x)
vvc_sao_edge_96_10_avx2 : 3666.9 ( 7.13x)
vvc_sao_edge_96_12_c : 25926.6 ( 1.00x)
vvc_sao_edge_96_12_avx2 : 3433.9 ( 7.55x)
vvc_sao_edge_112_8_c : 36562.9 ( 1.00x)
vvc_sao_edge_112_8_avx2 : 1741.0 (21.00x)
vvc_sao_edge_112_10_c : 38126.4 ( 1.00x)
vvc_sao_edge_112_10_avx2 : 5153.3 ( 7.40x)
vvc_sao_edge_112_12_c : 36345.7 ( 1.00x)
vvc_sao_edge_112_12_avx2 : 4684.9 ( 7.76x)
vvc_sao_edge_128_8_c : 46379.8 ( 1.00x)
vvc_sao_edge_128_8_avx2 : 2012.4 (23.05x)
vvc_sao_edge_128_10_c : 47029.5 ( 1.00x)
vvc_sao_edge_128_10_avx2 : 6162.2 ( 7.63x)
vvc_sao_edge_128_12_c : 49647.3 ( 1.00x)
vvc_sao_edge_128_12_avx2 : 6127.1 ( 8.10x)Co-authored-by : Nuo Mi <nuomi2021@gmail.com>