Advanced search

Medias (91)

Other articles (17)

  • List of compatible distributions

    26 April 2011, by

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

  • Keeping control of your media in your hands

    13 April 2011, by

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

  • Creating farms of unique websites

    13 April 2011, by

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things): implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

On other websites (3844)

  • Concatenate Movies from Python List using MoviePy or FFmpeg

    24 September 2020, by Python_Learner_DK

    I have about 10,000 short videos that I am trying to make several longer videos from.

    



    I've created these videos using MoviePy, but keep getting memory errors when trying to concatenate them back together.

    



    In my code I have an outer loop going through each letter of the alphabet and getting the files that start with that letter.

    



    From the returned video clips I get the length and and strip off the last 3.5 seconds (outro_clip_duration) of the video, and then add it into a Python list clips.

    



    Where I'm stuck is I then want to take this list of trimmed videos and make one long long video from it.

    



    I have all the files, I just need to trim them, concatenate them, and then export them as one.

    



    I've tried many times with different MoviePy attempts and keep getting MemoryErrors so I gave up and took a swing at an ffmpeg solution seen here but it is not working out either.

    



    The latest version of the main part of my code is here:

    



    clips = []
outro_clip = mpy.VideoFileClip('Logo_Intro_w_Stinger_Large.mp4')
outro_clip_duration = outro_clip.duration
for def_image in vid_list_long:
    video_item = mpy.VideoFileClip('F:/sm_My_Video/sm_%s.mp4' % def_image)
    video_item_duration = video_item.duration
    clips.append(ffmpeg_extract_subclip(video_item,0,(video_item_duration - outro_clip_duration), targetname = def_image))

# #Append the outro_clip to the end 
clips.append(mpy.VideoFileClip('Logo_Intro_w_Stinger_Large.mp4',target_resolution = (h,w),audio=True))
slided_clips = [CompositeVideoClip([clip.fx( transfx.crossfadein, transition_seconds)]) for clip in clips]
#added 'method = compose' NEED TO TEST - supposedly removes the weird glitches.
c = concatenate_videoclips(slided_clips, method = 'compose')
c.write_videofile('F:/Extended_Play/%s_Extended_Play_vid.mp4' % letter,fps=23.98)


    



    My PC is Windows 10 and I have 32 GB of RAM running Anaconda and Python 3.

    


  • How to get DirectShow device list with ffmpeg in c++?

    24 August 2018, by fyo

    I’m trying to get dshow device list with ffmpeg. I cannot get it but ffmpeg gets it by its own. Here is the code. It returns AVERROR(ENOSYS) for avdevice_list_input_sources. But avformat_open_input prints all devices. How can I get dshow devices and options in c++ code.

       avdevice_register_all();
       AVInputFormat *iformat = av_find_input_format("dshow");
       printf("========Device Info=============\n");
       AVDeviceInfoList *device_list = NULL;
       AVDictionary* options = NULL;
       //av_dict_set(&options, "list_devices", "true", 0);
       int result = avdevice_list_input_sources(iformat, NULL, options, &device_list);

       if (result < 0)
           printf("Error Code:%s\n", av_err2str(result));//Returns -40 AVERROR(ENOSYS)
       else printf("Devices count:%d\n", result);

       AVFormatContext *pFormatCtx = avformat_alloc_context();
       AVDictionary* options2 = NULL;
       av_dict_set(&options2, "list_devices", "true", 0);
       avformat_open_input(&pFormatCtx, NULL, iformat, &options2);
       printf("================================\n");
  • Revision 9ab47772bd: Update README - new date - add VP9 to the title - update list of available targ

    2 August 2013, by Paweł Hajdan

    Changed Paths:
     Modify /README



    Update README

    - new date
    - add VP9 to the title
    - update list of available targets

    Change-Id: I56263336db393020bac5da8e42fbac3a276ffb1f