
Recherche avancée
Autres articles (97)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (6603)
-
FFMPEG-PHP converted videos don't work on mobiles
16 avril 2018, par casusbelliI’m working on a upload script where users can upload videos however I’m having an issue with FFMPEG-PHP : The converted videos don’t work on mobiles while they are working fine on desktop.
//FFMPEG Instance
require_once '/root/vendor/autoload.php';
$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open($temp_path);
//WEBM Convert
$format_webm = new FFMpeg\Format\Video\WebM();
$video->save($format_webm, 'video.webm');
//MP4 Convert
$format_mp4 = new FFMpeg\Format\Video\X264();
$format_mp4->setAudioCodec("libmp3lame");
$video->save($format_mp4, 'video.mp4');Fatal error : Uncaught
Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg
failed to execute command ’/usr/bin/ffmpeg’ ’-y’ ’-i’
’/var/www/html/v/temp/13759.mp4’ ’-vcodec’ ’libx264’ ’-acodec’ ’aac’
’-b:v’ ’1000k’ ’-refs’ ’6’ ’-coder’ ’1’ ’-sc_threshold’ ’40’ ’-flags’
’+loop’ ’-me_range’ ’16’ ’-subq’ ’7’ ’-i_qfactor’ ’0.71’ ’-qcomp’
’0.6’ ’-qdiff’ ’4’ ’-trellis’ ’1’ ’-b:a’ ’128k’ ’-pass’ ’1’
’-passlogfile’
’/tmp/ffmpeg-passes5ad4e29d1b71e6oveh/pass-5ad4e29d1b7b2’
’/var/www/html/v/13759.mp4’ in
/root/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php:100\nStack
trace :\n#0
/root/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php(72) :
Alchemy\BinaryDriver\ProcessRunner->doExecutionFailure(’’/usr/bin/ffmpe...’)\n#1
/root/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php(209) :
Alchemy\BinaryDriver\ProcessRunner->run(Object(Symfony\Component\Process\Process),
Object(SplObjectStorage), false) in
/root/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/Video.php on line
109Any help ?
-
avcodec/dfa : Check dimension against maximum
16 avril 2018, par Michael Niedermayeravcodec/dfa : Check dimension against maximum
The headers from where the dimensions are read in actual files
are limited to 16bit per component.Fixes : Timeout
Fixes : 6305/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DFA_fuzzer-4824270749302784Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
avformat/mpegts : set AV_DISPOSITION_DESCRIPTIONS for OIPF cases
13 avril 2018, par Łukasz Krzciukavformat/mpegts : set AV_DISPOSITION_DESCRIPTIONS for OIPF cases
1. an audio component with an ISO_639_language_descriptor in the PMT with the
audio_type field set to 0x03
2. a supplementary_audio_descriptor with the editorial_classification field set
to 0x01
3. an ac-3_descriptor or an enhanced_ac-3_descriptor with a component_type field
with the service_type flags set to Visually ImpairedTested-by : Łukasz Krzciuk <lkrzciuk@vewd.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>