
Recherche avancée
Autres articles (45)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
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 (...) -
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
Sur d’autres sites (6951)
-
RAR Is Still A Contender
RAR (Roshal ARchive) is still a popular format in some corners of the internet. In fact, I procured a set of nearly 1500 RAR files that I want to use in a little project. But I didn’t want my program to have to operate directly on the RAR files which meant that I would need to recompress them to another format. Surely, one of the usual lossless compressors commonplace with Linux these days would perform better. Probably not gzip. Maybe not bzip2 either. Perhaps xz, though ?
Conclusion
At first, I concluded that xz beat RAR on every single file in the corpus. But then I studied the comparison again and realized it wasn’t quite apples to apples. So I designed a new experiment.New conclusion : RAR still beats xz on every sample in this corpus (for the record, the data could be described as executable program data mixed with reduced quality PCM audio samples).
Methodology
My experiment involved first reprocessing the archive files into a new resource archive file format and only compressing that file (rather than a set of files) using gzip, bzip2, xz, and rar at the maximum compression settings.echo filesize,gzip,bzip2,xz,rar,filename > compressed-sizes.csv for f in `ls /path/to/files/*` do gzip -9 —stdout $f > out.gz bzip2 -9 —stdout $f > out.bz2 xz -9 —stdout —check=crc32 $f > out.xz rar a -m5 out.rar $f stat —printf "%s," $f out.gz out.bz2 out.rar out.xz >> compressed-sizes.csv echo $f >> compressed-sizes.csv rm -f out.gz out.bz2 out.xz out.rar done
Note that xz gets the option
'--check=crc32'
since I’m using the XZ Embedded library which requires it. It really doesn’t make a huge different in filesize.Experimental Results
The preceding command line generates compressed-sizes.csv which goes into a Google Spreadsheet (export as CSV).Here are the full results of the bake-off, graphed :
That’s not especially useful. Here are the top 2 contenders compared directly :
Action
Obviously, I’m unmoved by the data. There is no way I’m leaving these files in their RAR form for this project, marginal space and bandwidth savings be darned. There are other trade-offs in play here. I know there is free source code available for decompressing RAR files but the license wouldn’t mesh well with GPL source code libraries that form the core of the same project. Plus, the XZ Embedded code is already integrated and painstakingly debugged.During this little exercise, I learned of a little site called Maximum Compression which takes experiments like the foregoing to their logical conclusion by comparing over 200 compression programs on a standard data corpus. According to the site’s summary page, there’s a library called PAQ8PX which posts the best overall scores.
-
PHP ffmpeg Image to Video
2 mars 2021, par Metin SaraçI want to create a Video with Image in php ffmpeg.


My code is as follows,


$video = $ffmpeg->open('image1.jpg');
$video->filters() ->resize(new FFMpeg\Coordinate\Dimension(1080, 1080))->synchronize();
$format = new FFMpeg\Format\Video\X264();
$format->setKiloBitrate(1000)->setAudioChannels(2)->setAudioKiloBitrate(256);
$video->save($format, 'video.avi');



I want total video duration and background sound to my code, but I couldn't find a suitable solution. Can you help me ?


Respects.


-
Batch merge videos two-by-two
18 février 2021, par dellyiceI have a directory with 1000+ video files. I'd like to concatenate them two-by-two.


An alphabetical ordering of the files give the desired pairs, e.g., the input files


filename_1.mp4
 filename_2.mp4
 filename_3.mp4
 filename_4.mp4
 ...



should result in output files


filename_1-2.mp4
 filename_3-4.mp4
 ...



They input files all have the same dimensions and formats.


How can I write a batch script invoking
ffmpeg
to achieve this ?