Recherche avancée

Médias (91)

Autres articles (71)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (8539)

  • Codec h264_cuvid is not supported

    9 septembre 2019, par gn cavalry

    ======================= Environment =======================
    System : ubuntu 18.04
    Architecture : x86_64
    Display Card : NVIDIA GeForce 820m
    Display Card Driver : NVIDIA-Linux-x86_64-390.87
    gcc : 6.5.0
    CUDA : 9.1.85 (also tried 9.0.176)
    FFmpeg : 3.4 (also tried 4.0, 4.1)

    ==================== FFmpeg Compilation ====================

    ./configure \
     --prefix="$DIR_BUILD" \
     --bindir="$DIR_BIN" \
     --enable-cuda \
     --enable-cuvid \
     --enable-nvenc \
     --enable-nonfree \
     --enable-libnpp \
     --extra-cflags=-I/usr/local/cuda/include \
     --extra-ldflags=-L/usr/local/cuda/lib64

    ======================= Verification =======================
    Driver Verification :
    (I have downgrade my gcc from 7.3 to 6.5, I don’t know why there still shows gcc version 7.3)

    $ cat /proc/driver/nvidia/version
    NVRM version: NVIDIA UNIX x86_64 Kernel Module  390.87  Tue Aug 21 12:33:05 PDT 2018
    GCC version:  gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)

    CUDA Verification :

    $nvcc -V
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2017 NVIDIA Corporation
    Built on Fri_Nov__3_21:07:56_CDT_2017
    Cuda compilation tools, release 9.1, V9.1.85

    $./deviceQuery
    Rsult = PASS

    $./bandwidthTest
    Result = PASS

    FFmpeg Decoder Verification :

    $ ffmpeg -codecs | grep cuvid
    ffmpeg version 3.4.5 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 6.5.0 (Ubuntu 6.5.0-2ubuntu1~18.04) 20181026
     configuration: --prefix=/home/cavalry/Downloads/compile_ffmpeg/ffmpeg_build --bindir=/home/cavalry/Downloads/compile_ffmpeg/bin --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
    DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_vdpau h264_cuvid ) (encoders: h264_nvenc h264_v4l2m2m h264_vaapi nvenc nvenc_h264 )
    DEV.L. hevc                 H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_cuvid ) (encoders: nvenc_hevc hevc_nvenc hevc_vaapi )
    DEVIL. mjpeg                Motion JPEG (decoders: mjpeg mjpeg_cuvid ) (encoders: mjpeg mjpeg_vaapi )
    DEV.L. mpeg1video           MPEG-1 video (decoders: mpeg1video mpeg1video_vdpau mpeg1_v4l2m2m mpeg1_cuvid )
    DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo mpegvideo_vdpau mpeg2_v4l2m2m mpeg2_cuvid ) (encoders: mpeg2video mpeg2_vaapi )
    DEV.L. mpeg4                MPEG-4 part 2 (decoders: mpeg4 mpeg4_v4l2m2m mpeg4_vdpau mpeg4_cuvid ) (encoders: mpeg4 mpeg4_v4l2m2m )
    D.V.L. vc1                  SMPTE VC-1 (decoders: vc1 vc1_vdpau vc1_v4l2m2m vc1_cuvid )
    DEV.L. vp8                  On2 VP8 (decoders: vp8 vp8_v4l2m2m vp8_cuvid ) (encoders: vp8_v4l2m2m vp8_vaapi )
    DEV.L. vp9                  Google VP9 (decoders: vp9 vp9_v4l2m2m vp9_cuvid ) (encoders: vp9_vaapi )

    FFmpeg Encoder Verification :

    $ ffmpeg -codecs | grep nvenc
    ffmpeg version 3.4.5 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 6.5.0 (Ubuntu 6.5.0-2ubuntu1~18.04) 20181026
     configuration: --prefix=/home/cavalry/Downloads/compile_ffmpeg/ffmpeg_build --bindir=/home/cavalry/Downloads/compile_ffmpeg/bin --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
    DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m h264_vdpau h264_cuvid ) (encoders: h264_nvenc h264_v4l2m2m h264_vaapi nvenc nvenc_h264 )
    DEV.L. hevc                 H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_cuvid ) (encoders: nvenc_hevc hevc_nvenc hevc_vaapi )

    ================== Exec ffmepg command line ===================

    All things seem goes right, then I executed the following command :
    ffmpeg -c:v h264_cuvid -i ./holidy.mp4 output.mkv
    But it turns out :
    [h264_cuvid @ 0x55f93a512200] Codec h264_cuvid is not supported.

    Here is the whole information :

    $ ffmpeg -c:v h264_cuvid -i ./holidy.mp4 output.mkv
    ffmpeg version 3.4.5 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 6.5.0 (Ubuntu 6.5.0-2ubuntu1~18.04) 20181026
     configuration: --prefix=/home/cavalry/Downloads/compile_ffmpeg/ffmpeg_build --bindir=/home/cavalry/Downloads/compile_ffmpeg/bin --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './holidy.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isomavc1iso6
       creation_time   : 2018-01-29T09:18:23.000000Z
       album           : Yinyuetai
       artist          : yinyuetai.com
       comment         : Yinyuetai-1TR1166
       date            : 01/29/18 17:18:23
     Duration: 00:04:15.21, start: 0.000000, bitrate: 4210 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 4087 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc (default)
       Metadata:
         creation_time   : 2018-01-29T09:18:23.000000Z
         handler_name    : 264@GPAC0.5.1-DEV-rev5472
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 120 kb/s (default)
       Metadata:
         creation_time   : 2018-01-29T09:17:31.000000Z
         handler_name    : Sound Media Handler
    [h264_cuvid @ 0x55f3e05ca1c0] Codec h264_cuvid is not supported.
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> mpeg4 (native))
     Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
    Error while opening decoder for input stream #0:0 : Invalid argument

    I have tried width CUDA9.0, CUDA9.1, FFmpeg3.4, FFmpeg4.0, FFmpeg 4.1, but it reports the same error. Can anyone help me ? I will appreciate you greatly !

  • avcodec/dstdec : Check that AC probabilities are within range

    15 octobre 2019, par Michael Niedermayer
    avcodec/dstdec : Check that AC probabilities are within range
    

    ISO/IEC 14496-3:2005(E) : "Each entry of P_one[ ][ ] is in the range of 1 to
    128, corresponding to a probability of 1/256 to 128/256 of the next error bit (bit E, See Figure 10.5)..."

    Fixes : Timeout (42sec ->1sec)
    Fixes : 18181/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DST_fuzzer-5736646250594304

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/dstdec.c
  • Audacity vocal removal failed when ffmpeg-conversion was involved

    10 mars 2018, par fyang

    I downloaded some songs coded with FLAC, and Audacity could remove the vocals quite well.

    When I downloaded songs coded with ALAC, I must use ffmpeg to convert them to some other forms because Audacity didn’t recognise .m4a files.

    I used the command ffmpeg -i "song 01.m4a" -f flac "song 01.flac". Now Audacity could load the song, but its vocal removal failed to remove the vocals.

    I tried again with this command in order to be precise, ffmpeg -i "song 01.m4a" -af "pan=stereo|c0=c0|c1=c1" -f flac "song 01.flac", and vocal removal did not work either.

    I tried to do it manually by splitting, inverting and changing both channels to mono, but the vocals were still there.

    I think the problem lies with the ffmpeg conversion step. Is there any fix ? Thanks !

    Below is the result of the conversion :

    ffmpeg -i "song 01.m4a" -af "pan=stereo|c0=c0|c1=c1" -f flac "song 01.flac"
    ffmpeg version N-90143-gb6652f5100 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
     libavutil      56.  7.101 / 56.  7.101
     libavcodec     58. 12.102 / 58. 12.102
     libavformat    58.  9.100 / 58.  9.100
     libavdevice    58.  2.100 / 58.  2.100
     libavfilter     7. 12.100 /  7. 12.100
     libswscale      5.  0.101 /  5.  0.101
     libswresample   3.  0.101 /  3.  0.101
     libpostproc    55.  0.100 / 55.  0.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000019f2b258000] stream 0, timescale not set
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'song 01.m4a':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       creation_time   : 2009-12-27T00:15:23.000000Z
       track           : 1/10
       genre           :
       album           :
       artist          :
       comment         : ExactAudioCopy v0.95b4
       DISCID          :
       iTunNORM        :  00000F32 00000E1D 0000547D 00005B93 0006C3CA 0006C43E 00007FF8 00007FFF 00058227 0003593B
       title           : song 01
       encoder         : iTunes 9.0.2.25
       date            : 2005
       album_artist    :
       lyrics          :
     Duration: 00:08:10.84, start: 0.000000, bitrate: 921 kb/s
       Stream #0:0(und): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 920 kb/s (default)
       Metadata:
         creation_time   : 2009-12-27T00:15:23.000000Z
       Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 300x300 [SAR 100:100 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (alac (native) -> flac (native))
    Press [q] to stop, [?] for help
    [Parsed_pan_0 @ 0000019f2b2a6fc0] Pure channel mapping detected: 0 1
    Output #0, flac, to 'song 01.flac':
     Metadata:
       major_brand     : M4A
       minor_version   : 0
       compatible_brands: M4A mp42isom
       lyrics          :
       TRACKNUMBER     : 1/10
       genre           :
       album           :
       artist          :
       DESCRIPTION     : ExactAudioCopy v0.95b4
       DISCID          :
       iTunNORM        :  00000F32 00000E1D 0000547D 00005B93 0006C3CA 0006C43E 00007FF8 00007FFF 00058227 0003593B
       title           : song 01
       ALBUMARTIST     :
       date            : 2005
       encoder         : Lavf58.9.100
       Stream #0:0(und): Audio: flac, 44100 Hz, stereo, s16, 128 kb/s (default)
       Metadata:
         creation_time   : 2009-12-27T00:15:23.000000Z
         encoder         : Lavc58.12.102 flac
    size=   54518kB time=00:08:10.84 bitrate= 909.9kbits/s speed=  35x
    video:0kB audio:54508kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.018294%