
Recherche avancée
Autres articles (72)
-
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. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (7169)
-
MobileVlcKit compiling Failed
25 février 2016, par BittooHi i am trying to use MobileVLCKit.For that i am using cocoapads like below
pod ’MobileVLCKit’pod 'MobileVLCKit'
then i compile my project it is showing plenty of errors below is my error Log
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"std::basic_string, std::allocator >::find(wchar_t const*, unsigned long, unsigned long) const", referenced from:
TagLib::String::find(TagLib::String const&, int) const in MobileVLCKit(tstring.cpp.o)
TagLib::String::split(TagLib::String const&) const in MobileVLCKit(tstring.cpp.o)
dash::mpd::BasicCMParser::parseCommonAttributesElements(dash::xml::Node*, dash::mpd::CommonAttributesElements*, dash::mpd::CommonAttributesElements*) const in MobileVLCKit(libdash_plugin_la-BasicCMParser.o)I tried with architecture x86_64 but still showing lot of errors. I don’t know how to clear these errors.so can any body please help me
-
How to stream and play video automatically using PHP FFmpeg Video Streaming libray
21 août 2020, par kikabi francisAm currently new to ffmpeg video streaming and working on a project to stream mp4 videos using ffmpeg libray https://github.com/aminyazdanpanah/PHP-FFmpeg-video-streaming and Video player https://videojs.com/ using DASH.
Am currently starting the streaming to mpd using commandline, with streaming.php.
I want to start streaming automatically when dash.html with video playing.
and i want to switch between different video qualities on the player, currently it play the same quality set in streaming.php
Here is my code



 
 
 
 
 
 
 
 
 <video height="480" data-setup="'{"liveui":" class="video-js vjs-default-skin" controls="controls"></video>
 <code class="echappe-js"><script src='http://stackoverflow.com/feeds/tag/app/js/plugins/node/video.js/dist/video.js'></script>

<script src='http://stackoverflow.com/feeds/tag/app/js/plugins/switcher/videojs-resolution-switcher.js'></script>

 
<script src='http://stackoverflow.com/feeds/tag/app/js/plugins/node/dashjs/dist/dash.all.min.js'></script>

 
 
<script src='http://stackoverflow.com/feeds/tag/app/js/plugins/node/videojs-contrib-dash/dist /videojs-dash.js'></script>

 
<script>&#xA;&#xA; var player = videojs(&#x27;example-video&#x27;);&#xA;&#xA; player.ready(function() {&#xA; player.updateSrc([&#xA; {&#xA; src: &#x27;http://localhost/MovieWeb/media/stream/dash-stream.mpd&#x27;,&#xA; type: &#x27;application/dash&#x2B;xml&#x27;,&#xA; label: &#x27;144p&#x27;,&#xA; res: 144&#xA; },&#xA; {&#xA; src: &#x27;http://localhost/MovieWeb/media/stream/dash-stream.mpd&#x27;,&#xA; type: &#x27;application/dash&#x2B;xml&#x27;,&#xA; label: &#x27;240p&#x27;,&#xA; res: 240&#xA; },&#xA; {&#xA; src: &#x27;http://localhost/MovieWeb/media/stream/dash-stream.mpd&#x27;,&#xA; type: &#x27;application/dash&#x2B;xml&#x27;,&#xA; label: &#x27;360p&#x27;,&#xA; res: 360&#xA; },&#xA; {&#xA; src: &#x27;http://localhost/MovieWeb/media/stream/dash-stream.mpd&#x27;,&#xA; type: &#x27;application/dash&#x2B;xml&#x27;,&#xA; label: &#x27;480p&#x27;,&#xA; res: 480&#xA; },&#xA; {&#xA; src: &#x27;http://localhost/MovieWeb/media/stream/dash-stream.mpd&#x27;,&#xA; type: &#x27;application/dash&#x2B;xml&#x27;,&#xA; label: &#x27;720p&#x27;,&#xA; res: 720&#xA; },&#xA; {&#xA; src: &#x27;http://localhost/MovieWeb/media/stream/dash-stream.mpd&#x27;,&#xA; type: &#x27;application/dash&#x2B;xml&#x27;,&#xA; label: &#x27;1080p&#x27;,&#xA; res: 1080&#xA; }&#xA; ])&#xA; &#xA; player.play();&#xA; });&#xA; player.videoJsResolutionSwitcher();&#xA; </script>

 
 


//video.php
< ?php
require ('api/libs/ffmpeg_video_stream/vendor/autoload.php') ;
use Streaming\Representation ;
$r_144p = (new Representation)->setKiloBitrate(95)->setResize(256, 144) ;
$r_240p = (new Representation)->setKiloBitrate(150)->setResize(426, 240) ;
$r_360p = (new Representation)->setKiloBitrate(276)->setResize(640, 360) ;
$r_480p = (new Representation)->setKiloBitrate(750)->setResize(854, 480) ;
$r_720p = (new Representation)->setKiloBitrate(2048)->setResize(1280, 720) ;
$r_1080p = (new Representation)->setKiloBitrate(4096)->setResize(1920, 1080) ;
$config = [
 'ffmpeg.binaries' => 'C :/ffmpeg/bin/ffmpeg.exe',
 'ffprobe.binaries' => 'C :/ffmpeg/bin/ffprobe.exe',
 'timeout' => 3600, // The timeout for the underlying process
 'ffmpeg.threads' => 12, // The number of threads that FFmpeg should use
 ] ;
$ffmpeg = Streaming\FFMpeg::create($config) ;
$video = $ffmpeg->open('media/videos/dir686840/1080p_video.mp4') ;
$video->dash()
 ->setAdaption('id=0,streams=v id=1,streams=a')
 ->x264()
 ->addRepresentations([$r_360p])
 ->save('media/stream/dash-stream.mpd') ;
 ?>


Thank you very much !!


-
can I h265 video stream using rtmp ? in nginx
16 juillet 2019, par Hakan Murat Aksütexec_push /usr/bin/ffmpeg -re -i rtmp://localhost:1935/$app/$name -ar 44100 -vcodec libx264 -g 25 -f flv rtmp://localhost/live/$name_hi
I can broadcast h264 video on my nginxg server. but it doesn’t work when I want to make h265 instead of h264. I found out that this is because rtmp does not support h265. Is there a way to do this using rtmp if possible ?
if not, what else can be used to stream h265 video in nginx instead of rtmp.rtmp {
server {
listen 1935;
chunk_size 4096;
application src {
live on;
exec_push /usr/bin/ffmpeg -re -i rtmp://localhost:1935/$app/$name -ar 44100 -vcodec libx264 -g 25 -f flv rtmp://localhost/live/$name_hi;
}
application live {
live on;
hls on;
hls_path /usr/share/nginx/hls; #file path for save
hls_fragment 1;
hls_playlist_length 10;
hls_cleanup on;
dash on;
dash_path /usr/share/nginx/dash; #Sets MPEG-DASH playlist and fragment directory. If the directory does not exists it will be created.
dash_fragment 1; #Sets MPEG-DASH fragment length. Defaults to 5 seconds.
dash_playlist_length 10; #Sets MPEG-DASH playlist length. Defaults to 30 seconds.
dash_cleanup on; `
}
}