
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (83)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (15127)
-
Obtain the filtered keyframe screenshot from the video
18 janvier 2023, par shsfI want to get keyframe images from the video ;In order to get the main plot of the video ;


I would like to restrict keyframe generation ; For example, only one keyframe is taken every 7s or every 3s ;


(In addition to generating all the key frame images. And then filter it based on pts time. Is there any other way ?)


The following command can restrict pts to multiples of n(such as 7).


ffmpeg -y -i 15103.mp4 -vf "select='eq(pict_type,PICT_TYPE_I)*not(mod(n,7))'" -vsync vfr -s 480x270 -frame_pts true p2/out-%d.png


But it's still not quite what I need. I need to get one keyframe if there are key frames in these seconds. Or get zero keyframe if there is no keyframe in these seconds.


How do I modify the command ?


ffmpeg -y -i 15103.mp4 -vf "select='eq(pict_type,PICT_TYPE_I)'" -vsync vfr -s 480x270 -frame_pts true p2/out-%d.png


-
How to get ffprobe metadata as variable to parse in python
29 avril 2021, par connor449When I run
ffprobe <video></video>
, I get the standard metadata as below :

ffprobe version 4.3.1 Copyright (c) 2007-2020 the FFmpeg developers
 built with Apple clang version 11.0.3 (clang-1103.0.32.62)
 configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-libdav1d --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
 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
 libavresample 4. 0. 0 / 4. 0. 0
 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 '../directConversion/200mbs105_55.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.45.100
 Duration: 00:01:12.43, start: 0.000000, bitrate: 213963 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1920 [SAR 1:1 DAR 9:16], 213828 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
 Metadata:
 handler_name : Core Media Video
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : Core Media Audio




I want to get this information from python so I can parse this output and use some of it in my code. However, I can't get this to work.


I have tried the following :


data = subprocess.call(f'ffprobe {video}', shell=True)
data = subprocess.check_output(f'ffprobe {vid}', shell=True)
data = subprocess.Popen(f'ffprobe {vid}', shell=True)
data = subprocess. Popen(f'ffprobe {vid}', stdout=subprocess.PIPE ).communicate()[0]
data = run(f'ffprobe {vid}', capture_output=True).stdout



If I include
shell=True
, then the proper information prints in the terminal but I get an empty string fordata
. For commands withoutshell=True
I getfile not found error
and it breaks. What should I do ? I got all of these solutions from SO and they seem to work for others.

-
Any video format to mp4 using ffmpeg in C#
8 juin 2015, par SangeethaI am converting any format videos to mp4 format in following way using FFMPEG in c# application,
string targetFilePath = Path.Combine(_file + @"\ffmpeg\", "ffmpeg.exe");
string ffmpegargs = "";
if (exten == "flv")
{
ffmpegargs = " -i " + inputFileName + " -acodec libmp3lame -ar " + samplingrate + " -ab " + bitrate + " -f flv -s " + size + " " + outputFileName;
}
else
{
ffmpegargs = " -i " + inputFileName + " " + outputFileName;
}
//string ffmpegargs = " -y -i " + inputFileName + " -b 2000k "+ outputFileName;
System.Diagnostics.Process pProcess = new Process();
pProcess.StartInfo.FileName = targetFilePath;
pProcess.StartInfo.UseShellExecute = false;
pProcess.StartInfo.RedirectStandardOutput = true;
pProcess.StartInfo.CreateNoWindow = true;
pProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
pProcess.StartInfo.Arguments = ffmpegargs;
pProcess.EnableRaisingEvents = true;
pProcess.Start();
pProcess.WaitForExit();
pProcess.Close();
pProcess.Dispose();
pProcess = null;It works fine when convert from flv file. But when convert an avi or f4v file, able to save mp4 format in temp file. But when try to identify the file in following way it throws avformatcontext return memory corruption error.
IntPtr pFormatContext;
FFmpeg.av_register_all();
int ret;
ret = FFmpeg.av_open_input_file(out pFormatContext, this.Filename, IntPtr.Zero, 0, IntPtr.Zero);
ret = FFmpeg.av_find_stream_info(pFormatContext);Throws memory corruption in the following line,
ret = FFmpeg.av_find_stream_info(pFormatContext) ;
What could be the reason, Or what is the mistake i am making here.
Regards