Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (66)

Sur d’autres sites (13939)

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

  • mingw : Enable high-entropy ASLR on 64-bit Windows

    28 janvier 2016, par Henrik Gramner
    mingw : Enable high-entropy ASLR on 64-bit Windows
    

    To fully utilize HEASLR the image base address must also be set above
    4 GiB. For consistency use the same address as MSVC uses by default.

    This requires binutils 2.25 which isn’t available on all common
    distributions, so only enable it after checking that it’s supported.

    • [DH] configure
  • lavfi/af_hdcd : Implement high definition audio cd filtering.

    15 avril 2016, par Benjamin Steffes
    lavfi/af_hdcd : Implement high definition audio cd filtering.
    

    Fixes ticket #4441.

    • [DH] Changelog
    • [DH] doc/filters.texi
    • [DH] libavfilter/Makefile
    • [DH] libavfilter/af_hdcd.c
    • [DH] libavfilter/allfilters.c
    • [DH] tests/fate/filter-audio.mak