Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (40)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à 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, par

    MediaSPIP 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 2011

    MediaSPIP 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 (10503)

  • Could not open codec 'libopenh264' : Unspecified error

    15 novembre 2023, par Gingerbread

    I am using OpenCV to process videos for my research. I have Python 2.7 and OpenCV 3.2 versions installed on Windows 10. When I do background subtraction on a video in Python using OpenCV, it works fine and produces the output. However, when I try to save the background subtracted video, it throws this error :

    



    warning: Error opening file (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:779)
warning: MAH00119.avi (/build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:780)
OpenCV: FFMPEG: tag 0x34363258/'X264' is not supported with codec id 28 and format 'h264 / raw H.264 video'

Failed to load OpenH264 library: openh264-1.6.0-win64msvc.dll
    Please check environment and/or download library: https://github.com/cisco/openh264/releases

[libopenh264 @ 0000000001f5bf60] Incorrect library version loaded
Could not open codec 'libopenh264': Unspecified error


    



    I am processing MP4 videos. And I followed the instructions carefully while installing ffmpeg, like adding the bin's path to environment variables. I don't know what else to do. Stuck on this for three days now.

    



    Any help would be much appreciated !
Thanks in advance !!

    


  • Error : [Error : ENOENT : no such file or directory, open './1695556319341.mp3']

    24 septembre 2023, par James

    I'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 lastpeony4

    I am trying to open an RTMP stream with avformat_open_input and for some reason i keep getting Cannot 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 ?