Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (111)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

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

Sur d’autres sites (11177)

  • Flutter ffmpeg kit : Invalid size error when trying to scale video

    27 juillet 2023, par veryepicdude

    I'm trying to resize a video to match instagram's video format requirements. I'm using the ffmpeg_kit_flutter_full_gpl: ^5.1.0 package to do so and this is the function I'm calling :

    


    Future<void> resizeVideo(String input, String output) async {&#xA;&#xA;  final command = &#x27;-i $input -c:v libx264 -aspect 16:9 -crf 18 -vf "scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2" -fpsmax 60 -preset ultrafast -c:a aac -b:a 128k -ac 1 -use_editlist false -ar 48000 -pix_fmt yuv420p -movflags &#x2B;faststart -t 59 -y $output&#x27;;&#xA;  final session = await FFmpegKit.execute(command);&#xA;  print("resize done with ${await session.getReturnCode()}");&#xA;}&#xA;</void>

    &#xA;

    However I get this error every time :

    &#xA;

     Stream #0:0[0x1](und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 60 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2023-07-27T15:30:28.000000Z&#xA;      handler_name    : Core Media Audio&#xA;      vendor_id       : [0][0][0][0]&#xA;  Stream #0:1[0x2](und): Video: hevc (hvc1 / 0x31637668), yuv420p(tv, smpte170m/bt709/bt709), 720x1280, 2085 kb/s, 30 fps, 30 tbr, 600 tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2023-07-27T15:30:28.000000Z&#xA;      handler_name    : Core Media Video&#xA;      vendor_id       : [0][0][0][0]&#xA;Stream mapping:&#xA;  Stream #0:1 -> #0:0 (hevc (native) -> h264 (libx264))&#xA;  Stream #0:0 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[Parsed_scale_0 @ 0x2834a53f0] Invalid size &#x27;iw*min(1280/iw&#x27;&#xA;[AVFilterGraph @ 0x28278e3a0] Error initializing filter &#x27;scale&#x27;[AVFilterGraph @ 0x28278e3a0]  with args &#x27;iw*min(1280/iw&#x27;[AVFilterGraph @ 0x28278e3a0] &#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #0:1&#xA;[aac @ 0x105334290] Qavg: 461.613&#xA;[aac @ 0x105334290] 2 frames left in the queue on closing&#xA;

    &#xA;

    Removing the scale filter makes the function work fine, but it fails the instagram video requirements listed here.&#xA;Any help will be greatly appreciated.

    &#xA;

  • problem with changing the frames in an video with opencv

    5 septembre 2023, par Avizipi

    I have a code that runs in the last few months without any problem. The code shows an image from a video with extra data from the relevant db. using the keyboard you can jump around some frames and get better insights. However, in the last week changing the frame of the video stopped working.

    &#xA;

    I built a small script that show the problem.

    &#xA;

    import cv2&#xA;&#xA;vid_cap_reader_path = "vid_230830_122746_C.avi"&#xA;cap_rgb = cv2.VideoCapture(vid_cap_reader_path)&#xA;&#xA;k = 0&#xA;while 1:&#xA;    if k == ord("q"):&#xA;        break&#xA;    if k == ord("b"):&#xA;        before = cap_rgb.get(cv2.CAP_PROP_POS_FRAMES)&#xA;        cap_rgb.set(cv2.CAP_PROP_POS_FRAMES, before &#x2B; 30.0)&#xA;        after = cap_rgb.get(cv2.CAP_PROP_POS_FRAMES)&#xA;        print(f"before = {before} after = {after}")&#xA;    ret, img = cap_rgb.read()&#xA;    if ret:&#xA;        cv2.imshow("bla", img)&#xA;        k = cv2.waitKey(0)&#xA;    else:&#xA;        break&#xA;

    &#xA;

    This is what is printed to the terminal :

    &#xA;

    [mpeg4 @ 0x1d87400] warning: first frame is no keyframe&#xA;before = 36.0 after = 0.0&#xA;before = 67.0 after = 0.0&#xA;[mpeg4 @ 0x1d87400] warning: first frame is no keyframe&#xA;before = 40.0 after = 0.0&#xA;[mpeg4 @ 0x1d87400] warning: first frame is no keyframe&#xA;

    &#xA;

    The video itself doesn't "jump" for the next frame as expected and also most of the properties that opencv have return 0. I tested also CAP_PROP_FRAME_COUNT, and CAP_PROP_POS_MSEC without any lack, although the msec flag did give non-zero results which make no sense.

    &#xA;

    It is also important to mention that I am building this application in a docker file and I am not using a specific version for my requirements. The tests here are with opencv-python==4.7.0.68. Also, the videos are working fine while playing them on VLC.

    &#xA;

    I was looking around the net for a similar problem from the recent time and didn't find much except this github issue that may be similar. I started to downgrade opencv one by one without any luck.

    &#xA;

    Maybe someone here can help with this issue, or give me a lead to doing something different.

    &#xA;

  • Implementing Live Streaming Webinar Architecture - Need Guidance

    21 septembre 2023, par vishnugpl

    Question : I'm working on a project to implement a live streaming webinar platform, and I'm looking for guidance on the architecture and technologies to use. I have some specific requirements and constraints, and I'd appreciate any advice or pointers on how to get started.

    &#xA;

    Context :&#xA;I'm tasked with building a live streaming webinar platform from scratch for our organization. Here are some key requirements and constraints :

    &#xA;

      &#xA;
    1. Live Video Streaming : We need to support live video streaming for&#xA;webinars, workshops, and conferences. Low latency is crucial for&#xA;real-time interaction between presenters and attendees.

      &#xA;

    2. &#xA;

    3. Scalability : The platform should be able to handle a large number of concurrent attendees, potentially thousands or more,&#xA;without compromising performance.

      &#xA;

    4. &#xA;

    5. Security : Security is a top priority. We need to ensure that only authorized users can access the webinars, and we must protect&#xA;against unauthorized recording or distribution of the content.

      &#xA;

    6. &#xA;

    7. User Interaction : Attendees should be able to ask questions, participate in polls, and interact with presenters in real-time.

      &#xA;

    8. &#xA;

    9. Recording and Playback : We also want to provide recorded versions of past webinars for on-demand viewing (HLS).

      &#xA;

    10. &#xA;

    &#xA;

    Current Tech Stack :

    &#xA;

      &#xA;
    • Frontend : React
    • &#xA;

    • Backend : Node.js with Express
    • &#xA;

    • Database : MongoDB
    • &#xA;

    • Cloud Hosting : AWS
    • &#xA;

    &#xA;

    Questions :

    &#xA;

      &#xA;
    • What technologies or services are best suited for handling live video streaming with low latency ?

      &#xA;

    • &#xA;

    • How can I ensure scalability in terms of both video streaming and handling a large number of users ?

      &#xA;

    • &#xA;

    • What security measures should I consider to protect the content and user data ?

      &#xA;

    • &#xA;

    • Are there any recommended frameworks or libraries for building interactive features like real-time chat and polling ?

      &#xA;

    • &#xA;

    • What's the best approach for recording and serving on-demand webinar content ?

      &#xA;

    • &#xA;

    &#xA;

    Additional Information :

    &#xA;

      &#xA;
    • Budget is a consideration, so cost-effective solutions are preferred.

      &#xA;

    • &#xA;

    • Any open-source or third-party tools that can simplify development are welcome.

      &#xA;

    • &#xA;

    • I have experience with AWS, but I'm open to other cloud providers if they offer advantages for this project.

      &#xA;

    • &#xA;

    &#xA;