Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (86)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

Sur d’autres sites (12383)

  • Creating a single file per size for MPEG-DASH using ffmpeg command

    2 septembre 2020, par New Dev

    I am trying to generate to generate the following outputs from a single movie file :

    


    540.mp4
1080.mp4
output.mpd
master.m3u8


    


    First, does it make sense for each .mp4 to contain both video and audio streams ? If not, then an additional audio stream file can work too.

    


    Second, is it possible to create the above files from a (single ?) ffmpeg command ?

    


    When I do this this :

    


    ffmpeg -i input.mov -map 0:v -map 0:v -map 0:a \
  -c:v h264 -c:a aac \
  -filter:v:0 "scale=-2:540" \
  -filter:v:1 "scale=-2:1080" \
  -f dash -single_file 1 \
  -seg_duration 6 -hls_playlist 1 \
  output.mpd


    


    It produces three additional m3u8 files (per stream) and it produces 3 mp4 files - 2 for video streams and 1 for audio - with a default name like output-stream0.mp4.

    


    Is there a way to rename each output-streamX.mp4 to be more descriptive ? Is there a way to avoid splitting video and audio into multiple files ?

    


  • avformat/dashdec : The segments in dash file doesn't read completely when segment...

    2 septembre 2024, par jiangjie
    avformat/dashdec : The segments in dash file doesn't read completely when segment's size and duration is very small.
    

    If the segment is very small, avformat_find_stream_info
    will read all audio/video data in this segment.
    cur->is_restart_needed is set to 0 later in dash_read_packet,
    and no chance to be set to 1 again in the read_data function.

    Reproduction :
    ffmpeg -f lavfi -i mandelbrot -f lavfi -i anullsrc -c:v vp8 \
    -g 5 -r 5 -c:a libopus -use_template 0 -seg_duration 1 \
    -t 15 -y test_720.mpd
    ffprobe -show_packets test_720.mpd

    • [DH] libavformat/dashdec.c
  • dash.js four channels audio stream not working

    19 juillet 2016, par Carlos Chacon

    Does dash.js supports 4 channels in the audio stream ?

    I’m using webm, mp4 container : h254 and acc audio stream.

    For the case that the acc audio stream is 2 channels it works fine, both video and audio play correctly.

    I’m using FFMPEG to create the files and WOWZA to setup the DASH streaming.

    For the case that the acc audio stream is 4 channels I get the following error :

    Video can't be played because the file is corrupt.

    Command line to generate the 2-channels file :

    ffmpeg -i video_in.mp4 -i audio_in_4ch.wav -c:v copy -c:a aac -ac 2 output_2channels.mp4

    Command line to generate the 4-channels file :

    ffmpeg -i video_in.mp4 -i audio_in_4ch.wav -c:v copy -c:a aac -ac 4 output_4channels.mp4

    This is the fmmpeg -i information printed for each file :

    2 Channels output file details :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output_2channels.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.37.101
     Duration: 00:00:17.59, start: 0.000000, bitrate: 901 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1024x512 [SAR 1:1 DAR 2:1], 894 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    4 Channels output file details :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output_4channels.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.37.101
     Duration: 00:00:17.59, start: 0.000000, bitrate: 1038 kb/s
       Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1024x512 [SAR 1:1 DAR 2:1], 894 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 4.0, fltp, 265 kb/s (default)
       Metadata:
         handler_name    : SoundHandler