
Recherche avancée
Autres articles (42)
-
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. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (7379)
-
How to add gif and text overlay on mp4 video using ffmpeg-full-gpl in android [duplicate]
11 février 2021, par Dnyaneshwar PanchalI used below ffmpeg command for add gif on mp4 video & it is working fine,


The question is different I have used ffmpeg gpl library for now the reason is getting video low very thats I have used this library.


int cmd= FFmpeg.execute(new String[]{"-y", "-i", "a.mp4", "-ignore_loop", "0", "-i", 
"storage/emulated/0/watermark/watermark.gif", "-filter_complex", "overlay=5:5:shortest=1", "-c:v", 
"libx264", "-r", "10", "-preset:v", "ultrafast", "b.mp4"});



But, I want to add gif with text also.
how to add text also in above command ? please help !

I used below library for ffmpeg,

implementation 'com.arthenica:mobile-ffmpeg-full-gpl:4.4'



Thanks in adv !


-
full m3u8 clip isn't getting generated from m3u8 file by node.js
13 janvier 2021, par Alanindex.js


const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
const process = require('process');

const args = process.argv.slice(2);
if (args.length !== 4) {
 console.error('Incorrect number of arguments');
 process.exit(1);
}

const startTime = args[0];
const timeDuration = args[1];
const inputFile = args[2];
const outputFile=args[3];

ffmpeg.setFfmpegPath(ffmpegPath);

ffmpeg(inputFile)
 .setStartTime(startTime)
 .setDuration(timeDuration)
 .output(outputFile)
 .on('end', function(err) {
 if(!err) { 
 console.log('conversion Done') 
 }
 })
 .on('error', function(err){
 console.log('error: ', err)
 }).run();



I am running this command on the terminal to generate a clip from the m3u8 file

node index.js 00:00:10 46 ./path/sample.m3u8 ./path/output.m3u8


The main problem is that it is not creating a clip for more than 13 seconds. For example, the above command should generate a 46s clip but it is going near 13 seconds. So I don't get what is the issue. Any clip less than 13 works perfectly fine. Is there any way to fix that ?


Here is a link to the m3u8 file https://mp4.to/downloads/0cb552cd749c4cf4b


-
full m3u8 clip isn't getting generated from m3u8 file
12 janvier 2021, par Alan
const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffmpeg = require('fluent-ffmpeg');
const process = require('process');


const args = process.argv.slice(2);
if (args.length !== 4) {
 console.error('Incorrect number of arguments');
 process.exit(1);
 }
const startTime = args[0];
const timeDuration = args[1];
const inputFile = args[2];
const outputFile=args[3];

ffmpeg.setFfmpegPath(ffmpegPath);

ffmpeg(inputFile)
 .setStartTime(startTime)
 .setDuration(timeDuration)
 .output(outputFile)
 .on('end', function(err) {
 if(!err) { console.log('conversion Done') }
 })
 .on('error', function(err){
 console.log('error: ', err)
 }).run();







here is my index.js file
I am running this command on the terminal to generate a clip from the m3u8 file

node index.js 00:00:10 46 ./path/sample.m3u8 ./path/output.m3u8

The main problem is that it is not creating a clip for more than 13 seconds. For example, the above command should generate a 46s clip but it is going near 13 seconds. So I don't get what's wrong with that. Any clip less than 13 is perfectly fine.
Is there any way to fix that ?