Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (111)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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

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

Sur d’autres sites (14321)

  • How do I make a C# win form program that breaks a video down to frames, then put those frames back together to make a video ?

    30 juillet 2015, par Atom Scott

    First, I’m fairly new to C sharp so I’m looking for a thorough and easy to understand answer.

    How do I make a C# win form program that breaks a video down to frames, then puts those frames back together to make a video ?
    I also want to be able to select which frames to extract by setting an interval time. For example, extract frames that are one second apart.
    Is this possible, I have done some research but I don’t understand how to use the codes displayed on the following websites.

    Supposedly code to breakdown video into frames. However I do not know where to put it. Do I make it the event for a button or something. From my own research I am guessing this uses ffmpeg. But I’m not exactly sure how to use ffmpeg, I have tried downloading Aforge, and use Aforge.Video.ffmpeg. But I’m stuck there.
    http://www.researchgate.net/post/Has_anyone_code_in_C_to_read_video_file_and_split_it_into_frames[^]

    Code for making a video from images, it looked promising so i tried to copy and paste it visual studio. However the line using BytescoutImageToVideoLib ; has an error asking me whether I am missing a reference. What reference am I missing ?
    http://bytescout.com/products/developer/imagetovideosdk/imagetovideosdk_first_step_with_visual_c_sharp_net.html[^]

    I also noticed that there was a page on code project for something similar to this, but the downloadable demo project didn’t work at all. I didnt see the point in spending time on something where the end product is broken.
    http://www.codeproject.com/Articles/13237/Extract-Frames-from-Video-Files

    Any help is greatly appreciated.

  • Using ffmpeg rtmp stream a static image and audio input [on hold]

    30 octobre 2017, par Chad

    Using a Raspberry Pi, stream audio in and use a static image as the video input thru ffmpeg over RTMP to a Cloud video provider (DaCast in this instance)

    So far, I’ve gone through many blog posts, Stack Overflow questions, and package documentation. I’ve found that most of the posts are no longer valid with the newer versions of ffmpeg. Or don’t quite line up with what I am trying to achieve.

    However, I have figured out the right settings to stream the Raspberry Pi Camera v2 with the audio in.

    ffmpeg \
      -f alsa -ac 1 -i plughw:1,0 \
      -f v4l2 -s 1920x1080 -r 30 -input_format h264 -i /dev/video0 \
      -vcodec copy -preset veryfast -r 15 -g 30 -b:v 64k -ar 44100 -threads 6 -b:a 96k -bufsize 3000k \
      -f flv rtmp ://streaming_server_url
    

    But can’t seem to get it right to replace the video input with a static image.

    I have tried removing the 3rd line and adding -loop 1 -i '/path/to/image.jpg'

    The logs look like :

    [alsa @ 0x55e4b980] Thread message queue blocking ; consider raising the thread_queue_size option (current value : 1024)
    [alsa @ 0x55e4b980] ALSA buffer xrun.  0kB time=00:00:00.00 bitrate=N/A speed=   0x
    [alsa @ 0x55e4b980] ALSA buffer xrun.130kB time=00:00:00.27 bitrate=3822.5kbits/s speed=0.0403x
    ...
    

    I have also tried looping a 4 second video, with similar outcomes.


    My Setup for context :

    • Raspberry Pi 3 Model B
    • USB Audio Device (Sabrent USB External Stereo Sound Adapter)
    • Ubuntu MATE 16.04.2 (Xenial)
    • ffmpeg version 3.2-2+rpi1 xenial1.7 (I can post what is configured with the build, if needed)
  • How to upload 7MB GIF to Twitter's API

    22 février 2021, par randombits

    I have a bunch of JPEG frames that I use ImageMagick to stitch together into a GIF. The final product has the following type :

    


    GIF image data, version 89a, 1280 x 720

    


    This gives the effect of an animated GIF. My file sizes range anywhere between 6-8MB.

    


    If I upload this media manually to Twitter, it works great. Using TwitterOAuth PHP library found here when I attempt the following :

    


    $media = $twitterConnection->upload('media/upload', ['media' => 'my_file.gif');

    


    I get the following error :

    


    Image file size must be <= 5242880 bytes

    


    I have also tried uploading the file using Twitter's recommended Python large video library and that failed with the following :

    


    INIT
Media ID: 1362940800456351744
APPEND
4194304 of 7685061 bytes uploaded
APPEND
7685061 of 7685061 bytes uploaded
Upload chunks complete.
FINALIZE
{'media_id': 1362940800456351744, 'media_id_string': '1362940800456351744', 'media_key': '7_1362940800456351744', 'size': 7685061, 'expires_after_secs': 86400, 'processing_info': {'state': 'pending', 'check_after_secs': 1}}
Media processing status is pending
Checking after 1 seconds
STATUS
Media processing status is failed


    


    I am willing to use any platform/utility to get my video files uploaded to Twitter. What is my best bet to either :

    


    1 : Fix my file type to adhere to Twitter's requirements. Should it not be a GIF ? Should I be converting my still shot JPEG files to another format ?

    


    2 : Is there an API that Twitter has available that will allow the GIFs of these sizes to be uploaded ? Again, I can upload these files via the regular Twitter web UI client, but I cannot automate it via their API.

    


    How do I upload my GIF to Twitter using their API ?