Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (84)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (8534)

  • mobile-ffmpeg can't open gallery videos

    25 juillet 2020, par MoTahir

    I'm trying to practice video editing with ffmpeg, I made a sample app which allows the users to either record a video then edit it or choose a video from gallery to edit.

    


    When the user records videos with the application a temporary file is created then that file path is sent to ffmpeg to edit then save

    


    "-i $videoPath  -vf crop=ih/$screenR:ih $outPath"


    


    I'm just cropping the video then saving it as a test, The above command works as intended without any problems.

    


    When I try to edit videos from gallery it doesn't work, I understand that the storage system in new versions of android devices is different, the uri is just an address to the content not an actual path to the file

    


    the video path from gallery is something like this

    


    


    content ://media/external/file/38625

    


    


    ffmpeg can not access the video with that path so it can't edit it, what should I do ? thank you in advance.

    


  • Vidgear write Video not open

    25 août 2020, par MrTuyen

    Source code

    



    Command : (https://drive.google.com/file/d/14YGKIhftAidQVvR_nMWY3oIhcWFzLERE/view?usp=sharing)

    



    No errors occurred. I have been trying to figure out how to write videos with Vidgear. I am working with windows and webcam.

    



    Error : "Output.mp4" Opened is a black color. (https://drive.google.com/file/d/11x-q_w59gdaAECtRIqi0MNGIOZ-Vuati/view?usp=sharing)

    



    # import required libraries
from vidgear.gears import CamGear
from vidgear.gears import WriteGear
import cv2

# Open live video stream on webcam at first index(i.e. 0) device
stream = CamGear(source=0).start()

# retrieve framerate from CamGear Stream and pass it as `-input_framerate` parameter
output_params = {"-input_framerate":stream.framerate}

# Define writer with defined parameters and suitable output filename for e.g. `Output.mp4`
writer = WriteGear(output_filename = 'Output.mp4', **output_params)

# loop over
while True:

    # read frames from stream
    frame = stream.read()

    # check for frame if None-type
    if frame is None:
        break


    # {do something with the frame here}


    # write frame to writer
    writer.write(frame)

    # Show output window
    cv2.imshow("Output Frame", frame)

    # check for 'q' key if pressed
    key = cv2.waitKey(1) & 0xFF
    if key == ord("q"):
        break

# close output window
cv2.destroyAllWindows()

# safely close video stream
stream.stop()

# safely close writer
writer.close()


    


  • avformat/webm_chunk : Open AVIOContext before initializing sub-muxer

    17 mai 2020, par Andreas Rheinhardt
    avformat/webm_chunk : Open AVIOContext before initializing sub-muxer
    

    The description of AVOutputFormat.init contains the statement that "this
    method must not write output". Due to this, the webm_chunk muxer defers
    opening the AVIOContext for the child muxer until avformat_write_header(),
    i.e. there is no AVIOContext when the sub-muxer's avformat_init_output()
    is called. But this violates the documentation of said function which
    requires the AVFormatContext to have an already opened AVIOContext.
    This commit fixes this.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/webm_chunk.c