
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (70)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (5014)
-
configure : arm : Don't add -march= to the compiler if no preference was passed
20 septembre 2021, par Martin Storsjöconfigure : arm : Don't add -march= to the compiler if no preference was passed
If no —cpu= option was passed to configure, we detect what the
compiler defaults to. This detected value was then fed back to the
rest of the configure logic, as if it was an explicit choice.This breaks on Ubuntu 21.10 with GCC 11.1.
Since GCC 8, it's possible to add configure extra features via the
march option, like e.g. -march=armv7-a+neon. If the -mfpu= option
is configured to default to 'auto', the fpu setting gets taken
from the -march option.GCC 11.1 in Ubuntu seems to be configured to use -mfpu=auto. This
has the effect of breaking any compilation command that specifiesmarch=armv7-a, because the driver implicitly also adds -mfloat-abi=hard,
and that combination results in this error :cc1 : error : ‘-mfloat-abi=hard’ : selected processor lacks an FPU
One can compile successfully by passing e.g. -march=armv7-a+fp.
Therefore, restructure configure. If no specific preference was set
(and the 'cpu' configure variable was set as the output of
probe_arm_arch), the value we tried to set via -march= was the same
value that we just tried to detect as the compiler default.So instead, just try to detect what the compiler defaults to, with
to allow setting other configure settings (such as 'fast_unaligned'),
but don't try to spell out the compiler's default via the -march flag.Signed-off-by : Martin Storsjö <martin@martin.st>
-
FFmpegAndroid library rotates video after Compress Android
19 mars 2020, par Bhavin KevadiyaexecFFmpegBinary(new String[]"-y", "-i", path, "-s", "160x120", "-r", "25", "-vcodec", "mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath) ;
video auto rotate after compress..
is there any solution ?
here is lib Link
-
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