Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • Firefox, Chrome, Safari have grey background for MP4 HTML5 video

    5 avril 2016, par James

    Any video (that I can make) with a white background becomes grey in Firefox, Chrome, and Safari (it is white in IE). Well, on my Windows machine it is grey, on my Android phone/tablet and Mac it is white...

    I am using ffmpeg to encode the video. If I encode it as webm, the background is white.

    See: https://jsfiddle.net/Lbg8f6ck/

    I found a hack that fixes it for Chrome:

    code>

    But it does not work for Firefox or Safari.

    Another hack for Firefox:

    filter:brightness(1.085)
    

    But for some reason setting it through JavaScript does not work.

    A few versions ago the background was white for Chrome, then became grey again...

    The question is: Why is white grey?

    Is it an issue with the video or with Chrome, Firefox, Safari in general? (How can they not support white?)

    Is it possible to get a white background?

    Any hacks, workarounds?

  • JAVA RTSP Opening IP Cam failed on 401 - Unauthorized

    5 avril 2016, par Filip Majerík

    Morning,

    i have problem with opening stream at my IP Cam D-Link DSC-935L. All works good in VLC, but when i try open stream at Java over the OpenCV (with opencv_ffmpeg310_64.dll) & VideoCapture - i get only this error:

    [rtsp @ 000000002defd160] method DESCRIBE failed: 401 Unauthorized

    My code snippet

    videoCapture = new VideoCapture();
    videoCapture.open("rtsp://admin@10.0.0.20:554/upceSource.mjpg");
    
    if (!videoCapture.isOpened()) {
        System.out.println("FAILED");
    }else{
        System.out.println("OK");
    }
    

    How i can pass username by another way? I have no password set.

    Login: admin

    Password: unused

    Thanks for all help.

  • What is the right and most efficient way to access the last 30 seconds of a mpeg ts stream using Python ? [on hold]

    5 avril 2016, par Jabb

    I have a mpeg ts stream from my dvb card that is written to disk. I'd like to access this stream continuously (last 30 seconds, every 20 seconds) from Python.

    I am not looking for a complete solution here, but rather some ideas how to accomplish this in the most efficient manner with regards to CPU and RAM usage.

    Any ideas will be greatly appreciated!

  • Best way to stream live video under webRTC development [on hold]

    5 avril 2016, par Ankit Dhanna

    I have implemented webrtc live video chat with multiple presentors (using licode ). However, I want to ask how can I broadcast this video stream so that multiple users who are not on webrtc can be served ?

    Where/Which server should I broadcast this stream to to get least lag time ?

  • How to write a video encoder with ffmpeg that explicitly controls the position of keyframes ?

    5 avril 2016, par SunnyShah

    I want to write an encoder with ffmpeg which can put iFrames (keyframes) at positions I want. Where can I found tutorials or reference material for it?

    P.S
    Is it possible to do this with mencoder or any opensource encoder. I want to encode H263 file. I am writing under & for linux.