
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (41)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (11859)
-
flient-ffmpeg getting error as "ffmpeg exited with code 1 : pipe:0 : Invalid data found when processing input"
6 avril 2023, par Abhishek RawalI am trying to create API where i need to get uploaded video and create thumbnail from that video. But conditions are :


- 

- Video should not store on local disk
- Once thumbnail is create it should not store on local disk, instead it should directly uploaded to AWS s3 bucket.






Following is the code i am trying with :




const ffmpeg = require('fluent-ffmpeg');
const stream = require('stream');

router.post('/thumbnail', upload.any(), (req, res) => {
 const videoBuffer = req.files[0].buffer;
 
 let readableVideoBuffer = new stream.PassThrough();
 readableVideoBuffer.write(videoBuffer);
 readableVideoBuffer.end()
 
 let bufferStream = new stream.PassThrough();
 
 ffmpeg(readableVideoBuffer)
 .on('filenames', function(filenames) {
 console.log('Will generate ' + filenames.join(', '))
 })
 .on('end', function() {
 console.log('Screenshots taken');
 })
 .on('error', (err) => {
 console.log(err);
 })
 .screenshots({
 count: 4,
 size: '100x100',
 timestamps: ['00:00:01.000'],
 })
 .writeToStream(bufferStream, { end: true }); /* while using this statement i am getting error */
 
 const buffers = [];
 bufferStream.on('data', function (buf) {
 buffers.push(buf);
 });
 bufferStream.on('end', function () {
 const outputBuffer = Buffer.concat(buffers);
 // use s3 bucket code here
 console.log('outputBuffer===========>', outputBuffer)
 });
})







so while calling this API my app is crashing and i am getting error as :




Error : ffmpeg exited with code 1 : pipe:0 : Invalid data found when
processing input




Blockquote


If i am not using this statement :




.writeToStream(bufferStream, end : true ) ;




then able to save file but in local disk, which is not required in my case.


Please help me to understand what is wrong in this code, how i can resolve it.
Any type of help is appreciated.


-
"No Output pad"error when using ffmpeg to create a subtitle overlay
7 avril 2023, par user3324136I am using a Lambda function to run ffmpeg to rescale a video and then add subtitles from an .ass file.


I have tried a few variations, but am continuing to get an error :

[AVFilterGraph @ 0x721bec0] No output pad can be associated to link label '2'.


The code is below, with the error stemming from the line :

'[0]scale=iw/1.5:ih/1.5,setsar=1[v];[1][v]overlay=-100:320[vid][2]overlay[out]'


CODE


try:
 subprocess.check_call([
 '/opt/ffmpeg',
 '-i', source_file,
 '-i', padding_image_file,
 '-i', subtitles_file, # Input caption file path
 '-filter_complex',
 '[0]scale=iw/1.5:ih/1.5,setsar=1[v];[1][v]overlay=-100:320[vid][2]overlay[out]',
 '-c:a', 'copy', '-crf', '20', '-preset', 'fast', '-movflags', '+faststart',
 '-y', output_file
 ])



-
Error "option not found" when trying to output a video file through decklink as PAL standard
11 avril 2023, par seriouslyI have an ffmpeg build compiled with decklink which is running fine. What I want to achieve is to output a certain video file through the black magic decklinks sdi output port. To do so I used the command
ffmpeg -standard PAL -i myvideo.mp4 -pix_fmt uyvy422 -s 1920x1980 -r 25000/1000 -f decklink "DeckLink SDI 4K"
but I get errorunrecognized option 'standard'
. What am I doing wrong or want is the proper way to set PAL as the standard ? Thanks in advance.

super user post suggesting to use
-standard
as a valid option : https://superuser.com/questions/885880/configure-ffmpeg-and-ffplay-to-pal-signal