
Recherche avancée
Autres articles (107)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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 (...)
Sur d’autres sites (12394)
-
ffmpeg - Crazy artifacts after concatenation
26 août 2022, par JohnWick

Running the following command :


ffmpeg -i video.mp4 -f segment -segment_times 60,120 -reset_timestamps 1 -c copy out%03d.mp4



Generates the files out000.mp4, out001.mp4, out002.mp4 seen in the image.


Here is the ffprobe for the source, video.mp4


ffprobe version 2022-08-22-git-f23e3ce858-full_build-www.gyan.dev Copyright (c) 2007-2022 the FFmpeg developers
 built with gcc 12.1.0 (Rev2, 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-bzlib --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-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --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-libshaderc --enable-vulkan --enable-libplacebo --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 57. 33.101 / 57. 33.101
 libavcodec 59. 42.102 / 59. 42.102
 libavformat 59. 30.100 / 59. 30.100
 libavdevice 59. 8.101 / 59. 8.101
 libavfilter 8. 46.103 / 8. 46.103
 libswscale 6. 8.103 / 6. 8.103
 libswresample 4. 8.100 / 4. 8.100
 libpostproc 56. 7.100 / 56. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2mp41
 encoder : Lavf59.30.100
 Duration: 00:26:04.73, start: 0.000000, bitrate: 2234 kb/s
 Stream #0:0[0x1](und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv, progressive), 1080x1920 [SAR 1:1 DAR 9:16], 2098 kb/s, 29.99 fps, 30 tbr, 15360 tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]



I then run the following command :


ffmpeg -i out001.mp4 -vf hflip -c:v hevc_nvenc flipped.mp4



And enter this into concat.txt :


file 'out000.mp4'
file 'flipped.mp4'
file 'out002.mp4'



And finally run the command


ffmpeg -f concat -safe 0 -i concat.txt -c copy joined.mp4



The video plays, but between the start and end timestamps of flipped.mp4 within joined.mp4, it is unwatchable with artifacts such as this :




If I open flipped.mp4 in VLC, the video plays just fine. The artifacts only appear in the concatenated video.


-
avformat/mov : Check count sums in build_open_gop_key_points()
28 juillet 2022, par Michael Niedermayeravformat/mov : Check count sums in build_open_gop_key_points()
Fixes : ffmpeg.md
Fixes : Out of array access
Fixes : CVE-2022-2566Found-by : Andy Nguyen <theflow@google.com>
Found-by : 3pvd <3pvd@google.com>
Reviewed-by : Andy Nguyen <theflow@google.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
ffprobe : how do I get the time zone of creation date ?
29 août 2022, par Paolo BenvenutoI have a video made with a canon camera (actually a PowerShow G5Xm2), I want to extract the creation date metadata, and I found that I can see it with :


$ ffprobe -i myfile.MP4 -show_entries stream_tags
[.....]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'myfile.MP4':
 Metadata:
 major_brand : mp42
 minor_version : 1
 compatible_brands: mp42avc1CAEP
 make : 
 make-eng : 
 model : 
 model-eng : 
 creation_time : 2022-08-28T15:25:09.000000Z
 Duration: 00:00:53.96, start: 0.000000, bitrate: 29939 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080, 29639 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc (default)
 Metadata:
 creation_time : 2022-08-28T15:25:09.000000Z
 vendor_id : [0][0][0][0]
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
 Metadata:
 creation_time : 2022-08-28T15:25:09.000000Z
 vendor_id : [0][0][0][0]
[STREAM]
TAG:creation_time=2022-08-28T15:25:09.000000Z
TAG:language=eng
TAG:vendor_id=[0][0][0][0]
[/STREAM]
[STREAM]
TAG:creation_time=2022-08-28T15:25:09.000000Z
TAG:language=eng
TAG:vendor_id=[0][0][0][0]
[/STREAM]



The creation date in in UTC, and it has the format "%Y-%m-%dT%H :%M :%S.%fZ". The camera has the info of the time zone, and actually it converted the local time to UTC time, so I suppose that the MP4 should hide somewhere the time zone info.


How do I see it ?