Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Save http stream video android

    11 novembre 2013, par ChebTS

    For one of my android projects I need to implement saving of video from HTTP stream (right now I am just show live stream video to user).

    I google that problem and find some solution, I can use FFmpeg. But FFmpeg is c++ library.

    Is there are some easy way to save video from HTTP stream?

  • SAT-IP Server and VLC

    10 novembre 2013, par Chris

    I have a Sat-IP Server/Converter, Triax TSS 400. I can recieve with VLC the stream as MPEGTS (via http) but it is very slow (lagging) trought my Powerline (currently powerline speed is 141mbit). I have a SAT-IP DVBviever Client on my Notebook which is working 100% perfect, SD and HD channels. I have seen in wireshark, that when i'm connect the SAT-IP Server with the SAT-IP Client, im reciving RTSP stream. ...and now my problem: how can is recieve RTSP/RTP stream instead of HTTP stream from Triax TSS 400? What is the command to Tune this device to get channel working/streaming with ffmpeg? ...or maybe is there a ChannelList with all the Astra 19,2° channels for HTTP stream from Triax TSS 400?

    thx

  • OpenCV license for android platform

    10 novembre 2013, par powerX

    I'm using OpenCV and trying to figure out what its license when using it for Android.

    In this link you can find the license itself.

    BUT - in Android the OpenCV uses FFmpeg, which is partialy under the GPL license. The question is whether or not OpenCV uses the GPL capabillities of FFmpeg and also under the GPL License.

    No documentation about it.

  • How can I escape question mark in FFmpeg command

    10 novembre 2013, par Okan Guner

    I have a ffmpeg command which converts rtmp stream to http live stream. What I want to do is to rename segment files like Segment.aspx?ts=ts00001 but question mark breaks the command. When I insert another special character instead of question mark, I can escape it(eg. %% for %). I tried ^, ^^ and \ to escape but still no luck. I am using cmd.exe on Windows.

  • OpenCV - CvVideoWriter codec error in raspbian

    10 novembre 2013, par user2975978

    I'm making something like black box in raspberry pi.

    I set OpenCV 2.4.3 and many video libraries. ( I referred this site - Opencv cannot acces my webcam )

    And I compiled this sample code.

    #include 
    #include "opencv/cv.h"
    #include "opencv/highgui.h"
    #include "opencv/cxcore.h"
    
    int main(void){
        CvCapture* capture = cvCaptureFromCAM(0);
        cvNameWindow("video", 1);
    
        double fps = cvGetCaptureProperty(capture, CV_CAP_PROP_FPS);
        CvSize frame_size = cvSize((int)cvGetCaptureProperty(capture, CV_CAP_PROP_FRAME_WIDTH), (int)cvGetCaptureProperty(capture, CV_CAP_PROP_FRAME_HEIGHT));
        CvVideoWriter* writer = cvCreateVideoWriter("out.avi", -1, fps, frame_size, 1);
    
        IpImage* frame;
        while(1){
            frame = cvQueryFrame(capture);
            cvShowImage("video", frame);
            if(cvWaitKey(38) == 27){
                break;
            }
        }
    
        cvReleaseVideoWriter(&writer);
        cvReleaseCapture(&capture);
        cvDestroyWindow("video");
    
        return 0;
    }
    

    This code compiled successfully.

    But when i run this process, there are some error.

    OpenCV Error: Unsupported format or combination of formats (Gstreamer Opencv backend doesn't support this codec acutally.) in CvVideoWriter_GStreamer::open, file /home/pi/OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp, line 479
    terminate called after throwing an instance of 'cv::Exception'
    what(): /home/pi/OpenCV-2.4.3/modules/highgui/src/cap_gstreamer.cpp:479: error: (-210) Gstreamer Opencv backend doesn't support this codec acutally. in function CvVideoWriter_GStreamer::open
    
    Aborted
    

    So, i changed codec part in 'cvCreateVideoWriter' instead of -1. I tried many types of codec like 'CV_FOURCC('M','J','P','G')' and so on..

    but I cannot fix this problem.

    How can i solve this problem? Please help me..