Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (46)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

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

    1er avril 2024, par Harsha
    


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

    


    


    I am using this dependencies
implementation 'com.writingminds:FFmpegAndroid:0.3.2'

    


    


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

    


    


  • Apache Tika 2.0.9 programm ffmpeg and exiftool not found ?

    6 avril 2024, par mj44

    I use an JavaFX Maven Project to use Apache Tika Version 2.9.0.
The Java Test program will be finished and all methods that I create will done right.
I have in the log file a lot of DEBUG errors and Idon't know why ?
I habe spent many hours to clear the problem.

    


    Here's an excerpt of the logfile

    


    2024-04-03 14:56:12 [main] DEBUG org.apache.tika.parser.external.ExternalParser - exception trying to run  ffmpeg
java.io.IOException: Cannot run program "ffmpeg": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1140) ~[?:?]
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1074) ~[?:?]
...
2024-04-03 14:56:12 [main] DEBUG org.apache.tika.parser.external.ExternalParser - exception trying to run  exiftool
java.io.IOException: Cannot run program "exiftool": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1140) ~[?:?]
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1074) ~[?:?]
...



    


    The message says that ffmpeg and exiftool are not found.

    


    This is my tika-config.xml

    


    &lt;?xml version="1.0" encoding="UTF-8"?>&#xA;<properties>&#xA;    <parsers>&#xA;        <parser class="org.apache.tika.parser.DefaultParser"></parser>&#xA;        <parser class="org.apache.tika.parser.pdf.PDFParser"></parser>&#xA;        &#xA;        <parser class="org.apache.tika.parser.external.ExternalParser">&#xA;            <params>&#xA;                true&#xA;                &#xA;                "D:\Tools\ffmpeg-6.1.1\bin\ffmpeg.exe"&#xA;            </params>&#xA;        </parser>&#xA;        &#xA;        <parser class="org.apache.tika.parser.external.ExternalParser">&#xA;            <params>&#xA;                true&#xA;                &#xA;                "D:\Tools\exiftool.exe"&#xA;            </params>&#xA;        </parser>&#xA;    </parsers>&#xA;    <detector>&#xA;        <detector class="org.apache.tika.detect.DefaultDetector"></detector>&#xA;    </detector>&#xA;</properties>&#xA;

    &#xA;

    I tested the path of the programms in a console ant it worked fine ?&#xA;I don't know what I can do now ?

    &#xA;

    Thanks for Help

    &#xA;

    I have downloaded new copies of the ffmpeg and exiftool and installed them.&#xA;I tested it in a console to run and both tools work fine.&#xA;I tested the permissions, no problems with permissions&#xA;I tested that the tika-config.xml will be loaded, it loaded.

    &#xA;

  • FFMPEG convert videos using Automator [closed]

    8 janvier, par FilipPro

    I'm trying to use Apple Automator (v2.10, Sonoma 14.7.1, Apple M1) to select a folder and convert all MP4 files to WMV files using FFMPEG. The user is supposed to export files from Final Cut Pro in MP4, put them in a folder of their choice and then start the automation by having to select the folder where MP4 files are saved.

    &#xA;

    FFMPEG is installed via Homebrew and the installation folder was found via "which ffmpeg" ( /opt/homebrew/bin/ffmpeg ).

    &#xA;

    This is the worklow I currently have : Full Automator Workflow

    &#xA;

      &#xA;
    1. Run AppleScript

      &#xA;

        &#xA;
      1. &#xA;
        on run {input, parameters}&#xA;&#xA;  tell application "System Events"&#xA;    activate&#xA;    return text returned of (display dialog "Enter administrator password" default answer "" with hidden answer)&#xA;  end tell&#xA;&#xA;  return input&#xA;end run&#xA;

        &#xA;

      2. &#xA;

      &#xA;

    2. &#xA;

    3. Run Shell script (/bin/zsh, no input required)

      &#xA;

        &#xA;
      1. &#xA;
        sudo -S id -u&#xA;

        &#xA;

      2. &#xA;

      &#xA;

    4. &#xA;

    5. Ask for Finder elements

      &#xA;

        &#xA;
      1. Select folder, starting from "Downloads" folder, no multiple selection
      2. &#xA;

      &#xA;

    6. &#xA;

    7. Run Shell script (/bin/zsh, input as arguments)

      &#xA;

        &#xA;
      1. &#xA;
        cd "$1"&#xA;&#xA;for f in *.mp4; do&#xA;  osascript -e "display notification \"Converting file: $f \" with title \"Video Conversion\""&#xA;  sudo /opt/homebrew/bin/ffmpeg -i "$f" -c:v wmv2 -b:v 3000k -c:a wmav2 -b:c 192k "${f%.*}.wmv"&#xA;  if [ $? -eq 0 ]; then&#xA;      osascript -e "display notification \"Converted file: $f \" with title \"Video Conversion\""&#xA;  else&#xA;      osascript -e "display notification \"Error converting file: $f \" with title \"Video Conversion\""&#xA;  fi&#xA;done&#xA;

        &#xA;

      2. &#xA;

      &#xA;

    8. &#xA;

    &#xA;

    The actual script (step 4) works perfectly if handtyped in Terminal but FFMPEG return "Error opening output files : Invalid argument" when run within the Automator workflow.

    &#xA;

    This is the output of step 4 (I added *REDACTED FOR PRIVACY* instead of actual filenames) :

    &#xA;

    ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers&#xA;built with Apple clang version 16.0.0 (clang-1600.0.26.4)&#xA;configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.1_3 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags=&#x27;-Wl,-ld_classic&#x27; --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon&#xA;libavutil      59. 39.100 / 59. 39.100&#xA;libavcodec     61. 19.100 / 61. 19.100&#xA;libavformat    61.  7.100 / 61.  7.100&#xA;libavdevice    61.  3.100 / 61.  3.100&#xA;libavfilter    10.  4.100 / 10.  4.100&#xA;libswscale      8.  3.100 /  8.  3.100&#xA;libswresample   5.  3.100 /  5.  3.100&#xA;libpostproc    58.  3.100 / 58.  3.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;*REDACTED FOR PRIVACY*&#x27;:&#xA;Metadata:&#xA;major_brand     : mp42&#xA;minor_version   : 1&#xA;compatible_brands: isommp41mp42&#xA;creation_time   : 2024-12-30T17:06:35.000000Z&#xA;Duration: 00:00:15.00, start: 0.000000, bitrate: 5122 kb/s&#xA;Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 5119 kb/s, SAR 1:1 DAR 16:9, 24 fps, 24 tbr, 24k tbn (default)&#xA;Metadata:&#xA;creation_time   : 2024-12-30T17:06:35.000000Z&#xA;handler_name    : Core Media Video&#xA;vendor_id       : [0][0][0][0]&#xA;Trailing garbage at the end of a stream specifier: c&#xA;Error opening output file *REDACTED FOR PRIVACY*.&#xA;Error opening output files: Invalid argument”&#xA;

    &#xA;