
Recherche avancée
Autres articles (67)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (12128)
-
Anomalie #3014 : Chaines de langue de "Forums" utilisées dans la "dist"
24 décembre 2017, par b bPour info, voici les occurrences de chaînes de langue de forum dans la dist à ce jour :
grep -nHIirF —exclude=*.svn-base — :forum : . ./404.html:36 : [(#ENVfond_erreur|==forum|oui)
<:forum:aucun_message_forum :>
]
./article.html:56 : [<:forum:form_pet_message_commentaire :>
./inclure/forum.html:17 : [(#CONFIGforums_titre| !=non|oui)#COMPTEUR_BOUCLE.
./inclure/forum.html:42 : [(#CONFIGforums_titre| !=non|oui)#COMPTEUR_BOUCLE.
./forum.html:11 :
./forum.html:25 :<:accueil_site :> > ; ... > ; <:forum:forum :> #ID_FORUM
./forum.html:28 : [
(#TITRE|sinon<:forum:forum :> #ID_FORUM)
]
./forum.html:38 :<:forum:forum_avez_selectionne :> #TITRE
./forum.html:41 : [
<:forum:form_pet_message_commentaire :>
./breve.html:43 : [
<:forum:form_pet_message_commentaire :>
-
View MPEG-TS stream in browser
29 juin 2020, par alexenvI want to create a webpage with a video player that can play a H264 mpeg-ts live stream. I can't find any web player that can do that.



I read that JWPlayer is capable of doing that, but only in the paid version.



The stream can be played in VLC and any other players.



What can I do ? I tried using ffmpeg to convert the stream to something more useful, but no succes.



ffmpeg -i "http://localhost:9002/tv.ts" -vcodec libx264 -r 20 -s 320x240 -threads 2 -vprofile baseline -vpre zoom -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 1 -f rtsp rtsp://192.168.0.28:1935/live/_definst_/c3




This is what I get :



Last message repeated 1 times
[h264 @ 0xbb9500] decode_slice_header error
[h264 @ 0xbb9500] no frame!
[mpegts @ 0xbaa6e0] decoding for stream 1 failed
[mpegts @ 0xbaa6e0] Could not find codec parameters for stream 1 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://192.168.0.28:9002/tv.ts':
 Duration: N/A, start: 30764.854700, bitrate: N/A
 Program 1 
 Stream #0:0[0x44](???): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
 Stream #0:1[0x45]: Video: h264 ([27][0][0][0] / 0x001B), none, 25 fps, 25 tbr, 90k tbn, 180k tbc
File for preset 'zoom' not found



-
Transcode video with php ffmpeg library
27 juin 2019, par devI need to upload video in 3 formate/resolution as 360p, 480p, 720p.
After some research i got to know that some paid service are there like Amazone Elastic Transcoder . But i want to do with open source so i found FFMPEG.
Also i want to upload video on Amazon s3 after transcode and video are in big size like video may contain 1GB size.
I got php library for FFMPEG Library Link
I have installed ffmpeg and it successfully generate new video. But i cannot figure out that how can i generate different formate/resolution as 360p, 480p, 720p.
My sample Code is
error_reporting(E_ALL);
ini_set('display_errors', 1);
require 'vendor/autoload.php';
//$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open('assets/small.mp4');
$video
->filters()
->resize(new FFMpeg\Coordinate\Dimension(320, 240))
->synchronize();
$video
->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(2))
->save('assets/frame.jpg');
$format = new FFMpeg\Format\Video\X264();
$format->setAudioCodec("libmp3lame");
$video->save($format, 'assets/new.mp4');Can anyone suggest me any way that how can i achieve this ??