Recherche avancée

Médias (0)

Mot : - Tags -/navigation

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

Autres articles (38)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (5177)

  • Stream H264 raw data on RTSP server

    1er janvier, par Aitazaz

    I have H264 hex string data saved in a list.
The data is in correct format as it is being received, I am trying to stream it to RTSP server.

    


    I have stream the data in realtime as it is from a dashcam.

    


    The RTSP server is deployed but when I stream frames to it, the connection is created and then ends in an instant (does not last for a second)

    


    The code is mentioned below which performs this streaming task.

    


    def h264_stream_to_rtsp(data_list, rtsp_url):
    try:
        ffmpeg_command = [
            "ffmpeg", 
            "-f", "h264",
            "-i", "-",
            "-vcodec", "libx264",
            "-preset", "fast",
            "-f", "rtsp",
            "-analyzeduration", "5000000",
            "-probesize", "5000000", 
            rtsp_url  # The RTSP URL to stream to
        ]
        
        ffmpeg_process = subprocess.Popen(ffmpeg_command, stdin=subprocess.PIPE)

        for index, hex_data in enumerate(data_list):
            # print(f"Processing hex data {index + 1}/{len(data_list)}...")

            if len(hex_data) % 2 != 0:
                hex_data = '0' + hex_data  # Append a leading zero if length is odd

            binary_data = binascii.unhexlify(hex_data)

            ffmpeg_process.stdin.write(binary_data)

        ffmpeg_process.stdin.close()

        ffmpeg_process.wait()
        print("Stream completed.")

    except KeyboardInterrupt:
        print("Stopping live stream.")
    except Exception as e:
        print(f"Error: {e}")


    


    Logs from the RTSP server are mentioned below :

    


    2025/01/01 10:56:04 INF [RTSP] [conn 20.174.9.78:35474] opened
2025/01/01 10:56:04 INF [RTSP] [session 1d2bb871] created by 20.174.9.78:35474
2025/01/01 10:56:04 INF [RTSP] [session 1d2bb871] is publishing to path 'live', 1 track (H264)
2025/01/01 10:56:04 INF [RTSP] [session 1d2bb871] destroyed: torn down by 20.174.9.78:35474
2025/01/01 10:56:04 INF [RTSP] [conn 20.174.9.78:35474] closed: EOF
2025/01/01 10:56:48 INF [RTSP] [conn 20.174.9.78:54448] opened
2025/01/01 10:56:48 INF [RTSP] [session b6a95e71] created by 20.174.9.78:54448
2025/01/01 10:56:48 INF [RTSP] [session b6a95e71] is publishing to path 'live', 1 track (H264)
2025/01/01 10:56:48 INF [RTSP] [session b6a95e71] destroyed: torn down by 20.174.9.78:54448


    


    How can I stream continuously ?

    


  • Split mixed content into sections by scan type using FFmpeg ?

    7 août 2023, par Vivian

    Trying to deinterlace and detelecine "Star Trek : Voyager" and "Star Trek : Deep Space Nine" NTSC DVD rips made using MakeMKV without changing the total number of frames. The videos are a variable frame rate combination of interlaced, telecined, and progressive frames.

    


    I'd like to be able to convert each episode to a sequence of video clips, split by scan type, so I can then feed those individually into Selur's Hybrid for processing, then stitch them back together and feed the reconstructed video into Topaz Video AI.

    


    Is there a way to use FFmpeg to split a video into sections by scan type, and if so, how ?

    


    I've tried automated handling in Hybrid and HandBrake, but both created artifacts and left unfixed issues as a result of applying filters to frames that didn't need them as well as not applying filters to frames that did.

    


  • Performance Evaluation of RTX 3080 10G in ffmpeg Transcoding

    26 juin 2023, par JoeLin

    My GPU is RTX 3080 10G ,in ffmpeg , command is :

    


    ffmpeg -loglevel level+info
    
-n -hide_banner -hwaccel cuda -hwaccel_device 0 -hwaccel_output_format cuda
    
-i test.mkv
    
-map 0
    
-c:a copy -preset slow -g 50 -bf 2 -rc:v vbr -cq:v 20 -c:v : h264_nvenc -b:v : 3500k -maxrate:v:0 3500k -bufsize:v:0 7000k -map a:0 -var_stream_map "v:0,a:0,name:1080"
    
"/data/joe/speed/1080_test.mp4"
    
-benchmark

    


    My video file is 3.5G and it takes 27 minutes to execute this command. Can you please tell me if this is within a reasonable range ? By checking the logs, I found that the speed is 7.0x. I would like to know how efficient the transcoding capability of RTX 3080 is and if there are any GPUs with a similar price range that offer better transcoding performance. Alternatively, could there be an issue with my command parameters ? Thank you for your help, guys !

    


    I haven't found similar documentation, so I'm unsure if it's due to an issue with my command