Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (50)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (7198)

  • ffmpeg - converting one audio track of a multi-track mp4

    30 décembre 2023, par Shaun.M

    I'm having a few mp4 with two audio tracks,
an english one in aac and a french one in dts.

    


    Now I want to convert only the french dts to eac3 with a single ffmpeg command.

    


    I use

    


    ffmpeg -hide_banner -i input.mp4 ^
             -map_metadata -1 ^
             -map 0:0 -c:v copy ^
             -map 0:1 -c:a copy ^
             -map 0:2 -c:a eac3 -b:a 1536k ^
             -metadata:s:a:0 language=eng ^
             -metadata:s:a:0 title="Stereo" ^
             -metadata:s:a:1 language=fra ^
             -metadata:s:a:1 title="Stereo" ^
output.mp4


    


    This works quite nice, but it converts both audio tracks to eac3, instead of leaving the first one untouched ...
What's wrong in the command ?

    


    (ffmpeg version 2023-12-23-git-f5f414d9c4-full_build-www.gyan.dev under Windows 10)

    


  • avformat/ffrtmpcrypt : Fix int-conversion warning

    22 décembre 2023, par Frank Plowman
    avformat/ffrtmpcrypt : Fix int-conversion warning
    

    The gcrypt definition of `bn_new` used to use the return statement
    on errors, with an AVERROR return value, regardless of the signature
    of the function where the macro is used - it is called in
    `dh_generate_key` and `ff_dh_init` which return pointers. As a result,
    compiling with gcrypt and the ffrtmpcrypt protocol resulted in an
    int-conversion warning. GCC 14 may upgrade these to errors [1].

    This patch fixes the problem by changing the macro to remove `AVERROR`
    and instead set `bn` to null if the allocation fails. This is the
    behaviour of all the other `bn_new` implementations and so the result is
    already checked at all the callsites. AFAICT, this should be the only
    change needed to get ffmpeg off Fedora's naughty list of projects with
    warnings which may be upgraded to errors in GCC 14 [2].

    [1] : https://gcc.gnu.org/pipermail/gcc/2023-May/241264.html
    [2] : https://www.mail-archive.com/devel@lists.fedoraproject.org/msg196024.html

    Signed-off-by : Frank Plowman <post@frankplowman.com>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/rtmpdh.c
  • ffmpeg - store desired output to python variable

    15 janvier 2024, par Chris P

    If i run : ffmpeg -list_devices true -f dshow -i dummy i get :

    &#xA;

    ffmpeg version 2023-01-30-git-2d202985b7-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;  libavutil      57. 44.100 / 57. 44.100&#xA;  libavcodec     59. 59.100 / 59. 59.100&#xA;  libavformat    59. 36.100 / 59. 36.100&#xA;  libavdevice    59.  8.101 / 59.  8.101&#xA;  libavfilter     8. 56.100 /  8. 56.100&#xA;  libswscale      6.  8.112 /  6.  8.112&#xA;  libswresample   4.  9.100 /  4.  9.100&#xA;  libpostproc    56.  7.100 / 56.  7.100&#xA;[dshow @ 00000236357d0480] "HP True Vision HD Camera" (video)&#xA;[dshow @ 00000236357d0480]   Alternative name "@device_pnp_\\?\usb#vid_04f2&amp;pid_b6ab&amp;mi_00#6&amp;763f234&amp;2&amp;0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"&#xA;[dshow @ 00000236357d0480] "Microphone Array (Intel&#xAE; Smart Sound Technology for Digital Microphones)" (audio)&#xA;[dshow @ 00000236357d0480]   Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{E8824DE9-F848-47F1-BB2A-EB24E11050FC}"&#xA;dummy: Immediate exit requested&#xA;

    &#xA;

    From this output i want to store : "HP True Vision HD Camera" (first video output) in a python variable.

    &#xA;

    Is this possible ?

    &#xA;

    I am trying

    &#xA;

    import subprocess&#xA;ffmpeg_command = ["ffmpeg", "-list_devices", "true","-f", "dshow", "-i", "dummy"]&#xA;pipe = subprocess.run(ffmpeg_command,stdout=subprocess.PIPE,stderr=subprocess.PIPE,bufsize=10**8)&#xA;output = pipe.stdout&#xA;lines = output.splitlines()&#xA;for line in lines:&#xA;    if line.startswith("[dshow @"):&#xA;        if "(video)" in line:&#xA;            camera_info = line.split("\"")[1]&#xA;            print(camera_info)&#xA;

    &#xA;