Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (55)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

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

Sur d’autres sites (11178)

  • lavc : Deprecate avctx.me_method

    7 juillet 2015, par Vittorio Giovara
    lavc : Deprecate avctx.me_method
    

    This option is extremely codec specific and only a few codecs employ it.
    Move it to codec private options instead : mpegenc family supports only 3
    values, xavs and x264 use 5, and xvid has a different metric entirely.

    Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>

    • [DBH] doc/encoders.texi
    • [DBH] libavcodec/avcodec.h
    • [DBH] libavcodec/libx264.c
    • [DBH] libavcodec/libxavs.c
    • [DBH] libavcodec/libxvid.c
    • [DBH] libavcodec/motion_est.c
    • [DBH] libavcodec/motion_est.h
    • [DBH] libavcodec/mpegvideo.h
    • [DBH] libavcodec/mpegvideo_enc.c
    • [DBH] libavcodec/options_table.h
    • [DBH] libavcodec/svq1enc.c
    • [DBH] libavcodec/svq1enc.h
    • [DBH] libavcodec/version.h
    • [DBH] libavcodec/wmv2enc.c
  • How to start ffprobe with Windows PowerShell

    7 mars 2014, par sebastian

    I am using Zeranoes FFmpeg Builds for Windows and I can start the ff-prompt without installing anything. But how do I start ff-prompt.bat with Windows PowerShell ? I have tried a few things like Invoke-Expression or changing the $env:Path but nothing seems to work, because all I get is the message

    "C :\Users\Administrator>ECHO OFF

    bin\ffmpeg.exe could not be found."

    Is it even possible to start ff-prompt with PowerShell ? Every suggestion / solution is more than welcome.

    My goal is to have a solution that works like this here :
    http://spreadys.wordpress.com/2012/12/03/ffprobe-and-windows-powershell/

    but I want to do that automatically for all my clips, thats why I need to start ffprobe with powershell.


    ECHO OFF
    REM FF Prompt 1.1
    REM Open a command prompt to run ffmpeg/ffplay/ffprobe
    REM Copyright (C) 2013  Kyle Schwarz

    TITLE FF Prompt

    IF NOT EXIST bin\ffmpeg.exe (
     CLS
     ECHO bin\ffmpeg.exe could not be found.
     GOTO:error
    )

    CD bin || GOTO:error
    PROMPT $G
    CLS
    ffmpeg -version
    SET PATH=%CD%;%PATH%
    ECHO.
    ECHO For help run: ffmpeg -h
    ECHO For formats run: ffmpeg -formats ^| more
    ECHO For codecs run: ffmpeg -codecs ^| more
    ECHO.
    ECHO Current directory is now: "%CD%"
    ECHO The bin directory has been added to PATH
    ECHO.

    CMD /F:ON /Q /K
    GOTO:EOF

    :error
     ECHO.
     ECHO Press any key to exit.
     PAUSE >nul
     GOTO:EOF

    Okay I tried something a little bit different this time :

    $env:Path = &#39;;C:\Users\Administrator\bin\&#39;
    $title = "A_Day_for_Cake_and_Accidents"
    Start-Process ff-prompt.bat -ArgumentList "ffprobe -show_streams -select_streams v -print_format xml -count_frames C:\Users\Administrator\Desktop\dcp_bearbeitet\$title\$title.mov > C:\Users\Administrator\Desktop\dcp_bearbeitet\$title\totalframes.xml"

    This creates a file called "totalframes.xml" but without the needed information, the only thing I get is :

    C :\Users\Administrator>ECHO OFF
    ffmpeg version N-60959-g669043d
    built on Feb 27 2014 22:01:58 with gcc 4.8.2 (GCC)
    configuration : —enable-gpl —enable-version3 —disable-w32threads —enable-avisynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libcaca —enable-libfreetype —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-librtmp —enable-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libx264 —enable-libx265 —enable-libxavs —enable-libxvid —enable-zlib
    libavutil 52. 66.100 / 52. 66.100
    libavcodec 55. 52.102 / 55. 52.102
    libavformat 55. 33.100 / 55. 33.100
    libavdevice 55. 10.100 / 55. 10.100
    libavfilter 4. 2.100 / 4. 2.100
    libswscale 2. 5.101 / 2. 5.101
    libswresample 0. 18.100 / 0. 18.100
    libpostproc 52. 3.100 / 52. 3.100
    For help run : ffmpeg -h
    For formats run : ffmpeg -formats | more
    For codecs run : ffmpeg -codecs | more
    Current directory is now : "C :\Users\Administrator\bin"
    The bin directory has been added to PATH

    So basically the console pops up, writes this standard text and does not use my commands which I stated in -Argument-List . I do not have a clue why it is ignoring most of my commands, except for writing everything in a XML file.

  • How can I remove downloaded video file after merging video and audio ?

    11 mai 2019, par Locke Jet

    I downloaded 1080p video from youtube using youtube-dl. Video file (.f137.mp4) and audio files (f140.m4a) were downloaded. Them ffmpeg merged the video file and the audio file to mp4 file(.mp4). I want to keep the .f140.m4a file and the .mp4 file, while remove the f137.mp4 file. How can I do ?

    I tried the —exec option in the youtube-dl, but it failed.

    These were my commands :

    root@OMV:~/youtube-dl# cat dl-test.sh
    DL_DIR="/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007"
    ALBUM="Test"
    mkdir -p "$DL_DIR/$ALBUM"
    youtube-dl --batch-file  /root/youtube-dl/url-test.list --download-archive /root/youtube-dl/archive-test.list                           \
    -f  'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio'                                 \
    --write-sub --embed-sub --all-subs                                                              \
    --embed-thumbnail --add-metadata                                                                \
    -o "$DL_DIR/$ALBUM/%(title)s.%(ext)s"                                                           \
    --exec "rm "$(ls {} | cut -d . -f1)""

    The result were :

    root@OMV:~/youtube-dl# ./dl-test.sh
    ls: cannot access '{}': No such file or directory
    ...
    [ffmpeg] Merging formats into "/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/UpTown Spot.mp4"
    ...
    [atomicparsley] Adding thumbnail to "/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/UpTown Spot.mp4"
    [exec] Executing command: rm  '/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/UpTown Spot.mp4'

    The .mp4 file was deleted, the .f137.mp4 file was still there. I got the opposite result.

    root@OMV:~/youtube-dl# ls '/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test'
    UpTown Spot.f137.mp4  UpTown Spot.f140.m4a

    Update 1 :
    I changed to

    --exec "rm "$(ls {} -1 | sed -n '/\.f[0-9]*\.mp4$/p')""

    It still remove the .mp4 file. The output was :

    root@OMV:~/youtube-dl# echo "" > "/root/youtube-dl/archive-test.list"
    root@OMV:~/youtube-dl# ./dl-test.sh
    ls: cannot access '{}': No such file or directory
    ...
    [download] /srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/UpTown Spot.mp4 has already been downloaded and merged
    ...
    [exec] Executing command: rm  '/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/UpTown Spot.mp4'

    Then changed it into :

    --exec "rm "$(ls -1 | sed -n '/\.f[0-9]*\.mp4$/p')""

    The ouput was almost the same :

    root@OMV:~/youtube-dl# ./dl-test.sh
    ...
    [exec] Executing command: rm  '/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/UpTown Spot.mp4'

    I tested the normal expression in SHELL, it worked :

    root@OMV:~/youtube-dl# cd /srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test
    root@OMV:/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test# ls "$(ls  /srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test | sed -n '/\.f[0-9]*\.mp4$/p')"
    UpTown Spot.f137.mp4
    root@OMV:/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test# rm "$(ls  /srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test | sed -n '/\.f[0-9]*\.mp4$/p')"

    But the similar command running in the youtube-dl —exec option failed !

    Update 2 :
    It seemed that the cmd after pipeline would not be executed.

    root@OMV:~/youtube-dl# ./dl-test.sh
    + DL_DIR=/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007
    + ALBUM=Test
    + mkdir -p /srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test
    + youtube-dl --batch-file /root/youtube-dl/url-test.list --download-archive /root/youtube-dl/archive-test.list -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --write-sub --embed-sub --all-subs --embed-thumbnail --add-metadata -o '/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/%(title)s.%(ext)s' --exec 'ls | grep mp4'
    ...
    [exec] Executing command: ls | grep mp4 '/srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/UpTown Spot.mp4'
    Binary file /srv/dev-disk-by-id-ata-QEMU_HARDDISK_QM00007/Test/UpTown Spot.mp4 matches
    ls: write error: Broken pipe