
Recherche avancée
Médias (5)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (67)
-
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 -
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 (7548)
-
Naudio produces wierd noise with ffmpeg
7 décembre 2020, par SfueHi there I was trying to make a music player in c# using the
windows form
and I ended up something like this -

var ffmpeg = Process.Start(new ProcessStartInfo
 {
 FileName = "ffmpeg",
 Arguments = $@"-loglevel panic -i ""path/to/my-music.mp3"" -ac 2 -f s16le -ar 44100 pipe:1",
 UseShellExecute = false,
 CreateNoWindow = true,
 RedirectStandardOutput = true
 }); 
 var p = new RawSourceWaveStream(ffmpeg.StandardOutput.BaseStream,new WaveFormat(44100 , 16, 1));
waveOutDevice.Init(p);
waveOutDevice.Play();



But it seems to produce some weird cracking noises , I have been trying it out since 2 days but couldn't get a fix, Any help ?


-
Node.js - I keep getting the following error : Error : ffmpeg stream : write EPIPE
14 août 2020, par KykyI'm currently programming a Discord bot using
discord.js
, and I'm usingytdl-core
to play music. Here is the program I'm using to play music :


const {google} = require('googleapis');
const ytdl = require('ytdl-core');
// Initialise Google API
const youtube = google.youtube({
 version: 'v3',
 auth: MyAuth
});
musicQueue = [] // Queue for playing music
dispatcher = null; // Transmits voice packets from stream

module.exports = {
 name: "play",

 async execute(msg, args) { // msg is a Discord Message
 // Play music and music queued after
 async function playAndQueue(stream) {

 // Join voice channel
 voiceChannel = client.channels.cache.find(channel => channel.type === "voice" && channel.name === "music-channel");
 voiceConnection = voiceChannel.join();

 dispatcher = await voiceConnection.play(stream, {volume: 0.3}); // Decrease volume to prevent clipping

 // When music stops
 dispatcher.on("finish", async reason => {
 if (musicQueue[0]) { // Still have music queued
 const nextVideoLink = musicQueue[0]; // Next video to play
 const stream = ytdl(nextVideoLink, {filter: 'audioonly'});

 playAndQueue(stream);
 dispatcherInfo = await ytdl.getInfo(nextVideoLink);
 musicQueue.shift();
 } else { // No music to play
 dispatcher = null;
 dispatcherInfo = null;
 }
 });

 dispatcher.on("error", console.log);
 dispatcher.on("debug", console.log);

 }

 // Search Youtube using args
 const youtubeSearchResult = await youtube.search.list({
 part: 'snippet',
 type: 'video', // We do not want channels or playlists
 q: args.join(' '),
 maxResults: 1 // We only need first search result
 });
 const youtubeVideo = youtubeSearchResult.data.items[0];
 if (! youtubeVideo) {
 msg.channel.send("Error: Could not find any music matching search.");
 return;
 }

 const videoLink = `https://www.youtube.com/watch?v=${youtubeVideo.id.videoId}`; // Link to video

 const stream = ytdl(videoLink, {filter: 'audioonly'});
 const videoInfo = await ytdl.getInfo(videoLink);


 if (dispatcher) { // Currently playing music
 musicQueue.push(videoLink);
 msg.channel.send(`**${videoInfo.title}** has been added into the queue!`);
 } else {
 playAndQueue(stream);
 dispatcherInfo = videoInfo;
 msg.channel.send(`Currently playing **${videoInfo.title}**!`);
 }
 }
}




However, when I try to run the program on Heroku, I get this error :



ffmpeg stream: write EPIPE
 at WriteWrap.onWriteComplete [as oncomplete (internal/stream_base_commons.js:92:16) {
 errno: 'EPIPE',
 code: 'EPIPE',
 syscall: 'write'
}




What can I do ?


-
Efficient way to create variant playlists from mp4 for HLS
3 mars 2021, par nnaj20I am totally new to video encoding and options, and just learned about Apple's HLS requirements.


So far, I've been able to get something working for my iOS app. However, I find the entire process to be very slow and manual. Now, having to repeat this for several more locales (video translations), I can't imagine there isn't a better way.


Controlling bitrate


To have control over the bitrate, I use HandBrake to create a new .mp4 file with the appropriate video encoder setting, for each bitrate I want (192k, 400k, 1m, etc.). THEN, I move onto creating the playlists. This alone takes several minutes—is there a better way ?
tsrecompressor
seemed close, but it just streams to a local port and doesn't save any playlists.

Creating playlists from MP4


Then I use Apple's suite of command-line tools (
mediafilesegmenter
,variantplaylistcreator
,mediastreamvalidator
,hlsreport
) to generate the playlists, combine into a master playlist, validate, etc. I suppose this part could be somewhat automated with a script. I've seen others use FFMPEG, but I think the latter 3 Apple tools would still need to be sequentially applied.

Do you see anything that can be obviously optimized ?