Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (51)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

  • batch i need to encode hole folder files

    4 mai 2019, par jonedave

    I need one batch code for ffmpeg which can encode & zoom resolution of all videos inside folder to 110% & 125% of original using batch code.

    Here are some codes which I test not working :

    for %%a in ("*.*") do ffmpeg -i "%%a"  -vf scale=2*iw:-1, crop=iw/2:ih/2" "newfiles\%%~na.mp4"
    pause
    for %%a in ("*.*") do ffmpeg -i "%%a" -vf "zoompan=z='1+(1.4*in/300)':x='70*in/300':y='190*in/300':d=1"  "newfiles\%%~na.mp4"
    for %%a in ("*.*") do ffmpeg -i "%%a" -vf "zoompan=z='1+(1.4*in/300"  "newfiles\%%~na.mp4"
    pause

    error i getting

    C:\down\Compressed\DRIVER PACK FOR MOBILE PHONE\DRIVER PACK FOR MOBILE PHONE>ffm
    peg -i "avutil-ics-56.dll" -vf "zoompan=z='1+(1.4*in/300"  "newfiles\avutil-ics-
    56.mp4"
    ffmpeg version N-93461-g6e42021128 Copyright (c) 2000-2019 the FFmpeg developers

     built with gcc 8.2.1 (GCC) 20190212
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfi
    g --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libb
    luray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --e
    nable-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 --enab
    le-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --en
    able-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --en
    able-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --e
    nable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.105 / 58. 47.105
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    avutil-ics-56.dll: Invalid data found when processing input

    C:\down\Compressed\DRIVER PACK FOR MOBILE PHONE\DRIVER PACK FOR MOBILE PHONE>ffm
    peg -i "ffmpeg.exe" -vf "zoompan=z='1+(1.4*in/300"  "newfiles\ffmpeg.mp4"
    ffmpeg version N-93461-g6e42021128 Copyright (c) 2000-2019 the FFmpeg developers

     built with gcc 8.2.1 (GCC) 20190212
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfi
    g --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libb
    luray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enab
    le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --e
    nable-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 --enab
    le-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --en
    able-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --en
    able-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --e
    nable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 26.100 / 56. 26.100
     libavcodec     58. 47.105 / 58. 47.105
     libavformat    58. 26.101 / 58. 26.101
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 48.100 /  7. 48.100
     libswscale      5.  4.100 /  5.  4.100
     libswresample   3.  4.100 /  3.  4.100
     libpostproc    55.  4.100 / 55.  4.100
    ffmpeg.exe: Invalid data found when processing input
  • Can ffmpeg copy metadata/ID3 from FLAC to MP3 ?

    9 avril 2019, par krypterro

    I have a bit of Python code that loops through audio files, finds .FLAC files, and then uses the Python subcommand to run ffmpeg. It works. The audio is fine, but even though I see the metadata in the shell, it doesn’t transfer the data to the ID3 tags in the MP3, and I am using the example found in the previous post here. Here’s the command :

    cmd = 'ffmpeg -y -i "' + src + '" -codec:a libmp3lame -q:a 0 -map_metadata 0 -id3v2_version 3 -write_id3v1 1 "' + dst + '"'

    Which works out to :

    ffmpeg -y -i "source.flac" -codec:a libmp3lame -q:a 0 -map_metadata 0 -id3v2_version 3 -write_id3v1 1 "destination.mp3"

    And here is the log dump :

    /usr/local/bin/python3.7 /home/krypterro/PycharmProjects/mediaman/RipFLAC.py
    1 Music Files Found
    2019-04-09 14:32:47.758 | INFO     | __main__:main:31 - Start of program
    2019-04-09 14:32:48.110 | DEBUG    | __main__:ripmp3:206 - Running Command: ffmpeg -y -i "/home/krypterro/audio/music_in/Visions/01-grimes-laughing_and_not_being_normal.flac" -acodec libmp3lame -ab 192000 "/home/krypterro/audio/music_out/Visions/01-grimes-laughing_and_not_being_normal.mp3"
    ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     WARNING: library configuration mismatch
     avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
     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
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    Input #0, flac, from '/home/krypterro/audio/music_in/Visions/01-grimes-laughing_and_not_being_normal.flac':
     Metadata:
       ARTIST          : Grimes
       TITLE           : Laughing And Not Being Normal
       ALBUM           : Art Angels
       DATE            : 2015
       track           : 1
       GENRE           : Electronic
       disc            : 1
       TOTALDISCS      : 1
       TOTALTRACKS     : 15
       LANGUAGE        : English
       RIP DATE        : 2015-12-12
       RETAIL DATE     : 2015-00-00
       MEDIA           : CD
       ENCODER         : FLAC 1.2.1 -8 -V
       RIPPING TOOL    : EAC 1.0 Beta 3
       RELEASE TYPE    : Retail
       ORGANIZATION    : 4AD
       CATALOG         : CAD3535CD
     Duration: 00:01:47.51, start: 0.000000, bitrate: 743 kb/s
       Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Stream mapping:
     Stream #0:0 -> #0:0 (flac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    Output #0, mp3, to '/home/krypterro/audio/music_out/Visions/01-grimes-laughing_and_not_being_normal.mp3':
     Metadata:
       TPE1            : Grimes
       TIT2            : Laughing And Not Being Normal
       TALB            : Art Angels
       TDRC            : 2015
       TRCK            : 1
       TCON            : Electronic
       TPOS            : 1
       TOTALDISCS      : 1
       TOTALTRACKS     : 15
       TLAN            : English
       RIP DATE        : 2015-12-12
       RETAIL DATE     : 2015-00-00
       MEDIA           : CD
       CATALOG         : CAD3535CD
       RIPPING TOOL    : EAC 1.0 Beta 3
       RELEASE TYPE    : Retail
       ORGANIZATION    : 4AD
       TSSE            : Lavf57.83.100
       Stream #0:0: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p, 192 kb/s
       Metadata:
         encoder         : Lavc57.107.100 libmp3lame
    size=    2522kB time=00:01:47.52 bitrate= 192.1kbits/s speed=  41x    
    video:0kB audio:2521kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.042501%
    2019-04-09 14:32:50.811 | INFO     | __main__:main:73 - End of program

    Process finished with exit code 0
  • 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