Recherche avancée

Médias (91)

Autres articles (49)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5771)

  • cutting mp4 with codec copy results no audio in browser

    16 novembre 2020, par Luka

    I'm editing a video clip with ffmpeg. The original does not play in Firefox browser by itself. It does normally in Chromium. I do something like :

    


    ffmpeg -ss 00:05:10 -i INPUT.mp4 -c copy OUTPUT.mp4


    


    the resulting clip plays in Firefox but there's no audio. This happens in Firefox (82.0.3), but not in Chromium (86.0.4240.75). In chromium the sound is ok.

    


    If audio is reencoded with

    


    ffmpeg -ss 00:05:10 -i INPUT.mp4 -c:v copy -ab 360kb OUTPUT.mp4


    


    resulting clip is playing ok in Firefox.

    


    Could anyone explain what is happening here and is it possible to cut the mp4 without reencoding audio resulting in a clip that plays in Firefox too ?

    


    Some data :

    


    ffmpeg version 3.4.8-0ubuntu0.2

    


    ffprobe INPUT.mp4 :

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'INPUT.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: iso4avc1isom
    creation_time   : 2020-11-13T18:45:37.000000Z
    com.apple.proapps.clipID: INPUT
    com.blackmagic-design.camera.dateRecorded: 2020:11:13
    com.apple.proapps.cameraName: 0
    com.blackmagic-design.camera.uuid: BDB766E79E646CBB82E3EB986EA1EA-0
  Duration: 02:01:38.00, start: 0.000000, bitrate: 6047 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 5909 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2020-11-13T18:45:37.000000Z
      handler_name    : ?Apple Alias Data Handler
      encoder         : H264/AVC
      timecode        : 19:45:35:04
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2020-11-13T18:45:37.000000Z
      handler_name    : ?Apple Alias Data Handler
      timecode        : 19:45:35:04
    Stream #0:2(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      creation_time   : 2020-11-13T18:45:37.000000Z
      handler_name    : ?Apple Alias Data Handler
      timecode        : 19:45:35:04


    


    ffprobe OUTPUT.mp4

    


    


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'OUTPUT.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 01:34:48.02, start: -0.016000, bitrate: 6022 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, 5889 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 12800 tbn, 25600 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 19:45:35:04
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      handler_name    : TimeCodeHandler
      timecode        : 19:45:35:04


    


    ffprobe the OUTPUT.mp4 that has audio re-encoded and works in Firefox :

    


      Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 01:34:48.04, start: 0.000000, bitrate: 6160 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080, 5889 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 12800 tbn, 25600 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 19:45:35:04
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 265 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      handler_name    : TimeCodeHandler
      timecode        : 19:45:35:04


    


    EDIT :

    


    I'm providing links to original files, but a bit of warning, they are 4-5GB big each :

    


      

    1. original recording from blackmagic switcher/capture/recorder (this does not play in firefox at all, but does in Chromium)
    2. 


    3. cut version made with -codec copy (plays in firefox but no audio. plays in chromium ok)
    4. 


    5. cut version with re-encoded audio (plays ok in both firefox and chromium)
    6. 


    


  • Anomalie #4562 : Suite #4468 : Unification des CSS pour les boutons et les icônes

    26 octobre 2020, par RastaPopoulos ♥

    Tiens je vois passer ça aujourd’hui à propos de l’accessibilité/affordance des boutons :
    https://seenthis.net/messages/882961

    Windows et le Web en 2020 sont terribles visuellement pour ces personnes.

    À quoi ressemble un bouton par exemple ? Bah : M

  • How to do multiple input with streamio-ffmpeg ?

    12 août 2020, par Yozuu

    I would like to recreate this ffmpeg line (which works well) in my rails app :

    


    ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex '[0] [1] afir=dry=10:wet=10' output.wav


    


    So here is my config :

    


    module EncodingConstants
  PROCESSED_DEFAULTS = {
    resolution:           '500x400',
    video_codec:          'libx264',
    constant_rate_factor: '30',
    frame_rate:           '25',
    audio_codec:          'aac',
    audio_bitrate:        '128k',
    audio_sample_rate:    '48000',
    progress: :processing_progress
  }.freeze

  AUDIO_EFFECTS = {
    multi_effect: %w[-i /home/yozuu/2.mp4 -filter_complex [0] [1] afir=dry=10:wet=10]
 }.freeze


    


    So Sidekiq send this back to me :

    


    I, [2020-08-12T19:40:38.828081 #2142]  INFO -- : Running transcoding...
["/sbin/ffmpeg", "-y", "-i", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4", "-vcodec", "libx264", "-acodec", "aac", "-s", "500x282", "-i", "/home/yozuu/2.mp4", "-filter_complex", "'[0]", "[1]", "afir=dry=10:wet=10'", "-r", "25", "-b:a", "128k", "-ar", "48000", "-aspect", "1.7730496453900708", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4"]

E, [2020-08-12T19:40:38.897575 #2142] ERROR -- : Failed encoding...
["/sbin/ffmpeg", "-y", "-i", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4", "-vcodec", "libx264", "-acodec", "aac", "-s", "500x282", "-i", "/home/yozuu/2.mp4", "-filter_complex", "'[0]", "[1]", "afir=dry=10:wet=10'", "-r", "25", "-b:a", "128k", "-ar", "48000", "-aspect", "1.7730496453900708", "/home/yozuu/labo/video-project/tmp/1597254011-2142-0001-8820/1.mp4"]


.....

Unknown decoder 'libx264'

Errors: no output file created. 



    


    I don't understand why because for me the command line ffmpeg seems correct.
Anyone have a idea ?
Thank you.