Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (94)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (9611)

  • Live streaming Rmtp node-media-server real server not creating video files but wont fail (OBS)

    3 octobre 2020, par Orgil

    I have made a live streaming server with node-media-server and it works well in local but when i put it on a real server (ubuntu, nginx) its just creating the folder but not creating video files and no errors given OBS the streaming sofware not failing. is it something to do with ffmpeg ? maybe needed packages didnt install or ? idk whats going on :D

    


    Cofig of node-media-server :

    


    rtmp_server: {
    rtmp: {
        port: 1935,
        chunk_size: 60000,
        gop_cache: false,
        ping: 60,
        ping_timeout: 30
    },
    http: {
        port: 8088,
        mediaroot: '/home/ubuntu/projects/amjilt_media/media',
        allow_origin: '*'
    },
    trans: {
        ffmpeg: '/usr/bin/ffmpeg',
        // ffmpeg: 'C:/Users/User/Desktop/ffmpeg/bin/ffmpeg.exe',
        tasks: [
            {
                app: 'live',
                hls: true,
                hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]',
                dash: true,
                dashFlags: '[f=dash:window_size=3:extra_window_size=5]'
            }
        ]
    }
}


    


  • Getting content-length of a live-re-encoded video

    9 avril 2021, par Marius

    So, i have a lot of hevc(h265) video on a remote http server, that i want to serve as h264 through ffmpeg and nodejs. I've had a bunch of issues with content-length, or in general just getting skipping, and video duration to work properly.

    


    So the main problem is getting content-length, or any other header to make duration and skipping work properly.

    


    I've tried calculating approx content-length, but it never seems to match properly.

    


    My code so far :

    


    express setup here....
app.get('/', (req, res) => {
    res.contentType('mp4');
    
    ffmpeg(remote_video_url)
        .inputOption([
            "-hwaccel auto",
        ])
        .outputOptions(['-movflags isml+frag_keyframe'])
        .videoCodec('h264_nvenc')
        .toFormat('mp4')
        .on('error', (err,stdout,stderr) => {
            console.log('an error happened: ' + err.message);
            console.log('ffmpeg stdout: ' + stdout);
            console.log('ffmpeg stderr: ' + stderr);
        })
        .on('end', () => {
            console.log('Processing finished !');
        })
        .on('progress', (progress) => {
            console.log('Processing: ' + progress.percent + '% done');
        })
        .pipe(res, {end: true});
})


    


    Any help would be greatly appreciated

    


  • Crash while using ffmpeg4android using Galaxy s6 edge device

    21 juillet 2016, par Amira Elsayed Ismail

    I am using ffmpeg4android_lib to compress video in my android application, it is working in almost all testing devices but it does not work in Galaxy s6 edge and Galaxy s7 edge.

    my code as following :

    String inputFile = FileManager.getInstance().getRealPathFromVideoUri(context, video);
    Log.i("INPUT FILE PATH", inputFile);

    LoadJNI vk = new LoadJNI();
    try {
           String workFolder = context.getApplicationContext().getFilesDir().getAbsolutePath();
           String outputFile = FileManager.getInstance().getFileFullName(ForSaleConstants.VIDEO_FOLDER,
           String.format(ForSaleConstants.VIDEO_NAME_FILE_FORMAT,      ForSaleConstants.VIDEO_NAME_FILE_NAME_PREFIX, System.currentTimeMillis()));

           String complexCommand[] = {
               "ffmpeg", "-y"
               , "-i", inputFile
               , "-strict", "experimental"
               , "-s", "320x240"
               , "-r", "25"
               , "-aspect", "4:3"
               , "-ab", "48000"
               , "-ac", "2"
               , "-vcodec", "mpeg4"
               , "-movflags", "+faststart"
               , "-ar", "22050"
               , "-b", "2097k"
               , outputFile};
               vk.run(complexCommand, workFolder, context.getApplicationContext());
               Log.i("OUTPUT FILE PATH", outputFile);
               return outputFile;
       } catch (Throwable e) {
           ForSaleServerManager.getInstance().logAndroidError("Couldn't compress video file");
           return null;
       }

    The crash as following :

    nativeLibraryDirectories=[/data/app/com.forsale.forsale-1/lib/arm64, /data/app/com.forsale.forsale-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libloader-jni.so"
    at java.lang.Runtime.loadLibrary(Runtime.java:367)
    at java.lang.System.loadLibrary(System.java:1076)
    at com.netcompss.loader.LoadJNI.<clinit>(LoadJNI.java:13)
    </clinit>