
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (40)
-
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 (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (4928)
-
Error : [Error : ENOENT : no such file or directory, open './1695556319341.mp3']
24 septembre 2023, par JamesI'm trying to convert an mp4 file to an mp3 file and then directly upload it to Firebase storage without saving it locally in my machine, How can I do that currently I'm getting an error when I try to do that the error is "Error : [Error : ENOENT : no such file or directory, open './1695556319341.mp3']" How can i fix this issue with my Node.js code and make things work ?


import { initializeApp } from "firebase/app";
import { getStorage, ref, getDownloadURL, uploadBytesResumable } from "firebase/storage";
import serviceAccount from '../firebase/serviceAccountKey';
import { path as ffmpegPath } from '@ffmpeg-installer/ffmpeg';
import ffmpeg from 'fluent-ffmpeg';
import { readFile, unlink } from 'fs/promises';

initializeApp(serviceAccount);
ffmpeg.setFfmpegPath(ffmpegPath);

async function convertMP4ToMP3AndUploadToFirebase(inputPath: any, firebaseStoragePath: any) {
 const date = Date.now();
 const outputPath = `./${date}.mp3`;

 try {
 await ffmpeg(inputPath)
 .output(outputPath)
 .audioCodec('libmp3lame')
 .format('mp3')
 .run();

 const storage = getStorage();
 const storageRef = ref(storage, firebaseStoragePath);

 const fileBuffer = await readFile(outputPath);
 const metadata = { contentType: 'audio/mpeg' };
 const uploadTask = uploadBytesResumable(storageRef, fileBuffer, metadata);
 const snapshot = await uploadTask;
 const downloadURL = await getDownloadURL(snapshot.ref);
 await unlink(outputPath);

 console.log('MP4 file converted to MP3 and uploaded to Firebase Storage successfully!');
 console.log('Download URL:', downloadURL);
 } catch (error) {
 console.error('Error:', error);
 }
}

const inputPath = './video.mp4';
const date = Date.now();
const firebaseStoragePath = `./${date}.mp3`;

convertMP4ToMP3AndUploadToFirebase(inputPath, firebaseStoragePath);



-
Cannot open RTMP stream with FFMPEG Java Cannot assign requested address
12 novembre 2023, par lastpeony4I am trying to open an RTMP stream with
avformat_open_input
and for some reason i keep gettingCannot assign requested address
error.

My RTMP URL is correct because i can watch the stream using VLC Player and ffmpeg command line :

ffmpeg -i rtmp://1.1.1.1/app/teststream -vcodec copy -acodec copy output.mp4


int timeout = 2500;
setConnectionTimeout(timeout);

AVDictionary optionsDictionary = new AVDictionary();

String timeoutStr = String.valueOf(this.timeoutMicroSeconds);
av_dict_set(optionsDictionary, "timeout", timeoutStr, 0);

int analyzeDurationUs = 1500 * 1000;
String analyzeDuration = String.valueOf(analyzeDurationUs);
av_dict_set(optionsDictionary, "analyzeduration", analyzeDuration, 0);

int ret;

if ((ret = avformat_open_input(inputFormatContext, streamUrl, null, optionsDictionary)) < 0) {
 // ERROR Cannot assign requested address
}



I am using
org.bytedeco:ffmpeg:5.1.2-1.5.8 (ffmpeg-5.1.2-1.5.8.jar)


Why i can't open it ?


-
What open source software would be best for reading in raw data from an SDR / USRP and decoding ATSC1.0 video and playing it ?
18 août 2023, par railsnoobI've had luck with GNU Radio for ATSC1.0 decode from USRP data and sending the mpeg transport stream to VLC to be played but eventually I would like to have other DTV standards decoded.


I started looking into packages with full DTV support and saw that VLC has TV tuner control/access, but if I have a USRP I'm not sure I could configure VLC to control that, or if I'd even want it to. But since it can go from tuner control to video playback there must be a command/configuration which just has it read from a raw data file that I captured from the USRP, right ?


Does anyone know how to go from raw captured ATSC channel to MPEG transport stream on VLC, FFMPEG, or any other software packages ?