
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (36)
-
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 -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8963)
-
Xuggler can't open IContainer of icecast server [Webm live video stream]
9 juin 2016, par Roy BeanI’m trying to stream a live webm stream.
I tested some server and Icecast is my pic.
With ffmpeg capturing from an IP camera and publishing in icecast server I’m able to see video in html5
using this command :
ffmpeg.exe -rtsp_transport tcp -i "rtsp ://192.168.230.121/profile ?token=media_profile1&SessionTimeout=60" -f webm -r 20 -c:v libvpx -b:v 3M -s 300x200 -acodec none -content_type video/webm -crf 63 -g 0 icecast ://source:hackme@192.168.0.146:8001/test
I’m using java and tryed to make this with xuggler, but I’m getting an error when opening the stream
final String urlOut = "icecast://source:hackme@192.168.0.146:8001/agora.webm";
final IContainer outContainer = IContainer.make();
final IContainerFormat outContainerFormat = IContainerFormat.make();
outContainerFormat.setOutputFormat("webm", urlOut, "video/webm");
int rc = outContainer.open(urlOut, IContainer.Type.WRITE, outContainerFormat);
if(rc>=0) {
}else {
Logger.getLogger(WebmPublisher.class.getName()).log(Level.INFO, "Fail to open Container " + IError.make(rc));
}Any help ?
I’m getting the error -2 :
Error : could not open file (../../../../../../../csrc/com/xuggle/xuggler/Container.cpp:544)It’s is also very importatn to set the content type as video/webm because icecast by default set the mime type to audio/mpeg
-
ffmpeg create thumbnail image of multiple images from video
21 janvier 2018, par Michael YousefSo I want to create a thumbnail image that consists of multiple images from a single video. I’m looking to make them 4x8, and I want to spread out the images uniformly throughout the video.
Ideally the final product should show 32 image captures, all downscaled to a reasonable size so they can fit on screen at the same time. Also, I’d like to have the final product have some overhead text like the video title, and I’d like to put the timestamp in the images as well.
This is an example of what I want to do. The text at the top and the timestamp in the images. This one’s 6x4 and I want 4x8 but other than that it looks about what I want.
I think ffmpeg probably has something to do this but I can’t seem to figure it out. I can generate individual screens but not collapse them into one. It’s also slower than programs I’ve used to do this in the past, not sure how they can do it as fast as they do. If I can’t get ffmpeg to do this, I’m open to using Python to accomplish this.
-
How do I properly use Flutter FFmpegKit to convert video file formats to H.264 ?
21 août 2024, par SpencerI've been using GPT and publications from Medium to help with my how I'm supposed to use the FFmpeg kit for Flutter but they have been no help. Perhaps I need clarification on what the tool is supposed to do because links like these below have not been of any help and are very outdated :


https://dev.to/usp/flutter-live-streaming-a-complete-guide-2634




https://github.com/arthenica/ffmpeg-kit/blob/main/flutter/flutter/README.md


This is the code i've been trying to run to convert a video file before I upload to Firestore Database.


Future convertToH264(Uint8List bytes) async {
 try {
 final filename = const Uuid().v4();
 final tempDir = await getTemporaryDirectory();
 final tempVideoFile = File('${tempDir.path}/$filename.mp4');
 await tempVideoFile.writeAsBytes(bytes);
 final outputPath = '${tempDir.path}/$filename-aac.mp4';

 await FFmpegKit.execute(
 '-i ${tempVideoFile.path} -c:v libx264 -c:a aac $outputPath',
 );
 return await File(outputPath).readAsBytes();
 } catch (e) {
 rethrow;
 }
}