Recherche avancée

Médias (91)

Autres articles (111)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (4638)

  • ffmpeg error SSL routines:ssl3_write_pending:bad write retry

    6 mai 2019, par boygiandi

    Recently, I see this error very often. Does anyone know what the error is and how to fix ? Please check full ffmpeg output here ( I already update openssl latest version from yum )

    ffmpeg version N-93715-gd0e4d04 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
     configuration: --prefix= ....
    Input #0, mpegts, from '/tmp/4028813_video_0.ts':
     Duration: 00:04:08.19, start: 1.410111, bitrate: 1504 kb/s
     Program 1
       Metadata:
         service_name    : Service01
         service_provider: FFmpeg
       Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 608x1080 [SAR 1:1 DAR 76:135], 30 fps, 30 tbr, 90k tbn, 60 tbc
       Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 121 kb/s
    [ sh: 2019-05-06  9:39:46 ]
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    Output #0, flv, to 'rtmps://live-api-s.facebook.com:443/rtmp/289693778580218?s_bl=1&s_sw=0&s_vt=api-s&a=Abxj1aU9OTqh0RtS':
     Metadata:
       comment         : gs4028813
       encoder         : Lavf58.27.103
       Stream #0:0: Video: h264 (High) ([7][0][0][0] / 0x0007), yuv420p(tv, bt709, progressive), 608x1080 [SAR 1:1 DAR 76:135], q=2-31, 3000 kb/s, 30 fps, 30 tbr, 1k tbn, 30 tbc
       Stream #0:1(eng): Audio: aac (LC) ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s
       Metadata:
         encoder         : Lavc58.52.100 aac
    [ sh: 2019-05-06  9:39:47 ]size=     169kB time=00:00:00.52 bitrate=2643.9kbits/s speed=1.03x
    ......
    [ sh: 2019-05-06  9:40:10 ]size=    3386kB time=00:00:22.72 bitrate=1220.7kbits/s speed=0.999x
    [ sh: 2019-05-06  9:40:11 ]size=    3842kB time=00:00:25.32 bitrate=1242.9kbits/s speed=   1x
    [tls @ 0x30ab3c0] error:00000000:lib(0):func(0):reason(0)82 bitrate=1247.3kbits/s speed=   1x
    av_interleaved_write_frame(): Input/output error
    [flv @ 0x3030f80] Failed to update header with correct duration.
    [flv @ 0x3030f80] Failed to update header with correct filesize.
    Error writing trailer of rtmps://live-api-s.facebook.com:443/rtmp/289693778580218?s_bl=1&s_sw=0&s_vt=api-s&a=Abxj1aU9OTqh0RtS: Input/output error
    frame=  776 fps= 30 q=-1.0 Lsize=    3932kB time=00:00:25.82 bitrate=1247.3kbits/s speed=   1x
    video:3530kB audio:406kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    [tls @ 0x30ab3c0] error:1409F07F:SSL routines:ssl3_write_pending:bad write retry
  • Cannot download m3u8 using ffmpeg

    8 avril 2019, par Vũ Tuấn Anh

    I want to download a mp4 from m3u8 link using ffmpeg command.

    ffmpeg -i https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/master.m3u8 -c copy -bsf:a aac_adtstoasc output1.mp4

    But an error occurred when loading first segment

    https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/720/seg-1-v1-a1.ts?v=664e3521
    https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/master.m3u8: Invalid data found when processing input

    Someone helps me to solve my problem. Thanks !

    Full command

    ffmpeg -i https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/master.m3u8 -c copy -bsf:a aac_adtstoasc output2.mp4ffmpeg version 4.1.1-0york1~16.04 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
     configuration: --prefix=/usr --extra-version='0york1~16.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-nonfree --enable-libfdk-aac --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    [hls,applehttp @ 0x56551c942500] Opening 'https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/720.m3u8?v=664e3521' for reading
    [https @ 0x56551cd51280] Opening 'https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/480.m3u8?v=3f40a361' for reading
    [https @ 0x56551cd51280] Opening 'https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/360.m3u8?v=aefcb682' for reading
    [https @ 0x56551cd51280] Opening 'https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/240.m3u8?v=bda86a2a' for reading
    [https @ 0x56551cd51280] Opening 'https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/144.m3u8?v=431e8038' for reading
    [hls,applehttp @ 0x56551c942500] Opening 'https://kms.sohatv.vn/drm/55ceb3f8-4675-454a-bfc8-96cb04bbae8f.key' for reading
    [hls,applehttp @ 0x56551c942500] Opening 'crypto+https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/720/seg-1-v1-a1.ts?v=664e3521' for reading
    [hls,applehttp @ 0x56551c942500] Error when loading first segment 'https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/720/seg-1-v1-a1.ts?v=664e3521'
    https://hls.mediacdn.vn/vtv/2019/4/7/0704sao-mai-1554652229269816114782-af6d9.mp4/master.m3u8: Invalid data found when processing input
  • ffmpeg undefined references on multiple functions

    3 mai 2019, par Godspped

    I am trying to compile an application that is using ffmpeg on Ubuntu and I am running into the following errors.

    undefined reference to `av_write_image_line2'
    undefined reference to `av_hwframe_transfer_data'
    undefined reference to `av_hwdevice_get_hwframe_constraints'
    undefined reference to `av_hwframe_get_buffer'
    undefined reference to `av_hwdevice_ctx_create_derived'
    undefined reference to `xcb_xfixes_get_cursor_image_cursor_image'
    undefined reference to `xcb_xfixes_query_version'
    undefined reference to `avpriv_slicethread_execute'
    undefined reference to `avcodec_parameters_to_context'
    undefined reference to `xcb_xfixes_get_cursor_image_reply'
    undefined reference to `av_hwdevice_find_type_by_name'
    undefined reference to `av_hwframe_map'
    undefined reference to `av_spherical_tile_bounds'
    undefined reference to `av_malloc_array'
    undefined reference to `av_hwframe_transfer_get_formats'
    undefined reference to `av_hwframe_ctx_alloc'
    undefined reference to `xcb_shape_rectangles'
    undefined reference to `av_stereo3d_type_name'
    undefined reference to `avpriv_slicethread_free'
    undefined reference to `avpriv_slicethread_create'
    undefined reference to `xcb_xfixes_get_cursor_image'
    undefined reference to `av_hwframe_ctx_init'
    undefined reference to `avpriv_register_devices'
    undefined reference to `av_hwframe_constraints_free'
    undefined reference to `av_audio_fifo_peek_at'
    undefined reference to `av_get_extended_channel_layout'
    undefined reference to `av_hwframe_ctx_create_derived'
    undefined reference to `xcb_xfixes_query_version_reply'
    undefined reference to `av_mallocz_array'
    undefined reference to `av_read_image_line2'

    The version of ffmpeg I have :

    ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
    built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
    configuration: --enable-pic --pkg-config-flags=--static --extra-libs='-lpthread -lm'
    libavutil      56. 22.100 / 56. 22.100
    libavcodec     58. 35.100 / 58. 35.100
    libavformat    58. 20.100 / 58. 20.100
    libavdevice    58.  5.100 / 58.  5.100
    libavfilter     7. 40.101 /  7. 40.101
    libswscale      5.  3.100 /  5.  3.100
    libswresample   3.  3.100 /  3.  3.100

    In my makefile I have added -lavutil -lavcodec -lavdevice -lavfilter -lavformat -lswresample -lswscale to my link step.

    What am I doing wrong ? Are these deprecated in the version of ffmpeg I have ?