
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (106)
-
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 -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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 (10262)
-
GStreamer encountered a general stream error in Qt5 raspberry pi
14 décembre 2016, par MyanjuI’m trying to play a video using QtMediaPlayer in Raspberry pi 2 B. The source code is as follows :
QMediaPlayer *media;
QVideoWidget *video;
...
...
media = new QMediaPlayer(parent);
video = new QVideoWidget(parent);
media->setVideoOutput(video);
media->setMedia(QUrl::fromLocalFile("/home/pi/Desktop/test3.mp4"));
media->play();But the result is a blank video screen and the following error :
** (Bus:2148): WARNING **: ffmpegcolorspace-vo: size 1105920 is not a
multiple of unit size 829440
Error: "GStreamer encountered a general stream error."System Information
Running latest raspbian Jessie OS,
Installed Qt5.3,
Installed gstreamer0.10-plugins-good/bad/ugly/ffmpeg and
Installed Mpeg-2 LicenseHere is the video test3.mp4
I ran this code in Windows with Qt5 installed ; it is working there. But it’s not working in the Raspberry pi. Please tell me what I’m missing here.
Trying Pipe from Shell
-
ffmpeg : Generate empty audio and video (working for video)
17 septembre 2021, par David FerrisI'm trying to generate a black video with FFMPEG. I have accomplished this with the following :


ffmpeg -t 5 -f lavfi -i color=c=black:s=1920x1080 -c:v libx264 -tune stillimage -pix_fmt yuv420p out.mp4



Unfortunately this video doesn't have any audio tracks. Following this, I have tried to insert -i anullsrc=channel_layout=stereo:sample_rate=44100 :


ffmpeg -t 5 -i anullsrc=channel_layout=stereo:sample_rate=44100 -f lavfi -i color=c=black:s=1920x1080 -c:v libx264 -tune stillimage -pix_fmt yuv420p out.mp4



Unfortunately this gives the error :




anullsrc=channel_layout=stereo:sample_rate=44100 : No such file or
directory




How can I modify my initial script to generate a video with empty audio ?


-
Video player scroll doesn't work after ffmpeg audio and video merge (NodeJS)
1er novembre 2022, par Pietro LetoI made youtube downloader to download video from youtube using nodejs library ytdl-core. If I wanted to download video with best quality I had to download them without sound. So, in my script, I download audio and video separately and I merge them into an mp4 file.
What's the problem ? Video player scroll doesn't work. I can see the video but I can't going back or move on, and I can't see video duration.


const express = require("express");
const cors = require("cors");
const app = express();
const ffmpeg = require('ffmpeg-static');
const cp = require('child_process');
const ytdl = require("ytdl-core");

app.use(cors());

app.listen(3000, () => {
 console.log("Server is working at port 3000 !!");
});

app.get('/download', (req,res) => {
 var url = req.query.URL;
 var formato = req.query.FORMAT;

 try {
 let vid = ytdl(url,{filter:'videoonly', quality:'highestvideo'})
 let aud = ytdl(url, {filter: 'audioonly', quality:'highestaudio'});

 ytdl.getInfo(url).then(info => {
 titolo = info.videoDetails.title;

 res.header("Content-Disposition", 'attachment; filename=' + titolo + '.mp4');

 const ffmpegProcess = cp.spawn(ffmpeg, [
 '-i', `pipe:3`,
 '-i', `pipe:4`,
 '-map','0:v:0',
 '-map','1:a:0',
 '-c:v', 'copy',
 '-c:a', 'aac',
 '-crf','27',
 '-preset','veryfast',
 '-movflags','frag_keyframe+empty_moov',
 '-f','mp4',
 '-loglevel','error',
 '-'
 ], {
 stdio: [
 'pipe', 'pipe', 'pipe', 'pipe', 'pipe',
 ],
 });
 
 aud.pipe(ffmpegProcess.stdio[4]);
 vid.pipe(ffmpegProcess.stdio[3]);
 ffmpegProcess.stdio[1].pipe(res);
 });
 }
 catch(err) {
 console.log("Error with URL: " + url + "\nERROR: " + err + "\n\n");
 }
});



I have not found alternatives to do this. I need a working script to download youtube videos with good quality.