
Recherche avancée
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
L’espace de configuration de MediaSPIP
29 novembre 2010, parL’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
Il permet de configurer finement votre site.
La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8386)
-
FFmpeg "Could not open file" error message when processing with PHP
22 juin 2022, par FlyingCatI am using
ffmpeg
to get the image from several video files. I got myffmpeg
codes ready but I got the following error when Iexec
my codes.


ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:02:36 with gcc 4.6.3

*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
//files info...
//files info...
Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
//file info...
[buffer @ 0x1513c40] Buffering several frames is not supported. Please consume all available frames before adding a new one.
 Last message repeated 75 times
[image2 @ 0x1513460] Could not open file : /test/project
av_interleaved_write_frame(): Input/output error




I only show the error messages that have color highlighted. 
My code :



$ffmpeg ="/usr/bin/ffmpeg";

 $image_source_path = '/test/project/test.mp4';
 $ALL_PLACE_WIDTH = 300;
 $ALL_PLACE_HEIGHT = 300;

 $image_cmd = " -r 1 -ss 00:00:10 -t 00:00:01 -s ".$ALL_PLACE_WIDTH."x".$ALL_PLACE_HEIGHT." -f image2 " ;

 $dest_image_path = '/test/project';

 $str_command= $ffmpeg ." -i " . $image_source_path . $image_cmd .$dest_image_path;
 shell_exec($str_command);




It seems my Linux wants to me to switch to
avconv
. I am not sure how to fix these errors. Can someone give me a hint about it ?

-
avfilter/vf_extractplanes : switch to activate()
7 mars 2022, par Paul B Maholavfilter/vf_extractplanes : switch to activate()
Fixes hang at end of input with this command :
ffmpeg -f lavfi -i testsrc2=d=50,format=yuv444p -lavfi \
"extractplanes=y+u+v[y][u][v] ;[y]tpad=start=0[y] ;[u]tpad=start=0[u] ;[v]negate[v] ;[y][u][v]vstack=3" -f null - -
avfilter : add overlay vaapi filter
22 novembre 2021, par Xinpeng Sunavfilter : add overlay vaapi filter
Overlay one video on the top of another.
It takes two inputs and has one output. The first input is the "main" video on
which the second input is overlaid. This filter requires same memory layout for
all the inputs.An example command to use this filter to overlay overlay.mp4 at the top-left
corner of the main.mp4 :ffmpeg -init_hw_device vaapi=foo :/dev/dri/renderD128 \
hwaccel vaapi -hwaccel_device foo -hwaccel_output_format vaapi -c:v h264 -i main.mp4 \
hwaccel vaapi -hwaccel_device foo -hwaccel_output_format vaapi -c:v h264 -i overlay.mp4 \
filter_complex "[0:v][1:v]overlay_vaapi=0:0:100:100:0.5[t1]" \
map "[t1]" -an -c:v h264_vaapi -y out_vaapi.mp4
Signed-off-by : U. Artie Eoff <ullysses.a.eoff@intel.com>
Signed-off-by : Xinpeng Sun <xinpeng.sun@intel.com>
Signed-off-by : Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by : Fei Wang <fei.w.wang@intel.com>
Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>