
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (97)
-
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. -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (4313)
-
How to optimize the decoder performance in ffmpeg ?
16 mars 2018, par airHi I am trying to get the non-decoded h264 format to use in another client application using ffmpeg command. The consumer application simply reads the h264. Now How do I optimize the below command ? My machine has GPU, I see only CPU is used, is there something I can add ?
ffmpeg -pix_fmt yuv420p -hide_banner -y -f v4l2 -vcodec h264 -video_size 1280x1020 -i /dev/video0 out.h264
The verbose printed for reference is pasted below -
user@ubuntu$ ffmpeg -pix_fmt yuv420p -hide_banner -y -f v4l2 -vcodec h264 -video_size 1280x1020 -i /dev/video0 out.h264
[video4linux2,v4l2 @ 0x17e0a20] The V4L2 driver changed the video from 1280x1020 to 1280x720
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 871.695509, bitrate: N/A
Stream #0:0: Video: h264 (Constrained Baseline), yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], -5 kb/s, 30 fps, 30 tbr, 1000k tbn, 60 tbc
No pixel format specified, yuvj420p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x1b80ac0] using SAR=1/1
[libx264 @ 0x1b80ac0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x1b80ac0] profile High, level 3.1
Output #0, h264, to 'out.h264':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: h264 (libx264), yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 30 tbn, 30 tbc
Metadata:
encoder : Lavc56.60.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 1242 fps= 30 q=-1.0 Lsize= 4092kB time=00:00:41.33 bitrate= 811.1kbits/s dup=0 drop=4
video:4092kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
[libx264 @ 0x1b80ac0] frame I:5 Avg QP:17.23 size: 59416
[libx264 @ 0x1b80ac0] frame P:341 Avg QP:20.29 size: 8344
[libx264 @ 0x1b80ac0] frame B:896 Avg QP:24.94 size: 1170
[libx264 @ 0x1b80ac0] consecutive B-frames: 3.4% 1.1% 0.5% 95.0%
[libx264 @ 0x1b80ac0] mb I I16..4: 21.7% 46.7% 31.6%
[libx264 @ 0x1b80ac0] mb P I16..4: 1.8% 1.9% 0.4% P16..4: 33.2% 5.0% 3.9% 0.0% 0.0% skip:53.8%
[libx264 @ 0x1b80ac0] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 18.8% 0.6% 0.1% direct: 0.5% skip:79.8% L0:41.7% L1:55.6% BI: 2.7%
[libx264 @ 0x1b80ac0] 8x8 transform intra:46.9% inter:56.0%
[libx264 @ 0x1b80ac0] coded y,uvDC,uvAC intra: 33.9% 42.8% 12.2% inter: 3.0% 5.9% 0.1%
[libx264 @ 0x1b80ac0] i16 v,h,dc,p: 14% 44% 12% 30%
[libx264 @ 0x1b80ac0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 32% 29% 2% 4% 3% 5% 2% 5%
[libx264 @ 0x1b80ac0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 30% 13% 4% 8% 6% 7% 3% 5%
[libx264 @ 0x1b80ac0] i8c dc,h,v,p: 57% 23% 17% 2%
[libx264 @ 0x1b80ac0] Weighted P-Frames: Y:1.8% UV:0.0%
[libx264 @ 0x1b80ac0] ref P L0: 65.9% 4.5% 21.6% 8.0% 0.1%
[libx264 @ 0x1b80ac0] ref B L0: 88.2% 10.0% 1.9%
[libx264 @ 0x1b80ac0] ref B L1: 95.6% 4.4%
[libx264 @ 0x1b80ac0] kb/s:809.79 -
FFMpeg PHP Package getting Error when loading in Laravel Queue
18 mars 2020, par Steve RogersI have created a code on Laravel to add watermark to my video with ffmpeg package. This function is working perfectly in when working with controller.
Due to time consuming task I move the code to Laravel queue system and it successfully dispatch to queues table. but when I run php artisan queue:work the code getting error like
Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffmpeg failed to execute command '/usr/bin/ffmpeg' '-y' '-i' '/home/forge/demosite/public/frontend/video/1276841041584344642.mp4' '-threads' '12' '-vcodec' 'libx264' '-acodec' 'libmp3lame' '-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' '256k' '-ac' '2' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes5e6f2f04cec372bg0z/pass-5e6f2f04cecc2' '/home/forge/demosite/frontend/posts/video/org-post/n-w-post-video-org/17957037231584344836.mp4' in /home/forge/demosite/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/ProcessRunner.php:10
In many references I can see that this issue related to permission issue of public folder. so I give 777 permission to public folder and it will not working...
Working Code..
$ffmpeg = FFMpeg\FFMpeg::create([
'ffmpeg.binaries' => '/usr/bin/ffmpeg',
'ffprobe.binaries' => '/usr/bin/ffprobe' ,
'timeout' => 3600, // The timeout for the underlying process
'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
]);
$video = $ffmpeg->open($this->file);
$random = rand().''.time();
$randomFileName = $random . ".$this->extension";
/*-------------------------------original video----------------------------------------------*/
$format = new FFMpeg\Format\Video\X264('libmp3lame', 'libx264');
$format->setKiloBitrate(1000)->setAudioChannels(2)->setAudioKiloBitrate(256);
// $saveLocation = getcwd() . '/frontend/video/uploads/n_w_org_vd/' . $randomFileName;
$saveLocation = getcwd() . '/frontend/posts/video/org-post/n-w-post-video-org/' . $randomFileName;
$video->save($format, $saveLocation);
$filepath = 'frontend/posts/video/org-post/n-w-post-video-org/' . $randomFileName;
Storage::put($filepath, file_get_contents($saveLocation),'public'); -
Documentation #2090 (Nouveau) : Liste des chaînes de langue magiquement reconnues pour un nouvel o...
16 mai 2011, par RastaPopoulos -Il faut lister les chaînes de langue qui sont auto-magiquement reconnues par SPIP lorsqu’on crée un nouvel objet, et indiquer pour chacune ce qu’on y attend. ’icone_creer_’ => ’Ajouter un nouveau truc’, ’icone_modifier_’ => ’Modifier ce truc’, ’info_1_’ => ’Un truc’, ’info_aucun_’ => ’Aucun (...)