Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (71)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (12336)

  • Using Python script to cut long videos into chunks in FFMPEG

    23 février 2016, par Michael Hamilton

    Starting off by saying I’m not a programmer, but I really need the application this Python script I found says it can do.

    Auto-Splitting Script by Antarctic Nest of Icephoenix

    Basically I have a directory of long .MP4s that need to be cut into equal parts based on a total running time of 3 hours 15 minutes. For example, I would have an 8 hour video that needs to be cut into smaller parts each under 3:15:00.

    We’ve been manually crating FFMPEG codes to do this, but I found the Python script above that seems like it will do what we are needing. The issue is that I have no Python experience. I don’t know where in the script to enter in the folder path with the videos, or where to specify my codecs, or where to tell the program that the max time for each video chunk is 3:15:00.

    I’m on a 64-bit windows system working in command prompt

    Here’s what I have done :

    • Installed python 3
    • downloaded the script
    • I can click on the script to see the cmd window flash to indicate it’s running
    • I enter "C :\Python34\python.exe V :\ffmpeg\ffmpeg-split.py" into cmd
    • output is

      File "V :\ffmpeg\ffmpeg-split.py", line 16
      print "Split length can’t be 0"

       SyntaxError: Missing parentheses in call to 'print'

    I have no idea where to go from here. It seems like the script is loading properly, but I haven’t entered my variables. Any help with where to put the information would be appreciated.

    Here is the FFMPEG code we usually use :

    ffmpeg -i V :\ffmpeg\88518_63c392af.mp4 -vcodec libx264 -acodec copy -vf fps=fps=30000/1001 -ss 00:05:01.000 -t 02:43:49.000 V :\events\88518.mp4

    The ffmpeg codes we use :

    -i is a .mp4

    -vcodec h.264 codec

    -acodec should be “copy” or can be “libvo_aacenc”

    -vf fps=30000/1000 a forced fps of 29.97

    -ss is start time (we would use this to manually cut into parts along with -t)

    -t is duration (we would calculate the duration for each part as the total run time divided by the equal time under 3:15:00 be it two, three, or four parts)

    Thank you a million dollars

  • My Raspberry pi doesnt capture frames even though pi cam is detected in index 0

    1er mars 2024, par Yassine Benkhalouk

    I'm using Raspberry Pi 4 Model B with Pi camera module v3, I'm trying to launch an RTSP stream server that streams camera feed, I've been using this RTSP library, when I run the server script :

    


    import cv2
from zephyr import Stream

if __name__ == "__main__":
  stream = Stream(
    url="rtsp://localhost:8554/test",
    resolution=(1280, 720),
    fps=30,
    bitrate="2M"
  )

  cap = cv2.VideoCapture(0)
  while True:
    ret, frame = cap.read()
    stream.send(frame)


    


    I get :

    


    Traceback (most recent call last):&#xA;  File "/home/pi/testserver1.py", line 15, in <module>&#xA;    stream.send(frame)&#xA;  File "/home/pi/innov/venv/lib/python3.11/site-packages/zephyr/stream/stream.py", line 174, in send&#xA;    frame = cv2.resize(frame, self.resolution)&#xA;            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&#xA;cv2.error: OpenCV(4.8.1) /io/opencv/modules/imgproc/src/resize.cpp:4062: error: (-215:Assertion failed) !ssize.empty() in function &#x27;resize&#x27;&#xA;</module>

    &#xA;

    even though my camera is detected :

    &#xA;

    (venv) pi@YassinePi:~ $ libcamera-still --list-cameras&#xA;Available cameras&#xA;-----------------&#xA;0 : imx708 [4608x2592 10-bit RGGB] (/base/soc/i2c0mux/i2c@1/imx708@1a)&#xA;    Modes: &#x27;SRGGB10_CSI2P&#x27; : 1536x864 [120.13 fps - (768, 432)/3072x1728 crop]&#xA;                             2304x1296 [56.03 fps - (0, 0)/4608x2592 crop]&#xA;                             4608x2592 [14.35 fps - (0, 0)/4608x2592 crop]&#xA;

    &#xA;

    I've tried changing the index from 1,-1,2 didn't work

    &#xA;

    I think it may be because this code is designed for desktop computers, or I didn't install the required packages correctly

    &#xA;

    For the second reason since I don't have experience with Raspbian OS, I reinstalled the OS and installed the packages all over again, still doesn't work.

    &#xA;

    Any idea how to solve this issue ? Or there is an alternative way to do this ?

    &#xA;

  • VeriSilicon and WebM Support

    24 janvier 2011, par noreply@blogger.com (John Luther)

    Guest blogger Tomi Jalonen is Director of Product Marketing for Hantro video IP at VeriSilicon

    2011 is shaping up to be an exciting year at VeriSilicon Holdings in terms of WebM support. With the new year upon us, I want to share some updates about the work we are doing at VeriSilicon to move the WebM platform forward.

    VeriSilicon has been a longtime partner of On2/Hantro (Hantro is the video IP brand that Google acquired with On2 Technologies) and we were among the first hardware partners to commit to WebM video when the codec was open-sourced last year. After promoting WebM to the semiconductor industry during 2010, we’re excited that at CES 2011 the first tablet supporting WebM with full 1080p resolution was demonstrated. VeriSilicon licensed the WebM IP to this tablet manufacturer and provided engineering support to bring the technology to the showroom floor.

    In addition to licensing IPs, this year we’ll be taking the WebM experience a step further by taping out several application processor chips—including the WebM video IP for Android phones, xPad, and Google TV—to accelerate the deployment of WebM and HTML5 video playback into the market.

    The entire VeriSilicon team is very excited about the future of WebM. We believe that the availability of high-quality, optimized WebM hardware video IP, combined with other VeriSilicon audio and multimedia IP, will be a key ingredient for semiconductor companies to create competitive consumer products. After the launch of WebM, the interest in hardware-accelerated WebM video has been immense and we will continue working with the WebM Project to enable WebM and VP8 in many more chips in 2011.