Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (50)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (6206)

  • Is there any way to control the video bitrate using FFmpeg Complex Filter other than -b:v ?

    8 février 2017, par srujith poondla

    I am trying to compress the video size by reducing the bitrate. I successfully achieved using -b:v in ffmpeg, its working perfectly. But that is not a filter so i am unable to chain the ffmpeg commands one after the other. Is there any other video filter in ffmpeg that controls the bitrate of the video so that i can chain the ffmpeg commands like mentioned in this link Filter Chaining FFmpeg

  • 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;