Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (48)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (4027)

  • Volume control in FFmpeg based player

    12 mai 2015, par Somashekhar Ganjigatti

    Can anyone explain me how to change volume of audio while it is playing using FFMPEG.

  • Controlling end time in video player via AVPacket information / setting pts/dts properly

    26 janvier 2017, par SyntheticGio

    I’m currently working in C/C++ using the FFMPEG core (libavcodec, etc.). I’m capturing a stream and writing it in chunks to different files. So imagine the stream is 5 minutes in length and I’m writing five files of one minute in length each. I’m able to do this successfully.

    Currently, each file after the first file has a start time equal to the time it would have been in the un-chunked stream. So the second video file starts at 1 minute, the third starts at 2 minutes, etc. This was inadvertent but as it turns out is beneficial in my particular use case.

    VLC or other video players that I’ve tried report this start time ’properly’, but the end time shows as the duration (not start time + duration). My gut feeling is that the player simply is making the assumption all videos start at 0 and it shows the length as the ’end time’ but I don’t actually know this so I’d like to know if there is anyway to set the AVPacket information so the player for the third video would start at 2 minutes and end at 3 minutes (for a 1 minute length video) - as an example ?

    As an alternative, if I wanted to do this the traditional way (reset each chunk to starting at time 0), I assume I’d normalize the AVPacket.pts and AVPacket.dts by subtracting the values of the final packet in the previous chunk ? This seems like this strategy would work for pts but I’m less sure about it working for dts. I feel like it would generally work for dts but there might be times when this fails, so I’d like to know if this is a safe method (or if there is a better method I should use in this case).

  • Setting up time triggers on video player

    28 juillet 2022, par gPats

    Background :

    



    I have a some text that I want to display in a textbox whenever the video is playing in a certain interval, say (00:02:00-00:04:00 "Hello there").

    



    These textbox should only be displayed whenever the video is playing in the particular interval. If I rewind, or skip the video to a different time, the textbox should be generated/destroyed depending whether the current time falls within the interval or not.

    



    I have searched the documentation for ffplay and vlc for implementing this functionality.

    



    What I have tried :

    



    ffplay : my strategy would be to keep polling the current time of the video which ffplay dumps in STDERR and check if the current time falls within the interval.

    



    LibVLC :
LibVLC supports asynchronous events, but not the kind which would depend on the time at which video is playing.

    



    My question :

    



    1.Is it advisable to keep polling the current video time or setup callbacks/trigger functions ?

    



    2.Is it possible to get the current playing time of the video as a variable and create callback functions accordingly ?

    



    NOTE : I am aware that subtitles do the same thing, however I want the text to be in a different window. The textbox should be decoupled from the video player I use.