
Recherche avancée
Autres articles (42)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
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 (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (5460)
-
ffmpeg : map audio and subtitle stream of (different) specific language only
24 juillet 2019, par RocketNutsI have a bunch of video files with multiple audio and subtitle streams (in different languages). The streams contain metadata specifying which stream is which langauge. I want to copy all files but maintaining only the spanish audio streams, and the english subtitle streams (and the video stream of course).
Unfortunately, not all videos contain the same language streams at the same index, so instead of using something like
-map 0:a:2
I am trying to select the streams based on metadata.However, if I try the following : (based on answers found in similar questions like this and this)
ffmpeg -i input.mkv -map 0:v -map 0:a:m:language:spa -map 0:s:m:language:eng -c copy output.mkv
It still copies the first audio and first subtitle stream, no matter which stream is which language. In other words, this behaves just like
-map 0:v -map 0:a:0 -map 0:s:0
which isn’t what I need.Is there a different
map
argument I can use to make sure it picks only the spanish audio stream and only the english subtitle stream, regardless of their index in the input file ? -
Localization : Added Azeri language
28 mai 2016, par huseyn994Localization : Added Azeri language
Closes #1790.
-
How to encode ffmepg for jwplayer script which script read pass php file ?
25 décembre 2013, par Sarun PrasomsriI have encoded my video use this command.
$encode_comand="ffmpeg -i $input_path -ac 1 -ab 128k -y -vcodec libx264 -vpre ultrafast -g 30 -r 30 -crf 22 $target_path &";
exec($encode_comand);And it work for script below
echo '
<div style="margin:0px auto; text-align:center; width:auto; display:blog;" class="vdoplayer">JW Player goes here</div>
<code class="echappe-js"><script type="text/javascript" src="http://stackoverflow.com/feeds/tag/jwplayer/jwplayer.js"></script><script type="text/javascript">jwplayer.key="OOD7GkWbyNXOL6MbstF2Sa/YrQPgtNUPqxm5NA==";</script>
<script type="text/javascript"><br />
jwplayer("mediaplayer&#39;."11111".&#39;").setup({<br />
flashplayer: "jwplayer/jwplayer.flash.swf",<br />
file: "$video_file", <br />
width: "&#39;.$width.&#39;",<br />
height: "&#39;.$height.&#39;",<br />
stretching: "uniform",<br />
type: "mp4",<br />
skin: "jwplayer/jwplayer-skins-free/six.xml",<br />
<br />
});<br />
</script>'
//$video_file="http://myhost.com/project/files/1/video/file3.mp4" ;
But After I chang script
echo '
<div style="margin:0px auto; text-align:center; width:auto; display:blog;" class="vdoplayer">JW Player goes here</div>
<code class="echappe-js"><script type="text/javascript" src="http://stackoverflow.com/feeds/tag/jwplayer/jwplayer.js"></script><script type="text/javascript">jwplayer.key="OOD7GkWbyNXOL6MbstF2Sa/YrQPgtNUPqxm5NA==";</script>
<script type="text/javascript"><br />
jwplayer("mediaplayer&#39;."11111".&#39;").setup({<br />
flashplayer: "jwplayer/jwplayer.flash.swf",<br />
file: "readfile.php", <br />
width: "&#39;.$width.&#39;",<br />
height: "&#39;.$height.&#39;",<br />
stretching: "uniform",<br />
type: "mp4",<br />
skin: "jwplayer/jwplayer-skins-free/six.xml",<br />
abouttext: "project",<br />
aboutlink: "project",<br />
});<br />
</script>'
It not work for my video encode,But i try video that not encode it work.
Video
Dimension : 853 x 840
codec : H.264
Framerate : 30 frames per second
Bitrate 408 kbps
Audio
codec : MPEG-4 AAC
channels : Stero
Sample rate : 44100 Hz ์
Bitrate : N/AReadfile.php that have function read file
<?php
$filename= 'http://www.longtailvideo.com/jw/upload/bunny.mp4'; //can read
$video_file = "http://myhost.com/project/files/1/video/file3.mp4";
//cannot read Same file as script below
if (file_exists($video_file)) { ob_clean(); flush(); };
header('Content-Type: video/mp4');
header('Content-Disposition: attachment;filename=file.mp4');
readfile($video_file);
?>Thank you