Recherche avancée

Médias (91)

Autres articles (62)

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

  • ffmpeg convert from H.264 (High 4:4:4 Profile) to H.264 (Main Profile)

    22 juin 2016, par user3002233

    How can I convert a video from H.264 (High 4:4:4 Profile) to H.264 (Main Profile) using ffmpeg ?

    I can’t do that with this command : ffmpeg -i 1/25359.mp4 -profile:v main out.mp4.

    That’d return an error :

    ...
    That'd return an error:
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1/25359.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.40.101
     Duration: 00:00:06.08, start: 0.000000, bitrate: 1059 kb/s
       Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 351x297, 1057 kb/s, 12.50 fps, 12.50 tbr, 12800 tbn, 25 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    x264 [error]: main profile doesn't support 4:4:4
    [libx264 @ 0x8fa9640] Error setting profile main.
    [libx264 @ 0x8fa9640] Possible profiles: baseline main high high10 high422 high444
    Output #0, mp4, to '1/24545.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.40.101
       Stream #0:0(und): Video: h264, none, q=2-31, 128 kb/s, 12.50 fps (default)
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc56.60.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • lavc/h264 : move history parsing variable to H264ParseContext

    19 juin 2016, par Clément Bœsch
    lavc/h264 : move history parsing variable to H264ParseContext
    

    This makes h264_find_frame_end() not depend on H264Context anymore.

    • [DH] libavcodec/h264.h
    • [DH] libavcodec/h264_parser.c
  • The audio export failed, possily because the bitrate you specified was > two high or too low for the video codec

    13 avril 2016, par Michael

    I am occasionally receiving the following error when attempting to write a m4a (aac) audio file to a video using write_videofile with the moviepy library. I cannot isolate what exactly is causing this error because it happens rarely. I have tried specifying different audio bitrates, but it still raise an exception.

    video = video.set_audio(AudioFileClip("asdf.m4a"))
    video.write_videofile("video.mp4", fps=FPS, codec='libx264', audio_codec="aac", temp_audiofile='temp-audio.m4a', remove_temp=True, audio_bitrate="256k")

    [Errno 32] Broken pipe MoviePy error : FFMPEG encountered the
    following error while writing file temp-audio.m4a :

    temp-audio.m4a : Permission denied

    The audio export failed, possily because the bitrate you specified was
    two high or too low for the video codec. : IOError Traceback (most
    recent call last) :

    video.write_videofile("video.mp4",
    fps=FPS, codec=’libx264’, audio_codec="aac",
    temp_audiofile=’temp-audio.m4a’, remove_temp=True,
    audio_bitrate="256k")

    File "", line 2, in write_videofile File
    "/var/task/moviepy/decorators.py", line 54, in requires_duration
    return f(clip, *a, **k)

    File "", line 2, in write_videofile File
    "/var/task/moviepy/decorators.py", line 137, in
    use_clip_fps_by_default return f(clip, *new_a, **new_kw) File
    "", line 2, in write_videofile File
    "/var/task/moviepy/decorators.py", line 22, in convert_masks_to_RGB
    return f(clip, *a, **k)

    File "/var/task/moviepy/video/VideoClip.py", line 331, in
    write_videofile verbose=verbose) File "", line 2,
    in write_audiofile File "/var/task/moviepy/decorators.py", line 54,
    in requires_duration return f(clip, *a, **k) File
    "/var/task/moviepy/audio/AudioClip.py", line 204, in write_audiofile
    verbose=verbose, ffmpeg_params=ffmpeg_params) File
    "", line 2, in ffmpeg_audiowrite File
    "/var/task/moviepy/decorators.py", line 54, in requires_duration
    return f(clip, *a, **k) File
    "/var/task/moviepy/audio/io/ffmpeg_audiowriter.py", line 162, in
    ffmpeg_audiowrite writer.write_frames(chunk) File
    "/var/task/moviepy/audio/io/ffmpeg_audiowriter.py", line 122, in
    write_frames raise IOError(error)

    IOError : [Errno 32] Broken pipe MoviePy error : FFMPEG encountered the
    following error while writing file temp-audio.m4a : temp-audio.m4a :
    Permission denied The audio export failed, possily because the
    bitrate you specified was two high or too low for the video codec.