Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (76)

  • 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 ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (9151)

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

  • libx264 bitrate to high for streaming

    26 février 2015, par KevinA

    I’m using libx264 to encode video captured at 1080p 24fps from a video camera. The output of the encoder goes to Live555 for streaming. I cannot get the bitrate below 30 mb/s.

    My Current Settings for x264 are :

    if (x264_param_default_preset(&m_pParam, "ultrafast", "zerolatency") != 0){
       return false;
    }
    int fps = 24;
    m_pParam.i_threads = 1;
    m_pParam.i_fps_num = fps;
    m_pParam.i_fps_den = 1;
    m_pParam.i_width = m_iWidthOut;
    m_pParam.i_height = m_iHeightOut;

    // One keyframe per X frames:
    m_pParam.i_keyint_max = 60;

    //Rate control:
    m_pParam.rc.i_rc_method = X264_RC_CRF;
    m_pParam.rc.f_rf_constant = fps - 5;
    m_pParam.rc.f_rf_constant_max = fps + 5;
    //m_pParam.i_sps_id = 7;
    //For streaming:
    m_pParam.b_repeat_headers = 1;
    m_pParam.b_annexb = 1;
    m_pParam.b_intra_refresh = 1;

    if (x264_param_apply_profile(&m_pParam, "main") != 0) {
       return false;
    }

    return true;

    Changing the preset seems to only slow the encoding rate and consequently the frame rate.

    How can I get the bitrate below 30mb/s so I can stream to something like a phone ?

  • libx264 bitrate to high for streaming

    26 février 2015, par KevinA

    I’m using libx264 to encode video captured at 1080p 24fps from a video camera. The output of the encoder goes to Live555 for streaming. I cannot get the bitrate below 30 mb/s.

    My Current Settings for x264 are :

    if (x264_param_default_preset(&m_pParam, "ultrafast", "zerolatency") != 0){
       return false;
    }
    int fps = 24;
    m_pParam.i_threads = 1;
    m_pParam.i_fps_num = fps;
    m_pParam.i_fps_den = 1;
    m_pParam.i_width = m_iWidthOut;
    m_pParam.i_height = m_iHeightOut;

    // One keyframe per X frames:
    m_pParam.i_keyint_max = 60;

    //Rate control:
    m_pParam.rc.i_rc_method = X264_RC_CRF;
    m_pParam.rc.f_rf_constant = fps - 5;
    m_pParam.rc.f_rf_constant_max = fps + 5;
    //m_pParam.i_sps_id = 7;
    //For streaming:
    m_pParam.b_repeat_headers = 1;
    m_pParam.b_annexb = 1;
    m_pParam.b_intra_refresh = 1;

    if (x264_param_apply_profile(&m_pParam, "main") != 0) {
       return false;
    }

    return true;

    Changing the preset seems to only slow the encoding rate and consequently the frame rate.

    How can I get the bitrate below 30mb/s so I can stream to something like a phone ?