
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (54)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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 (8583)
-
avfilter/vf_yadif : Fix handing of tiny images
29 mai 2021, par Michael Niedermayer -
Set video's metadata by Python
17 février 2023, par Anton BohatovI need to upload the video to Google Photos. There is no way to set a date in request, only by metadata. I made a test by setting the date manually (windows, file options) and it works in Google Photos. So, I don't understand how to set it by Python. I found the needed value, but I can't set it.


import ffmpeg

file_path = r"test.MP4"
vid = ffmpeg.probe(file_path)

vid['streams'][0]['tags']['creation_time']



Result
'2020-11-01T20:07:09.000000Z'


I tried
vid['streams'][0]['tags']['creation_time'] = '2015-11-01T20:07:09.000000Z'


But nothing changes. Please help.


Note that this is about the video file's metadata, NOT WINDOWS DATA


-
Why does ffmpeg keep using more and more RAM and crash ?
29 décembre 2022, par József Márton KakasI am using the following command with ffmpeg to encode a video file using the libsvtav1 codec :
ffmpeg -i hevc.mkv -map 0:v:0 -c:v:0 libsvtav1 -preset 8 -crf 22 -format matroska av1.mkv
.

However, ffmpeg is using up all of my available RAM and crashing. I have also tried using the libx264 codec, but the same issue occurs, although it happens more slowly. I have already allocated 12 GB of RAM to ffmpeg, but it still seems to be insufficient. How can I prevent ffmpeg from using all of my available RAM and crashing when using either the libsvtav1 or libx264 codecs ?


I have tried it on another VM, but the same issue occurs. Here is the full output of the program.


ffmpeg -i akira.mkv -map 0:v:0 -c:v:0 libsvtav1 -preset 8 -crf 22 -c:a copy -c:s copy -format matroska av1.mkv
ffmpeg version n5.1.2-7-ga6e26053c2-20221106 Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
 configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --disable-chromaprint --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --disable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20221106
 libavutil 57. 28.100 / 57. 28.100
 libavcodec 59. 37.100 / 59. 37.100
 libavformat 59. 27.100 / 59. 27.100
 libavdevice 59. 7.100 / 59. 7.100
 libavfilter 8. 44.100 / 8. 44.100
 libswscale 6. 7.100 / 6. 7.100
 libswresample 4. 7.100 / 4. 7.100
 libpostproc 56. 6.100 / 56. 6.100
