Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (31)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (8181)

  • ffplay how to play interlaced yuv file

    16 février 2015, par Balamurugan A

    I am playing an interlaced output yuv with ffmpeg and seeing the output is stuttering.

    ffplay -v info -f rawvideo -pixel_format nv12 -video_size 720x480  data/yuvframes.yuv

    Can anyone please let me know the exact syntax for playing it properly ?

  • unable to play downloaded .ts video files

    29 mai 2021, par nish

    i have downloaded a ts video file from m3u8 index file with the help of this python script

    


    import requests
import m3u8
url1 = "url of the m3u8 file"
r = requests.get(url1)
master_m3u8 = m3u8.loads(r.text)

preurl = "preurl of the m3u8 file "

url2 = preurl + master_m3u8.data["playlists"][2]["uri"]
r2 = requests.get(url2)
sub_m3u8_file = m3u8.loads(r2.text)


with open("philosophy_intro.ts","wb") as f:
    for segment in sub_m3u8_file.data["segments"]:
        url = preurl + segment["uri"]
        res = requests.get(url)
        f.write(res.content)


    


    and this is what segments of the playlists look like
playlists segments

    


    video of the size 800mb is being downloaded but it dosen't play in any media player in my computer also when i try to convert it to mp4 with moviepy script

    


    import moviepy.editor as moviepy
clip = moviepy.VideoFileClip("philosophy_intro.ts")
clip.write_videofile("philosophy_intro.mp4")


    


    it says failed to read the duration of the video file,whats the problem

    


  • gstreamer vaapih264enc generated ts segment dont play on AVPlayer

    21 juin 2022, par Guru Govindan

    I have a pipeline that transcodes an rtsp stream into hls segments. The manifest is playable in browsers(with hlsjs) and ffplay and VLC. However when I play the stream or individual ts segments in Quicktime player or my IOS App that uses avplayer, it doesnt work.

    


    This seems to be an issue only with vaapih264enc. When I try the same with software encode like x264enc it works fine.

    


    The following is a simple pipeline where this is reproducible.

    


    GST_DEBUG=3 gst-launch-1.0 rtspsrc location='rtsp://user:pass@10.10.10.12:554/' name=rtpsrc0 \
 rtpsrc0. ! rtph264depay ! queue ! decodebin ! vaapih264enc ! mpegtsmux name=mux ! filesink location=mymux.ts \
 rtpsrc0. ! decodebin ! queue ! fdkaacenc ! mux.


    


    when I run the following command to copy the encoded stream as is from the generated ts segment it works

    


    ffmpeg -i mymux.ts -c copy mymux_ffmpeg.ts


    


    Is the ffmpeg adding some additional header information that the quicktime player is happy with ?

    


    I appreciate any help with this.