Recherche avancée

Médias (1)

Mot : - Tags -/illustrator

Autres articles (15)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (3637)

  • What does "level" mean in FFprobe output ?

    8 mars 2017, par shintaroid

    I do not understand some attributes in the output by FFprobe

    For a sample file

    $ ffprobe -v error -show_format -show_streams input.mp4
    [STREAM]
    index=0
    codec_name=h264
    codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    profile=High
    width=320
    height=240
    has_b_frames=2
    pix_fmt=yuv420p
    level=13                <= This one!
    color_range=N/A

    What does "level" mean here ? Is there any document explain those attributes ?

  • Fix up "Bar UI" icons.

    3 juin 2017, par scottschiller
    Fix up "Bar UI" icons.
  • "Could not demultiplex stream" in loading Video recorded by Opencv's VideoWriter

    16 juin 2016, par batuman

    My program is

    int main(){
       cout << "Start the process" << endl;
       cv::VideoCapture vcap("rtsp://root:pass@192.168.0.90/axis-media/media.amp?camera=1");
       cout << "Camera connection done!" << endl;
       cv::Mat image, small;
       //Output video
       cv::Size S = cv::Size((int) vcap.get(CV_CAP_PROP_FRAME_WIDTH), (int) vcap.get(CV_CAP_PROP_FRAME_HEIGHT));
       int ex = static_cast<int>(vcap.get(CV_CAP_PROP_FOURCC));
       int fps = vcap.get(CV_CAP_PROP_FPS);
       cout &lt;&lt; "fps " &lt;&lt; fps &lt;&lt; " ex " &lt;&lt; ex &lt;&lt; endl;
       cv::VideoWriter outputVideo;
       outputVideo.open("TEST.avi", ex/*CV_FOURCC('X', '2', '6', '4')*/, vcap.get(CV_CAP_PROP_FPS), S, true);
       if(!outputVideo.isOpened()){
           cout &lt;&lt; "Could not open the output video for write" &lt;&lt; endl;
           return -1;
       }

       for(;;){
           if(!vcap.read(image)){
               std::cout &lt;&lt; "No frame" &lt;&lt; std::endl;
               cv::waitKey(0);
           }

           cv::resize(image, small, image.size()/2, 0, 0 , cv::INTER_LINEAR);
           cv::imshow("Display", small);
           cv::waitKey(1);
           outputVideo.write(small);
           if(getkey() == '\n')
               break;
       }
       cout &lt;&lt; "Camera release" &lt;&lt; endl;
       outputVideo.release();
       vcap.release();
       image.release();
       small.release();
       return 0;
    }
    </int>

    int ex = static_cast<int>(vcap.get(CV_CAP_PROP_FOURCC));</int> ex is 0 here.

    I can record the TEST.avi, but can’t be read by cv::VideoCapture vcap("TEST.avi") ; or VLC player or Videos in Ubuntu.
    The error is "Could not demultiplex stream".

    If I changed to

    outputVideo.open("TEST.avi", CV_FOURCC('X', '2', '6', '4'), vcap.get(CV_CAP_PROP_FPS), S, true);
    outputVideo.open("TEST.avi", CV_FOURCC('P','I','M','1'), vcap.get(CV_CAP_PROP_FPS), S, true);
    outputVideo.open("TEST.avi", CV_FOURCC('M', 'P', '4', '2'), vcap.get(CV_CAP_PROP_FPS), S, true);
    etc.

    all have same problem.

    If I set

    outputVideo.open("TEST.avi", CV_FOURCC('i', 'Y', 'U', 'V'), vcap.get(CV_CAP_PROP_FPS), S, true);

    I have error as Opencv: FFMPEG iYUV is not supported with codec id 14

    For

    outputVideo.open("TEST.avi", CV_FOURCC('M', 'J', 'P', 'G'), vcap.get(CV_CAP_PROP_FPS), S, true);


    OpenCV Error: Assertion failed (img.cols == width &amp;&amp; img.rows == height &amp;&amp; chann
    els == 3) in write, file /home/Softwares/opencv/opencv/modules/videoio/src/
    cap_mjpeg_encoder.cpp, line 829
    terminate called after throwing an instance of 'cv::Exception'
     what():  /home/Softwares/opencv/opencv/modules/videoio/src/cap_mjpeg_enco
    der.cpp:829: error: (-215) img.cols == width &amp;&amp; img.rows == height &amp;&amp; channels =
    = 3 in function write

    What could be wrong ? Is that my FFMPEG has problem ?