Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (70)

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

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (13888)

  • avcodec/pngenc : support writing iCCP chunks

    11 mars 2022, par Niklas Haas
    avcodec/pngenc : support writing iCCP chunks
    

    We re-use the PNGEncContext.zstream for deflate-related operations.
    Other than that, the code is pretty straightforward. Special care needs
    to be taken to avoid writing more than 79 characters of the profile
    description (the maximum supported).

    To write the (dynamically sized) deflate-encoded data, we allocate extra
    space in the packet and use that directly as a scratch buffer. Modify
    png_write_chunk slightly to allow pre-writing the chunk contents like
    this.

    Also add a FATE transcode test to ensure that the ICC profile gets
    encoded correctly.

    Signed-off-by : Niklas Haas <git@haasn.dev>

    • [DH] libavcodec/pngenc.c
    • [DH] tests/fate/image.mak
    • [DH] tests/ref/fate/png-icc
  • WinError 6 handle not valid

    31 août 2019, par Patrick

    Hy Community,

    I know that a lot of Threads have opened regarding WinError6, but i still not able to solve this error.

    before I had this error only in for loops after (i estimate) around 60-100 cycles.

    now i tried to update all packages including pip.

    now the error is present immediately when for loop starts.

    my imports :
    moviepy, ffmpeg, pyaudio, os, shutil, opencv2, google-API

    thank you in advance.

    cmd = [get_setting("FFMPEG_BINARY"), "-y", "-i", inputfile, "-ab", "%dk"%bitrate,
        "-ar", "%d"%fps,'-ac','1', output]
    subprocess_call(cmd)

    Traceback (most recent call last) :

    File "C :\Users\zfp\Documents\unite__main_test_neu.py", line 52, in
    extract_audio_wav.extract_audio_wav(new_path,
    "t_video"+x+".mp4", new_path, "t_audio"+x+".wav", 1411, frequency)

    File "C :\Users\zfp\Documents\unite\extract_audio_wav.py", line 23, in
    extract_audio_wav audio(path_in,path_out,bitrate,frequency)

    File "C :\Users\zfp\Documents\unite\ffmpeg.py", line 59, in
    ffmpeg_extract_audio subprocess_call(cmd)

    File
    "C :\Users\zfp\AppData\Local\Programs\Python\Python37\lib\site-packages\moviepy\tools.py",
    line 46, in subprocess_call proc = sp.Popen(cmd, **popen_params)

    File
    "C :\Users\zfp\AppData\Local\Programs\Python\Python37\lib\subprocess.py",
    line 664, in __init___cleanup()

    File
    "C :\Users\zfp\AppData\Local\Programs\Python\Python37\lib\subprocess.py",
    line 228, in _cleanup res =
    inst._internal_poll(_deadstate=sys.maxsize)

    File
    "C :\Users\zfp\AppData\Local\Programs\Python\Python37\lib\subprocess.py",
    line 1216, in _internal_poll if _WaitForSingleObject(self._handle, 0)
    == _WAIT_OBJECT_0 :

    OSError : [WinError 6] Das Handle ist ungültig

    EDIT :
    im working with Python IDLE -> where this fail occurs

    now i tried same code with PyCharm with normal "Run" —> failed too

    With PyCharm "Debug Run" -> no error occurs and code run stable

  • ffmpeg library - why does the Bitrate parameter change on encoding, and how do I force to preserve it ?

    22 avril 2021, par QRrabbit

    Hello forum and all the members of the community !

    &#xA;

    I have this question on ffmpeg library, why does the bitrate parameter not retained after encoding, even though I explicitly specify the desired rate.

    &#xA;

    Input file ffprobe :

    &#xA;

      Duration: 00:00:10.01, start: 0.000000, bitrate: 534719 kb/s&#xA;    Stream #0:0(eng): Video: qtrle (rle  / 0x20656C72), argb(progressive), 1920x1080, 533881 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2021-04-13T16:35:16.000000Z&#xA;      handler_name    : Apple Video Media Handler&#xA;      encoder         : Animation&#xA;      timecode        : 00:00:00;00&#xA;

    &#xA;

    Here's the command I run :

    &#xA;

    ffmpeg -i input.mov -map 0:a? -map 0:s? -pix_fmt argb -b:v 533881667 -maxrate 533881667 -minrate 533881667 -r 29.97 -top 1 -color_range 1 -colorspace 1 -color_primaries 1 -color_trc bt709 -map_metadata 0 -c:a copy -timecode 00:00:00.00 -c:v qtrle -c:s copy output.mov&#xA;

    &#xA;

    Output file ffprobe :

    &#xA;

      Metadata:&#xA;    major_brand     : qt  &#xA;    minor_version   : 512&#xA;    compatible_brands: qt  &#xA;    creation_time   : 2021-04-13T16:35:16.000000Z&#xA;  Duration: 00:00:10.01, start: 0.000000, bitrate: 100126 kb/s&#xA;    Stream #0:0: Video: qtrle (rle  / 0x20656C72), argb(progressive), 1920x1080, 100133 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 11988 tbn, 11988 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2021-04-13T16:35:16.000000Z&#xA;      handler_name    : VideoHandler&#xA;      encoder         : Lavf58.58.100&#xA;      timecode        : 00:00:00;00&#xA;

    &#xA;

    As it is visible from the ffprobe from above, I go from :

    &#xA;

    The Input's file bitrate : 534719 kb/s&#xA;to Output bitrate : 100126 kb/s

    &#xA;