Input #0, matroska,webm, from 'akira.mkv':
 Metadata:
 title : Akira 4K
 encoder : libebml v1.3.10 + libmatroska v1.5.2
 creation_time : 2020-05-04T19:57:18.000000Z
 Duration: 02:04:46.50, start: 0.000000, bitrate: 10945 kb/s
 Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2074 [SAR 1:1 DAR 1920:1037], 23.98 fps, 23.98 tbr, 1k tbn (default)
 Metadata:
 BPS-eng : 9531297
 DURATION-eng : 02:04:46.479000000
 NUMBER_OF_FRAMES-eng: 179496
 NUMBER_OF_BYTES-eng: 8919482644
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:1(eng): Subtitle: subrip
 Metadata:
 BPS-eng : 46
 DURATION-eng : 01:59:00.755000000
 NUMBER_OF_FRAMES-eng: 1277
 NUMBER_OF_BYTES-eng: 41675
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:2(ita): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
 Metadata:
 title : Nuovo doppiaggio
 BPS-eng : 448000
 DURATION-eng : 02:04:28.480000000
 NUMBER_OF_FRAMES-eng: 233390
 NUMBER_OF_BYTES-eng: 418234880
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:3(ita): Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s
 Metadata:
 title : Doppiaggio Storico
 BPS-eng : 448000
 DURATION-eng : 02:04:28.480000000
 NUMBER_OF_FRAMES-eng: 233390
 NUMBER_OF_BYTES-eng: 418234880
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:4(ita): Subtitle: dvd_subtitle, 1920x1080
 Metadata:
 title : Italiano
 BPS-eng : 8426
 DURATION-eng : 02:00:14.955000000
 NUMBER_OF_FRAMES-eng: 1201
 NUMBER_OF_BYTES-eng: 7599491
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:5(ita): Subtitle: subrip (default)
 Metadata:
 title : Forced
 BPS-eng : 0
 DURATION-eng : 01:46:31.753000000
 NUMBER_OF_FRAMES-eng: 14
 NUMBER_OF_BYTES-eng: 462
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:6(jpn): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
 Metadata:
 BPS-eng : 256000
 DURATION-eng : 02:04:46.496000000
 NUMBER_OF_FRAMES-eng: 233953
 NUMBER_OF_BYTES-eng: 239567872
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:7(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 256 kb/s
 Metadata:
 BPS-eng : 256000
 DURATION-eng : 02:04:46.496000000
 NUMBER_OF_FRAMES-eng: 233953
 NUMBER_OF_BYTES-eng: 239567872
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:8: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 1067x600, 90k tbr, 90k tbn (attached pic)
 Metadata:
 filename : cover_land.jpg
 mimetype : image/jpeg
 Stream #0:9: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 120x176, 90k tbr, 90k tbn (attached pic)
 Metadata:
 filename : small_cover.jpg
 mimetype : image/jpeg
 Stream #0:10: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 213x120, 90k tbr, 90k tbn (attached pic)
 Metadata:
 filename : small_cover_land.jpg
 mimetype : image/jpeg
 Stream #0:11: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 600x882, 90k tbr, 90k tbn (attached pic)
 Metadata:
 filename : cover.jpg
 mimetype : image/jpeg
 Stream #0:12: Attachment: otf
 Metadata:
 filename : StoneSansStd-Semibold.otf
 mimetype : application/vnd.ms-opentype
 Stream #0:13: Attachment: otf
 Metadata:
 filename : StoneSansStd-SemiboldItalic.otf
 mimetype : application/vnd.ms-opentype
 Stream #0:14: Attachment: otf
 Metadata:
 filename : ATPacella-Black.otf
 mimetype : application/vnd.ms-opentype
 Stream #0:15: Attachment: ttf
 Metadata:
 filename : ITC Franklin Gothic LT Medium Condensed.ttf
 mimetype : application/x-truetype-font
File 'av1.mkv' already exists. Overwrite? [y/N] y
Stream mapping:
 Stream #0:0 -> #0:0 (hevc (native) -> av1 (libsvtav1))
Press [q] to stop, [?] for help
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v1.3.0
Svt[info]: SVT [build] : GCC 12.2.0 64 bit
Svt[info]: LIB Build date: Nov 6 2022 00:41:54
Svt[info]: -------------------------------------------
Svt[info]: Number of logical cores available: 16
Svt[info]: Number of PPCS 71
Svt[info]: [asm level on system : up to avx]
Svt[info]: [asm level selected : up to avx]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile tier (auto) level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 3840 / 2080 / 24000 / 1001
Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct : 8 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 161 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 22 
Svt[info]: -------------------------------------------
Output #0, matroska, to 'av1.mkv':
 Metadata:
 title : Akira 4K
 encoder : Lavf59.27.100
 Stream #0:0: Video: av1 (AV01 / 0x31305641), yuv420p10le(tv, bt2020nc/bt2020/smpte2084, progressive), 3840x2074 [SAR 1:1 DAR 1920:1037], q=2-31, 23.98 fps, 1k tbn (default)
 Metadata:
 BPS-eng : 9531297
 DURATION-eng : 02:04:46.479000000
 NUMBER_OF_FRAMES-eng: 179496
 NUMBER_OF_BYTES-eng: 8919482644
 _STATISTICS_WRITING_APP-eng: mkvmerge v43.0.0 ('The Quartermaster') 32-bit
 _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-04 19:57:18
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 encoder : Lavc59.37.100 libsvtav1
frame= 1 fps=0.0 q=0.0 size= 1kB time=00:00:00.00 bitrate=N/A sframe= 2 fps=1.3 q=0.0 size= 1kB time=00:00:00.00 bitrate=N/A sframe= 51 fps= 25 q=0.0 size= 1kB time=00:00:00.00 bitrate=N/A sframe= 73 fps= 16 q=16.0 size= 1kB time=00:00:00.00 bitrate=7480frame= 76 fps= 14 q=16.0 size= 1kB time=00:00:00.00 bitrate=7480frame= 81 fps= 14 q=16.0 size= 1kB time=00:00:00.00 bitrate=7480frame= 87 fps= 14 q=21.0 size= 1kB time=00:00:00.16 bitrate= 44frame= 95 fps= 14 q=21.0 size= 1kB time=00:00:00.50 bitrate= 14frame= 100 fps= 13 q=16.0 size= 1kB time=00:00:00.66 bitrate= 11frame= 110 fps= 13 q=23.0 size= 1kB time=00:00:00.96 bitrate= 7frame= 114 fps= 13 q=23.0 size= 1kB time=00:00:01.12 bitrate= 6frame= 122 fps= 13 q=23.0 size= 1kB time=00:00:01.46 bitrate= 5frame= 126 fps= 12 q=23.0 size= 1kB time=00:00:01.62 bitrate= 4frame= 133 fps= 12 q=22.0 size= 1kB time=00:00:01.92 bitrate= 3frame= 139 fps= 12 q=21.0 size= 1kB time=00:00:02.17 bitrate= 3frame= 141 fps= 11 q=22.0 size= 1kB time=00:00:02.25 bitrate= 3frame= 144 fps= 11 q=23.0 size= 1kB time=00:00:02.37 bitrate= 3frame= 151 fps= 11 q=13.0 size= 1kB time=00:00:02.67 bitrate= 2frame= 159 fps= 11 q=18.0 size= 1kB time=00:00:03.00 bitrate= 2frame= 164 fps= 11 q=22.0 size= 1kB time=00:00:03.21 bitrate= 2frame= 174 fps= 11 q=22.0 size= 1kB time=00:00:03.63 bitrate= 2frame= 179 fps= 11 q=20.0 size= 1kB time=00:00:03.83 bitrate= 1frame= 187 fps= 11 q=20.0 size= 1kB time=00:00:04.17 bitrate= 1frame= 189 fps= 10 q=21.0 size= 1kB time=00:00:04.25 bitrate= 1frame= 192 fps= 10 q=22.0 size= 1kB time=00:00:04.38 bitrate= 1frame= 195 fps=8.0 q=20.0 size= 1kB time=00:00:04.50 bitrate= 1frame= 201 fps=8.0 q=11.0 size= 1kB time=00:00:04.67 bitrate= 1Killeds/s speed=0.187x