
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (36)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 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 : (...)
Sur d’autres sites (5017)
-
ffmpeg - store desired output to python variable
15 janvier 2024, par Chris PIf i run :
ffmpeg -list_devices true -f dshow -i dummy
i get :

ffmpeg version 2023-01-30-git-2d202985b7-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
 built with gcc 12.2.0 (Rev10, 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-libaribb24 --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-libvpl --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. 44.100 / 57. 44.100
 libavcodec 59. 59.100 / 59. 59.100
 libavformat 59. 36.100 / 59. 36.100
 libavdevice 59. 8.101 / 59. 8.101
 libavfilter 8. 56.100 / 8. 56.100
 libswscale 6. 8.112 / 6. 8.112
 libswresample 4. 9.100 / 4. 9.100
 libpostproc 56. 7.100 / 56. 7.100
[dshow @ 00000236357d0480] "HP True Vision HD Camera" (video)
[dshow @ 00000236357d0480] Alternative name "@device_pnp_\\?\usb#vid_04f2&pid_b6ab&mi_00#6&763f234&2&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 00000236357d0480] "Microphone Array (Intel® Smart Sound Technology for Digital Microphones)" (audio)
[dshow @ 00000236357d0480] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{E8824DE9-F848-47F1-BB2A-EB24E11050FC}"
dummy: Immediate exit requested



From this output i want to store : "HP True Vision HD Camera" (first video output) in a python variable.


Is this possible ?


I am trying


import subprocess
ffmpeg_command = ["ffmpeg", "-list_devices", "true","-f", "dshow", "-i", "dummy"]
pipe = subprocess.run(ffmpeg_command,stdout=subprocess.PIPE,stderr=subprocess.PIPE,bufsize=10**8)
output = pipe.stdout
lines = output.splitlines()
for line in lines:
 if line.startswith("[dshow @"):
 if "(video)" in line:
 camera_info = line.split("\"")[1]
 print(camera_info)



-
M3u8 with either video or audio
21 février 2023, par undercashI m facing an issue with this link that I can't seem to resolve.


The m3u8 display either the video track or the audio track, but never both, though they exist.


ffmpeg -re -i https://origin2-6play.live.6cloud.fr/pool_u81ytesz/w9/sixplayhde/hls_short_enc_w9/NA/aHEUMcx/index.m3u8
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-17ubuntu1\~20.04)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfdk_aac --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-librtmp --enable-libass --enable-libfreetype --extra-libs=-ldl --enable-openssl
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
\[hls @ 0x562ecf699b40\] Skip ('#EXT-X-VERSION:7')
\[hls @ 0x562ecf699b40\] Skip ('## Just In Time Delivered by Quortex Solution')
\[hls @ 0x562ecf699b40\] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
\[hls @ 0x562ecf699b40\] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-02-21T10:14:12.480000Z')
\[hls @ 0x562ecf699b40\] Opening 'https://url/segment_6246422.ts' for reading
Input #0, hls, from 'https://url/index.m3u8':
Duration: N/A, start: 92548.466311, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Audio: aac (LC) (\[15\]\[0\]\[0\]\[0\] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 0

ffmpeg -i url.m3u8
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-17ubuntu1\~20.04)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfdk_aac --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-librtmp --enable-libass --enable-libfreetype --extra-libs=-ldl --enable-openssl
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
\[hls @ 0x55806439cc00\] Skip ('#EXT-X-VERSION:7')
\[hls @ 0x55806439cc00\] Skip ('## Just In Time Delivered by Quortex Solution')
\[hls @ 0x55806439cc00\] Skip ('#EXT-X-DISCONTINUITY-SEQUENCE:0')
\[hls @ 0x55806439cc00\] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-02-21T10:14:00.960000Z')
\[hls @ 0x55806439cc00\] Opening 'url/segment_6246419.ts' for reading
\[hls @ 0x55806439cc00\] Opening 'url.ts' for reading
Input #0, hls, from 'url/index.m3u8':
Duration: N/A, start: 92536.988978, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (High) (\[27\]\[0\]\[0\]\[0\] / 0x001B), yuv420p, 1280x720 \[SAR 1:1 DAR 16:9\], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 0\



I put the same command on 2 different shells and on one I get the audio track, or the video one on the other..


Question : Since I have seen a site properly using this link (I had audio and video on the player) how can I use ffmpeg (or any other program ) to grab both input and output them in a single file ?


I tried to use -analyzeduration 1000M -probesize 1000M in ffmpeg parameters but it doesn't help


-
FFmpeg does not encode chapter titles [closed]
15 octobre 2023, par ShironatsI am trying to add chapters to a .mp4 file.
When I tried extracting the metadata using the following command :


ffmpeg -i INPUT.mp4 -f ffmetadata FFMETADATAFILE.txt


I got an output file as follows :


;FFMETADATA1
major_brand=mp42
minor_version=0
compatible_brands=isommp42
encoder=Lavf60.15.100



So now I try to add some chapters as such


[CHAPTER]
TIMEBASE=1/1000
START=0
END=424510
title=mytitle1

[CHAPTER]
TIMEBASE=1/1000
START=424511
END=941600
title=mytitle2

[CHAPTER]
TIMEBASE=1/1000
START=941601
END=1227260
title=mytitle3



I use the
ffmpeg -i INPUT.mp4 -i FFMETADATAFILE.txt -map_metadata 1 -codec copy OUTPUT.mp4
command to encode the metadata to my video file, and for some reason I only ever get 'Chapter 0', 'Chapter 1', and 'Chapter 2'.

I tried using the
-map_chapters 1
argument as well but results have been unchanged.

I am using the
Latest Auto-Build (2023-10-14 13:02)
Windows build by BtbN. Thanks in advance for the help.