Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (21)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (6747)

  • lavu/hwcontext_qsv : use mfxImplDescription instead of mfxExtendedDeviceId on Linux

    27 novembre 2023, par Haihao Xiang
    lavu/hwcontext_qsv : use mfxImplDescription instead of mfxExtendedDeviceId on Linux
    

    mfxExtendedDeviceId mightn't be supported in certain configurations of
    oneVPL on Linux, so we can't ensure a property filter for
    mfxExtendedDeviceId.DeviceID or mfxExtendedDeviceId.VendorID works as
    expected. This fixed the issue mentioned in [1]

    [1] http://ffmpeg.org/pipermail/ffmpeg-user/2023-October/056983.html

    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavutil/hwcontext_qsv.c
  • FFmpeg - Overlay multiple layers of transparent webm files [closed]

    27 octobre 2023, par Jens

    I am trying to overlay multiple layers ( up to 8 layers ) of transparent webm files to an mp4 file.

    &#xA;

    If I do this for 2 layers, it works but ignores the alpha channel.

    &#xA;

    ffmpeg  -i 1.webm -i 2.webm  -c:a copy -filter_complex "[0:v][1:v] overlay=0:0:enable=&#x27;between(t,0,20)&#x27;" output.mp4&#xA;

    &#xA;

    I specify libvpx-vp9 to get the alpha channel as well

    &#xA;

    ffmpeg -c:v libvpx-vp9 -i 1.webm -c:v libvpx-vp9 -i 2.webm -c:a copy -filter_complex "[0:v][1:v] overlay=0:0:enable=&#x27;between(t,0,20)&#x27;" output.mp4&#xA;

    &#xA;

    Then I get an error.

    &#xA;

    [libvpx-vp9 @ 0x7f9bd8d04840] Failed to decode frame: Unspecified internal error&#xA;    Last message repeated 3 times&#xA;[libvpx-vp9 @ 0x7f9bd8d04840] Failed to decode frame: Bitstream not supported by this decoder&#xA;    Last message repeated 8 times&#xA;[matroska,webm @ 0x7f9bd8f04880] Could not find codec parameters for stream 0 (Video: vp9 (libvpx-vp9) (Profile 3), none, 1080x1080): unspecified pixel format&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; (0) and &#x27;probesize&#x27; (5000000) options&#xA;Input #0, matroska,webm, from &#x27;1.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : WS Matroska Muxer&#xA;    creation_time   : 2023-09-11T14:55:34.000000Z&#xA;  Duration: 00:00:20.00, start: 0.000000, bitrate: 1775 kb/s&#xA;  Stream #0:0: Video: vp9 (Profile 3), none, 1080x1080, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 1k tbn (default)&#xA;    Metadata:&#xA;      alpha_mode      : 1&#xA;  Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)&#xA;&#xA;and&#xA;&#xA;Failed to decode frame: Unspecified internal error&#xA;Error while decoding stream #0:0: Invalid data found when processing input&#xA;Cannot determine format of input stream 0:0 after EOF&#xA;

    &#xA;

    I have tried to increasing the value for the 'analyzeduration' and 'probesize', but it makes no difference.

    &#xA;

    ffprobe of 1.webm

    &#xA;

    ffprobe version 6.0 Copyright (c) 2007-2023 the FFmpeg developers&#xA;  built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0-with-options_4 --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash --enable-opencl --enable-audiotoolbox --enable-videotoolbox --disable-htmlpages --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfdk-aac --enable-libgme --enable-libgsm --enable-libmodplug --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-libsvtav1 --enable-librist --enable-librsvg --enable-librtmp --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtesseract --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libwebp --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-openssl --enable-nonfree --enable-libjack --enable-indev=jack --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb&#xA;  libavutil      58.  2.100 / 58.  2.100&#xA;  libavcodec     60.  3.100 / 60.  3.100&#xA;  libavformat    60.  3.100 / 60.  3.100&#xA;  libavdevice    60.  1.100 / 60.  1.100&#xA;  libavfilter     9.  3.100 /  9.  3.100&#xA;  libswscale      7.  1.100 /  7.  1.100&#xA;  libswresample   4. 10.100 /  4. 10.100&#xA;  libpostproc    57.  1.100 / 57.  1.100&#xA;Input #0, matroska,webm, from &#x27;1.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : WS Matroska Muxer&#xA;    creation_time   : 2023-09-11T14:55:34.000000Z&#xA;  Duration: 00:00:20.00, start: 0.000000, bitrate: 1775 kb/s&#xA;  Stream #0:0: Video: vp8, yuv420p(progressive), 1080x1080, SAR 1:1 DAR 1:1, 30 fps, 30 tbr, 1k tbn (default)&#xA;    Metadata:&#xA;      alpha_mode      : 1&#xA;  Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)&#xA;

    &#xA;

    Any ffmpeg wizards with an idea ?

    &#xA;

  • Java shelling out to FFMPEG not running nor giving error

    4 janvier, par Todd

    I'm writing a Podcast downloader where I want to be able to download one or more podcasts then run them through FFMPEG.

    &#xA;

    It does run when I run the program in Windows.
    &#xA;It does not run when I run the program in Linux - Meaning FFMPEG may or may not have been called. I have no way of knowing. I get a -1 back from process.waitfor() but no error in my Java logs and no entries at all in the ffmpeg.log file. And there is no file in the processed file directory that FFMPEG would have created.
    &#xA;It does run in Linux if I run the same command that fails in Java from the command line.

    &#xA;

    FFMPEG has the permissions : rwxr-xr-x , so it doesn't seem as if it'd be a permission error. The Java code looks like :

    &#xA;

        ProcessBuilder processBuilder = new ProcessBuilder( commands );&#xA;    processBuilder.redirectErrorStream( true );&#xA;    //  Added the next line to see if I could log an error from ffmpeg&#xA;    processBuilder.redirectOutput( ProcessBuilder.Redirect.appendTo( new File( "./ffmpeg.log" ) ) );&#xA;&#xA;    Process process = processBuilder.start();&#xA;    BufferedReader bufferedOutputReader = new BufferedReader( new InputStreamReader( process.getInputStream() ) );&#xA;    do {&#xA;        outputString = bufferedOutputReader.readLine();&#xA;        if ( outputString != null ) {&#xA;            LOGGER.trace( outputString );&#xA;        }&#xA;    } while ( outputString != null );&#xA;    results = process.waitFor();&#xA;    LOGGER.debug( "Exit value: " &#x2B; results );&#xA;

    &#xA;

    The commands are :

    &#xA;

    2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: /bin/ffmpeg &#xA;2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: -y &#xA;2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: -i &#xA;2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: "/home/todd/aggregator/incoming/Downrange Radio/Downrange_Radio_2023-02-15_The_Avidity_PD-10_Delivers_.mp3" &#xA;2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: -ac &#xA;2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: 1 &#xA;2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: -af &#xA;2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: "atempo=1.4,volume=1.4" &#xA;2023-10-25 16:21:52,452 224257 [pool-1-thread-4] DEBUG org.sperbolink.utils.CodecUtils - command string: "/home/todd/aggregator/processed/Downrange Radio/Downrange_Radio_2023-02-15_The_Avidity_PD-10_Delivers_.mp3"&#xA;

    &#xA;

    And the manually constructed and run command line that DOES work is :

    &#xA;

    /bin/ffmpeg -y -i "/home/todd/aggregator/incoming/Downrange Radio/Downrange_Radio_2023-02-15_The_Avidity_PD-10_Delivers_.mp3" -ac 1 -af "atempo=1.4,volume=1.4" "/home/todd/aggregator/processed/Downrange Radio/Downrange_Radio_2023-02-15_The_Avidity_PD-10_Delivers_.mp3"&#xA;

    &#xA;

    The ffmpeg.log file is empty, so I'm doubting whether FFMPEG is ever being reached.

    &#xA;

    What am I doing wrong ?

    &#xA;

    EDIT :&#xA;I changed the commands to be

    &#xA;

    "/bin/ffmpeg 2> foo.txt" &#xA;

    &#xA;

    and the execution code to :

    &#xA;

        ProcessBuilder processBuilder = new ProcessBuilder( commands );&#xA;//        processBuilder.redirectErrorStream( true );&#xA;    //  Added the next line to see if I could log an error from ffmpeg&#xA;//        processBuilder.redirectOutput( ProcessBuilder.Redirect.appendTo( new File( "./ffmpeg.log" ) ) );&#xA;        Process process = processBuilder.start();&#xA;        results = process.waitFor();&#xA;

    &#xA;

    Running that command from the command line displays a list of MMPEG commands that can be run within foo.txt. Upon running from within the Java app, the foo.txt file is empty, so it doesn't appear that FFMPEG ever gets reached. But, I'm clueless why not.

    &#xA;

    EDIT 2 :&#xA;I converted the /bin/ffmpeg path to uppercase to see if that would return an error and it did.

    &#xA;

    ERROR org.mrpc.utilities.ShellUtils - Cannot run program "/BIN/FFMPEG": error=2, No such file or directory&#xA;

    &#xA;

    This seems to confirm that the Java Process object can locate ffmpeg successfully when it is properly cased (i.e. my original code) as I don't see an error message when the case is incorrect. Still not sure why nothing happens when it is called.

    &#xA;

    EDIT 3 :&#xA;I punted on this a year ago, but recently had to revisit. This time I found the answer. It is because I included double quotes around some of the command parameters. That caused the files to not be found. This link states that the Process class handles embedded spaces without any intervention required by you : ProcessBuilder adds extra quotes to command line

    &#xA;