Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (88)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (10810)

  • ffmpeg - Unrecognized option lavfi_complex

    4 février 2019, par Milan

    I’m working with headphone filter command from official documentation - https://ffmpeg.org/ffmpeg-filters.html#Examples-20

    ffmpeg -i input.wav -lavfi-complex "amovie=azi_270_ele_0_DFC.wav[sr],amovie=azi_90_ele_0_DFC.wav[sl],amovie=azi_225_ele_0_DFC.wav[br],amovie=azi_135_ele_0_DFC.wav[bl],amovie=azi_0_ele_0_DFC.wav,asplit[fc][lfe],amovie=azi_35_ele_0_DFC.wav[fl],amovie=azi_325_ele_0_DFC.wav[fr],[a:0][fl][fr][fc][lfe][bl][br][sl][sr]headphone=FL|FR|FC|LFE|BL|BR|SL|SR"
    output.wav

    but I’m getting error

    Unrecognized option 'lavfi-complex'.

    Here is my ffmpeg version info -

    ffmpeg -version
    ffmpeg version N-92377-g0c6d4e7ba4 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 8.2.1 (GCC) 20181017
    configuration: --enable-gpl --enable-version3 --enable-sdl2 --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-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
    libavutil      56. 23.101 / 56. 23.101
    libavcodec     58. 39.100 / 58. 39.100
    libavformat    58. 22.100 / 58. 22.100
    libavdevice    58.  6.100 / 58.  6.100
    libavfilter     7. 43.100 /  7. 43.100
    libswscale      5.  4.100 /  5.  4.100
    libswresample   3.  4.100 /  3.  4.100
    libpostproc    55.  4.100 / 55.  4.100
  • Why does Apple support H.265 playback, but not when using HLS ? [closed]

    13 mars, par clark wu

    Apple devices (iPhone, iPad, macOS Safari) can natively play H.265 (HEVC) videos in .mp4 or .mov format. However, when I try to convert the same video to HLS, it fails to play. Here’s what I tested :

    


    Test Cases

    


    ✅ Directly playing H.265 .mp4 → Works fine

    


    ❌ H.265 + Opus → HLS (fMP4) → Fails

    


    ❌ H.265 + AAC → HLS (TS) → Fails

    


    ✅ H.264 + Opus → HLS fMP4 → Works fine (video + audio)

    


    ✅ H.264 + Opus → HLS TS → Video plays, but no audio

    


    ❌ H.265 + AAC → HLS fMP4 → Doesn’t play at all

    


    FFmpeg Commands Used

    


    1️⃣ H.265 + Opus (fMP4 segments)

    


    ffmpeg -i input.mp4 -c:v copy -c:a copy -hls_segment_type fmp4 -hls_time 10 -hls_list_size 0 -hls_flags independent_segments output.m3u8


    


    2️⃣ H.265 + AAC (TS segments)

    


    ffmpeg -i input.mp4 -c:v copy -c:a copy -hls_time 10 -hls_list_size 0 -hls_flags independent_segments output.m3u8


    


    Playback Attempts

    


    Vidstack.js player (Fails)

    


    Several online M3U8 players (All fail)

    


    Key Questions

    


    Why does Apple support H.265 in MP4 but not in HLS ?

    


    Is this an HLS specification limitation ?

    


    Does the audio codec (Opus / AAC) affect playback ?

    


    Does HLS require a specific HEVC profile/level ?

    


    Is HLS only compatible with AVC, not HEVC ?

    


    Looking for Answers

    


    Has anyone successfully played H.265 + HLS on Apple devices ?

    


    Are there any official Apple HLS specifications regarding HEVC support ?

    


    Possible workarounds or alternative solutions ?

    


    Would appreciate any insights or help from the community ! Thanks !

    


  • sws_scale screws up last pixel row in smaller x264 mp4 encoding

    23 juillet 2012, par TheSHEEEP

    I am muxing pictures in the PIX_FMT_ARGB format into an mp4 video.

    All of it works well, except that the last pixel row of the outgoing image is screwed up, in most cases the last row is completely black, sometimes there are other colors, it seems somehow dependant on the machine it runs on.

    I am absolutely sure that the error must be in sws_scale, as I am saving the images before and after the scaling. The input images do not have the error, but after the sws_scale() I save the yuv image and the error is apparent.

    Here is an example :

    Original

    enter image description here

    Yuvfile (after sws_scale)

    enter image description here

    At the bottom of the Yuvfile, you will see the black row.

    This is how I do the scaling (it is after the official ffmpeg examples, more or less) :

    static int sws_flags = SWS_FAST_BILINEAR | SWS_ACCURATE_RND;

    if (img_convert_ctx == NULL)
    {
      img_convert_ctx = sws_getContext( srcWidth, srcHeight,
              PIX_FMT_ARGB,
              codecContext->width, codecContext->height,
              codecContext->pix_fmt,
              sws_flags, NULL, NULL, NULL );
      if (img_convert_ctx == NULL)
      {
         av_log(c, AV_LOG_ERROR, "%s","Cannot initialize the conversion context\n");
         exit(1);
      }
    }
    fill_image(tmp_picture, pic, pic_size, frame_count, ptr->srcWidth, ptr->srcHeight );

    sws_scale(img_convert_ctx, tmp_picture->data, tmp_picture->linesize,
           0, srcHeight, picture->data, picture->linesize);

    I also tried a number of different SWS_ flags, but all yield the same result.

    Could this be a bug in sws_scale or am I doing something wrong ? I am using the latest version of the ffmpeg libraries.