
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 (43)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 ;
Sur d’autres sites (7014)
-
PHP add whitespaces in string with an URL
25 juin 2021, par Alberto ValerioProblem


I have a temporary url to access an object from AWS-S3


$source = "http://mybucket...";



If I do a var_dump($source) it shows me the correct URL


string(407) "https://mybucket.s3.amazonaws.com/storage/..."



So I try to use this url in a ffmpeg command in this way (double quotes are required in ffmpeg)


$cmd = 'ffmpeg -i "' . $source . '" ...
shell_exec($cmd);



This do not work, and when I do a var_dump($cmd) the url shows like this (whitespace beetween
https:
and the//
)

"https: //mybucket.s3.amazonaws.com/storage/..."



It works fine when I specify the url with the S3 protocol


"s3://mybucket...."



So maybe the problem is with the https protocol


What I tried(It didn't work)


- 

- I tried
$url = str_replace(' ', '', $source);
- I tried
$url = str_replace('%20', '', $source);
- I tried
$url = str_replace('https: //', 'https://', $source);
- I tried
$url = preg_replace("/\s+/", "", $source);
- I tried
addslashes($source)
instead'"' . $source . '"'
- I tried
$url = escapeshellarg($source);














What I'm using


- 

- Php 7
- Laravel 4
- AWS-S3








- I tried
-
Display a specific string in each frame with ffmpeg
22 septembre 2020, par RobycI'm creating a video from a set of images like this


ffmpeg -f concat -safe 0 -r 1 -i video_file.txt -crf 0 video_file.mkv



where video_file.txt contains the filepath of the images, which looks like this :


file '/path/to/image1.tif'
 duration 0.5
 file_packet_metadata name=image1_name
 file '/path/to/image2.tif'
 duration 0.5
 file_packet_metadata name=image2_name
 ...



Concat reads all the lines starting with file '...' and correctly creates the output video.


I want that for each frame a specific string appears on screen, e.g. the filename or part of it.


I tried different options but none worked :


- 

- adding
-vf drawtext=textfile='path/to/frame.txt
to the ffmpeg command
- 

- where frame.txt contains in each line the text I want for each frame.
- This fails because the entire text in the file is displayed over each frame.






- adding
-vf drawtext=text=%{metadata\\:name}
to read the metadata name=image1_name in video_file.txt source here
- 

- this simply displays the string 'name' in the output
- I tried metadata\:name, metadata:name, and metadata:name












How can I display a specific string for each frame ?


- adding
-
avformat/dashdec : Fix leak of string on error when parsing representation
19 septembre 2020, par Andreas Rheinhardtavformat/dashdec : Fix leak of string on error when parsing representation
The DASH demuxer currently extracts several strings at once from an xml
document before processing them one by one ; these strings are allocated,
stored in local variables and need to be freed by the demuxer itself.
So if an error happens when processing one of them, all strings need to
be freed before returning. This has simply not been done, leading to
leaks.A simple fix would be to add the necessary code for freeing ; yet there is
a better solution : Avoid having several strings at the same time by
extracting a string, processing it and immediately freeing it. That way
one only has to free at most one string on error.Reviewed-by : Steven Liu <lq@chinaffmpeg.org>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>