
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (74)
-
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 ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (5658)
-
PHP - Upload video convert mp4 and upload to Amazon S3
31 octobre 2019, par Kadir GeçitI’m using amazon s3 as video storage for my website. I’m having problems for some videos. black screen or sound problems etc.
I want to convert the video to mp4 format after uploading the video to my server and then upload it to amazon. Is it possible with FFMPEG ?
I’m using this code for uploading files now :
$file1 = $_FILES['file']['name'];
$videoFileType = strtolower(pathinfo($file1,PATHINFO_EXTENSION));
$file_name = sprintf('%s_%s', uniqid(),uniqid().".".$videoFileType);
$temp_file_location = $_FILES["file"]["tmp_name"];
require 'application/libraries/Amazon/aws-autoloader.php';
$s3 = new Aws\S3\S3Client([
'region' => $amazon_region,
'version' => 'latest',
'credentials' => [
'key' => $amazon_key,
'secret' => $amazon_secret,
]
]);
$result = $s3->putObject([
'Bucket' => $amazon_bucket,
'Key' => $file_name,
'SourceFile' => $temp_file_location,
'ACL' => 'public-read',
'CacheControl' => 'max-age=3153600',
]);
$filepath = $result['ObjectURL'] . PHP_EOL;
echo json_encode([
'status' => 'ok',
'path' => $filepath
]); -
Batch extract and batch inject Dolby Vision metadata
6 décembre 2023, par Amandanewbie here.


After having successfully used the batch commands to extract and inject HDR10+ json metadata through
hdr10plus_tool
found onGitHub
, I'm now trying to figure out how to correctly set up the same actions for the Dolby Vision, viadovi_tool
(still the one you can find onGitHub
, by QuietVoid).

I'm first of all using this command to export DoVi data via
json
files from all of my mkv's :

for file in *.mkv; do [ -e "$file" ] && ffmpeg -i "$file" -map 0:v:0 -c copy -f hevc - | /Users/myself/myfolder/dovi_tool extract-rpu -o "${file%.mkv}_metadata.json" - done


...then, am using this other one for batch injecting those metadata :


for hevc_file in "/Volumes/myhdd/myfolder"/*.h265; doif [ -e "$hevc_file" ]; thendirectory=$(dirname "$hevc_file")file_name=$(basename "$hevc_file" .h265)json_file="$directory/$file_name.json"


`if [ -f "$json_file" ] ; then
new_mkv_file="$directory/$file_name_dovi.mkv"


/Users/myself/myfolder/dovi_tool inject-rpu -i "$hevc_file" --rpu-in "$json_file" -o "$new_mkv_file"
else
 echo "File JSON not found for $hevc_file"
fi



fi`


done


...this last command, apparently makes what it is supposed to do, I can see the percentage injection status until it's done, for every file. But then, when I check the mkv created, I see no Dolby Vision in it.
I am wondering where am I mistaken.


Maybe in the first code for extraction, I am using a wrong command that generates broken DoVi data ? Should I have extracted via
xml
rather thanjson
?
Please give me some hints (I am using a mac, so I don't have the same gui people uses on windows), and also, I would like to use this method via terminal in order to be able to work in batch.

I would like to batch export DoVi metadata from a folder with the bdremux mkv's, and then inject them from within a folder containing the encoded mkv's.


-
avutil/stereo3d : Fill out stereo info provided by Vision Pro files
30 mai 2024, par Derek Buitenhuisavutil/stereo3d : Fill out stereo info provided by Vision Pro files
Based on what is in the files themselves, and what the API provides
to users.URLs :
* https://developer.apple.com/documentation/videotoolbox/kvtcompressionpropertykey_heroeye
* https://developer.apple.com/documentation/videotoolbox/kvtcompressionpropertykey_stereocamerabaseline
* https://developer.apple.com/documentation/videotoolbox/kvtcompressionpropertykey_horizontaldisparityadjustment
* https://developer.apple.com/documentation/coremedia/kcmformatdescriptionextension_horizontalfieldofviewSigned-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>