Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (112)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • 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 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (14798)

  • avcodec, avutil : allow more control about how samples are skipped

    27 septembre 2014, par wm4
    avcodec, avutil : allow more control about how samples are skipped
    

    Add CODEC_FLAG2_SKIP_MANUAL (exposed as "skip_manual"), which makes
    the decoder export sample skip information via side data, instead
    of applying it automatically. The format of the side data is the
    same as AV_PKT_DATA_SKIP_SAMPLES, but since AVPacket and AVFrame
    side data constants overlap, AV_FRAME_DATA_SKIP_SAMPLES needs to
    be introduced.

    This is useful for applications which want to do the timestamp
    calculations manually, or which actually want to retrieve the
    padding.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/APIchanges
    • [DH] libavcodec/avcodec.h
    • [DH] libavcodec/options_table.h
    • [DH] libavcodec/utils.c
    • [DH] libavcodec/version.h
    • [DH] libavutil/frame.h
    • [DH] libavutil/version.h
  • How to fix the problem I'm having with FFmpeg ?

    23 février 2023, par John

    I'm working with the ffmpeg library to convert mp4 video files to mp3 audio files.&#xA;Here is my code :

    &#xA;

    package com.exer;&#xA;&#xA;&#xA;import android.app.Activity;&#xA;import android.app.ProgressDialog;&#xA;import android.os.Bundle;&#xA;import android.os.Environment;&#xA;import android.widget.Toast;&#xA;import com.github.hiteshsondhi88.libffmpeg.ExecuteBinaryResponseHandler;&#xA;import com.github.hiteshsondhi88.libffmpeg.FFmpeg;&#xA;import com.github.hiteshsondhi88.libffmpeg.FFmpegLoadBinaryResponseHandler;&#xA;&#xA;public class MainActivity extends Activity {&#xA;    &#xA;    FFmpeg ffmpeg;&#xA;    private ProgressDialog progressDialog;&#xA;    &#xA;    &#xA;    @Override&#xA;    protected void onCreate(Bundle savedInstanceState) {&#xA;        super.onCreate(savedInstanceState);&#xA;        setContentView(R.layout.activity_main);&#xA;    &#xA;        &#xA;        &#xA;        try {&#xA;            setUp();&#xA;            String[] command = {&#xA;                "-i", getPaths()&#x2B;"/dir/input.mp4", "-vn", getPaths()&#x2B;"/dir/output.mp3"&#xA;            };&#xA;            //convert("ffmpeg -i input.mp4 -vn output.mp3");&#xA;            convert(command);&#xA;            &#xA;        } catch (Exception e) {&#xA;            Toast.makeText(getApplicationContext(), e.getCause().toString(), Toast.LENGTH_SHORT).show();&#xA;        }&#xA;    }&#xA;    &#xA;    &#xA;    public void setUp() throws Exception {&#xA;        &#xA;        if(ffmpeg == null) {&#xA;            &#xA;            ffmpeg = FFmpeg.getInstance(this);&#xA;            ffmpeg.loadBinary(new FFmpegLoadBinaryResponseHandler(){&#xA;                    &#xA;            @Override&#xA;            public void onFailure() {&#xA;                Toast.makeText(getApplicationContext(), "failed to load library", Toast.LENGTH_SHORT).show();   &#xA;            }&#xA;                    &#xA;            @Override&#xA;            public void onSuccess() {&#xA;                Toast.makeText(getApplicationContext(), "loaded!", Toast.LENGTH_SHORT).show();&#xA;            }&#xA;                    &#xA;            @Override&#xA;            public void onStart() {&#xA;                        &#xA;            }&#xA;                    &#xA;            @Override&#xA;            public void onFinish() {&#xA;                        &#xA;            }&#xA;                    &#xA;                    &#xA;            });&#xA;            &#xA;        }&#xA;        &#xA;    }&#xA;    &#xA;    &#xA;    private void convert(String[] cmd) throws Exception {&#xA;        &#xA;        ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler(){&#xA;            &#xA;            @Override&#xA;            public void onFailure(String message){&#xA;                super.onFailure(message);&#xA;            }&#xA;            &#xA;            @Override&#xA;            public void onFinish(){&#xA;                super.onFinish();&#xA;                Toast.makeText(getApplicationContext(), "finished!", Toast.LENGTH_SHORT).show();&#xA;            }&#xA;            &#xA;            @Override&#xA;            public void onStart(){&#xA;                super.onStart();&#xA;                Toast.makeText(getApplicationContext(), "start conversion...", Toast.LENGTH_SHORT).show();&#xA;            }&#xA;            &#xA;            @Override&#xA;            public void onProgress(String message){&#xA;                super.onProgress(message);&#xA;            }&#xA;        });&#xA;        &#xA;    &#xA;    }&#xA;    &#xA;    private String getPaths() {&#xA;        return Environment.getExternalStorageDirectory().getPath();&#xA;    }&#xA;    &#xA;}&#xA;

    &#xA;

    When I run the app, the Toast messages are shown :

    &#xA;

    loaded!&#xA;start converting...&#xA;finished! as I write them in the functions, apart that nothing else happens the file is not converted what's wrong ?

    &#xA;

    Here my manifest file :

    &#xA;

    &lt;?xml version="1.0" encoding="utf-8"?>&#xA;<manifest package="com.exer">&#xA;    &#xA;    &#xA;    &#xA;    &#xA;    &#xA;        &#xA;            &#xA;                <action></action>&#xA;&#xA;                <category></category>&#xA;            &#xA;        &#xA;    &#xA;&#xA;</manifest>&#xA;

    &#xA;

    I've tried to delete the specified file on the phone to see what erros I might got, but still those three Toasts.

    &#xA;

  • Improve hls VOD mode hls performance problem.

    19 août 2018, par Ronak Patel
    Improve hls VOD mode hls performance problem.
    

    This fixes the creation of the hls manifest in hlsenc.c by writing the
    entire manifest at the end for VOD playlists. Live & Event Playlists are unaffected.
    This also fixes the behavior with HLS_TEMP_FILE to work correctly when
    - hlsflags temp_file is specified, instead of always relying on use_rename, which caused these problems.

    Files that would previously take over a week to fragment now take
    1 minute on the same hardware. This was a 153 hour audio file (2.2GB of audio).

    Signed-off-by : Ronak Patel <ronak2121@yahoo.com>

    • [DH] libavformat/hlsenc.c