Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (81)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (9089)

  • avformat/rcwtdec : add RCWT Closed Captions demuxer

    2 avril 2024, par Marth64
    avformat/rcwtdec : add RCWT Closed Captions demuxer
    

    RCWT (Raw Captions With Time) is a format native to ccextractor,
    a commonly used OSS tool for processing 608/708 Closed Captions (CC).
    RCWT can be used to archive the original extracted CC bitstream.
    The muxer was added in January 2024. In this commit, add the demuxer.

    One can now demux RCWT files for rendering in ccaption_dec or interop
    with ccextractor (which produces RCWT). Using the muxer/demuxer combo,
    the CC bits can be kept for processing or rendering with either tool.
    This can be an effective way to backup an original CC stream, including
    format extensions like EIA-708 and overall original presentation.

    Signed-off-by : Marth64 <marth64@proxyid.net>

    • [DH] Changelog
    • [DH] doc/demuxers.texi
    • [DH] libavformat/Makefile
    • [DH] libavformat/allformats.c
    • [DH] libavformat/rcwtdec.c
  • java.io.IOException : Cannot run program "/data/user/0/com.voi.myapplication8/files/ffmpeg" : error=13, Permission denied

    1er avril 2024, par Harsha
    &#xA;

    java.io.IOException : Cannot run program&#xA;"/data/user/0/com.voi.myapplication8/files/ffmpeg" : error=13,&#xA;Permission denied

    &#xA;

    &#xA;

    I am using this dependencies&#xA;implementation 'com.writingminds:FFmpegAndroid:0.3.2'

    &#xA;

    &#xA;

    2024-03-31 21:40:31.045 15937-16762 FFmpeg
    &#xA;com.voi.myapplication8 E Exception while trying to run :&#xA;[Ljava.lang.String ;@71d4c0f&#xA;java.io.IOException : Cannot run program&#xA;"/data/user/0/com.voi.myapplication8/files/ffmpeg" : error=13,&#xA;Permission denied&#xA;at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)&#xA;at java.lang.Runtime.exec(Runtime.java:712)&#xA;at java.lang.Runtime.exec(Runtime.java:571)&#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)&#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)&#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)&#xA;at android.os.AsyncTask$3.call(AsyncTask.java:394)&#xA;at java.util.concurrent.FutureTask.run(FutureTask.java:264)&#xA;at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)&#xA;at&#xA;java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&#xA;at&#xA;java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)&#xA;at java.lang.Thread.run(Thread.java:1012)&#xA;Caused by : java.io.IOException : error=13, Permission denied&#xA;at java.lang.UNIXProcess.forkAndExec(Native Method)&#xA;at java.lang.UNIXProcess.(UNIXProcess.java:133)&#xA;at java.lang.ProcessImpl.start(ProcessImpl.java:141)&#xA;at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)&#xA;at java.lang.Runtime.exec(Runtime.java:712) &#xA;at java.lang.Runtime.exec(Runtime.java:571) &#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10) &#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38) &#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10) &#xA;at android.os.AsyncTask$3.call(AsyncTask.java:394) &#xA;at java.util.concurrent.FutureTask.run(FutureTask.java:264) &#xA;at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305) &#xA;at&#xA;java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) &#xA;at&#xA;java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) &#xA;at java.lang.Thread.run(Thread.java:1012)  2024-03-31 21:40:31.045&#xA;15937-15937 FFmpeg com.voi.myapplication8
    &#xA;E Video cropping failed :

    &#xA;

    &#xA;

  • Filter concat has an unconnected output while Video concatenation in ffmpeg wrapper in java

    28 février 2024, par Thor

    I am trying to stitch variable number of videos using ffmpeg wrapper.

    &#xA;

    I have this code :

    &#xA;

    private void videoStich(List<string> videoPaths){&#xA;        FFmpeg ffmpeg = null;&#xA;        FFprobe ffprobe=null;&#xA;        String stitchedOutputPath = outputFolder &#x2B; "/stitched_output.mp4";&#xA;&#xA;        try {&#xA;            ffmpeg = new FFmpeg();&#xA;            ffprobe = new FFprobe();&#xA;        } catch (IOException e) {&#xA;            throw new RuntimeException(e);&#xA;        }&#xA;&#xA;&#xA;        FFmpegBuilder builder = new FFmpegBuilder();&#xA;&#xA;        for (int i = 0; i &lt; videoPaths.size(); i&#x2B;&#x2B;) {&#xA;            String videoPath = videoPaths.get(i);&#xA;            builder.addInput(videoPath);&#xA;        }&#xA;&#xA;        // Add complex filter for concatenation&#xA;        StringBuilder complexFilter = new StringBuilder();&#xA;        for (int i = 0; i &lt; videoPaths.size(); i&#x2B;&#x2B;) {&#xA;            complexFilter.append("[").append(i).append(":v][").append(i).append(":a]");&#xA;//            if (i &lt; videoPaths.size() - 1) {&#xA;//                complexFilter.append("[");&#xA;//            }&#xA;        }&#xA;        complexFilter.append("concat=n=").append(videoPaths.size()).append(":v=1:a=1[v][a]");&#xA;&#xA;        builder.setComplexFilter(complexFilter.toString())&#xA;                .addOutput(stitchedOutputPath)&#xA;                .setFormat("mp4")&#xA;                .done();&#xA;&#xA;        FFmpegExecutor executor = new FFmpegExecutor(ffmpeg, ffprobe);&#xA;        executor.createJob(builder).run();&#xA;    }&#xA;</string>

    &#xA;

    but getting this error :

    &#xA;

    2024-02-28T16:30:53.033&#x2B;05:30  INFO 4711 --- [sample_project] [pool-3-thread-1] net.bramp.ffmpeg.RunProcessFunction      : ffmpeg -version&#xA;2024-02-28T16:30:53.126&#x2B;05:30  INFO 4711 --- [sample_project] [pool-3-thread-1] net.bramp.ffmpeg.RunProcessFunction      : ffmpeg -y -v error -i src/main/resources/cutted_videos/0_trimmed.mp4 -i src/main/resources/cutted_videos/1_trimmed.mp4 -filter_complex [0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[v][a] -f mp4 src/main/resources/cutted_videos/stitched_output.mp4&#xA;Filter concat has an unconnected output&#xA;java.lang.RuntimeException: java.io.IOException: ffmpeg returned non-zero exit status. Check stdout.&#xA;

    &#xA;

    I have been trying to fix this since a long time and didn't find any issue with the filter, it is looking good to me. Can anyone help me with it ?

    &#xA;

    EDIT :&#xA;I found that when I use this command in terminal :

    &#xA;

    ffmpeg -i in1.mp4 -i in2.mp4\&#xA;            -filter_complex "[0:v] [0:a] [1:v] [1:a] \&#xA;concat=n=2:v=1:a=1 [v] [a]" \&#xA;            -f mp4  output_test5.mp4&#xA;

    &#xA;

    it didn ;t work&#xA;while when i used this :

    &#xA;

    ffmpeg -i in1.mp4 -i in2.mp4\&#xA;            -filter_complex "[0:v] [0:a] [1:v] [1:a] \&#xA;concat=n=2:v=1:a=1 [v] [a]" \&#xA;            -f mp4 -map "[v]" -map "[a]" output_test4.mp4&#xA;

    &#xA;

    it worked. I think i need to add -map "[v]" -map "[a]" somehow in the code.

    &#xA;

    but when i try to add :&#xA;builder.setComplexFilter(complexFilter.toString())&#xA;.addOutput(stitchedOutputPath)&#xA;.setFormat("mp4")&#xA;.map()&#xA;.done() ;

    &#xA;

    or

    &#xA;

    builder.setComplexFilter(complexFilter.toString())&#xA;.addOutput(stitchedOutputPath)&#xA;.setFormat("mp4")&#xA;.setMap()&#xA;.done() ;

    &#xA;

    both .set() or setMap() doesn't exist. What to do, how to do ?

    &#xA;