Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (27)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4824)

  • Process Multiple Streams using ffmpeg-python

    27 novembre 2019, par C Dorman

    I have a MPEG-2 TS with a stream of video and a steam of KLV metadata. I can use ffmpeg-python to process each of these streams independently. For example, I can get the video stream, process each frames using numpy as shown in the docs. I can also get the data stream and show it in following way (using the library klvdata) :

    process = (
       ffmpeg
           .input(in_filename)
           .output('pipe:', format='data', codec='copy', map='data-re')
           .run_async(pipe_stdout=True, pipe_stderr=True)
    )

    for packet in klvdata.StreamParser(process.stdout.read()):
       packet.structure()

    process.wait()

    How do I do these at the same time ? I need to split the TS data into its streams and process them both, keeping them in sync. ffmpeg by itself can demultiplex the streams into separate files, but how do I handle the streams in python. The KLV has information that I want to show on top of the video stream (recognition boxes).

  • Video stream url extract using python

    25 octobre 2016, par AGR

    I am trying to extract video source url from online video, I have tried selenium and scrapy but I can use these tools to extract any data from the website if we know the exact xpath.

    But some websites they don’t have source url on the page (hidden), I can see that on wireshark traffic or “Video DownloadHelper” chrome addon extracts the source.

    Is there any python lib to extract any streaming video url from online page (like Video downloadhelper) ?

    Thanks in advance.

  • Having issues with exporting video in FFMPEG [closed]

    3 avril 2024, par Jake

    I am developing an application that uses FFMPEG to take numerous videos and concatenate them into one file. The user has the ability to flip an individual video if they would like. From Landscape to portrait. The application works as planned and it produces one single file, with the orientation however the user set them.

    


    The problem is, when I take that file that FFMPEG generated and tray to convert or copy it using FFMPEG. It will create a video file of all of the video prior to the segment where the orientation has been flipped. The flipped video as well as all of the other videos after it, will not be in the video.

    


    Below are the parameters to export each individual video.

    


    parameters = "-y -i " + '"' + frames[0].VideoPath + '"' + " -filter_complex " + '"' + @"[0:v]trim=" + frames[0].TimeCode.TotalSeconds + @":" + frames[1].TimeCode.TotalSeconds +
            @", setpts=PTS-STARTPTS[trimedv0];[trimedv0]yadif," + orientation + @"setsar=1/1, eq=contrast=1:brightness=" + video.Brightness + @", drawtext=text=\'%{pts\:localtime\:" + ToUnixTimestamp(frames[0].FrameTime) +
            @"\:'" + CurrentDisplayDateFormat.DateOutputFormat + @"'}\'" + @":fontfile =\'Fonts/" + font.FirstOrDefault() + @"\':fontcolor=" + fontColor + ":x=" + DATEXOFF +
            ":y=" + DATEYOFF + " -th:fontsize=" + tempFont +
            @":box=1:boxcolor=" + boxColor + @"@" + opacity + @", drawtext=text=\'%{pts\:localtime\:" + ToUnixTimestamp(frames[0].FrameTime) + @"\:'" + CurrentDisplayDateFormat.TimeOutputFormat + @"'}\'" + @":fontfile =\'Fonts/" + font.FirstOrDefault() + @"\':fontcolor=" + fontColor +
            ":x=" + TIMEXOFF + ":y=" + TIMEYOFF +
            " -th:fontsize=" + tempFont + @":box=1:boxcolor=" + boxColor + @"@" + opacity + ", " + fadeString + " -sn " + mapVar + " -progress - -nostats -an -c:v libx264 -b:v " + video.BitRate + " -preset ultrafast -profile:v baseline -level 3.0 " +
            @"-pix_fmt yuv420p -f mpegts " + vidPath + @"\v" + outputFile.ToString() + ".MP4";


    


    Below are the parameters to concatenate all of the videos :

    


    string parameters = "-y -probesize 100M -analyzeduration 100M -i concat:" + '"' + concatString + '"' + @" -c:v copy " + '"' + ExportOptions.CompleteDestinationPath + '"';


    


    Any ideas of what is going on and hopefully a solution ?