Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • ffmpeg won't ./configure in iOS5.1

    17 juillet 2015, par Chuck Mc Duran

    I am trying to build ffmpeg on iOS5.1 (armv7), when I try to run ./configure like this:

    ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver
       --enable-cross-compile --arch=arm --target-os=darwin
       --cc=/applications/xcode.app/contents/Developer/usr/bin/gcc
       --as='gas-preprocessor/gas-preprocessor.pl /applications/xcode.app/contents/Developer/usr/bin/gcc'
       --sysroot=/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
       --cpu=cortex-a8 --extra-cflags='-arch armv7'
       --extra-ldflags='-arch armv7 -isysroot /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
       --enable-pic
    

    I get the following error:

    /applications/xcode.app/contents/Developer/usr/bin/gcc
    is unable to create an executable file.
    C compiler test failed.
    

    If you think configure made a mistake, make sure you are using the latest version from SVN. If the latest version fails, report the problem to the ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.err" produced by configure as this will help solving the problem.

    Could somebody please provide the correct parameters in iOS5.1?

    Thanks in advance

  • Can ffmpeg be configured/scripted to pause "recording" an incoming stream when the StreamTitle metadata changes to specific values ?

    17 juillet 2015, par John O

    While recording an FM radio stream, I've noticed that I occasionally see a particular metadata tag set to "commercial break". Is there a non-interactive-way of directing ffmpeg to pause writing the stream to file, and then resume when that tag changes again?

  • Looking for video libraries for editing video on windows/ios/azure service [on hold]

    17 juillet 2015, par sanyam

    Which library would be a good bet in terms of ...
    1. Richness in features (I want to create a video from short clips and images with effects and filters). Think auto videos created from Google Photos.
    2. Extensibility - I would prefer using similar tech on IOS and Windows apps. Might have to offload some processing to a web service on Azure (windows or linux).
    3. Programmability - An API is preferred over command line as it gives more flexibility and better error handling.

    Given all these options, what is my best bet? I've only looked at ffmpeg till now, is there a better alternative?

  • ffmpeg carrierwave-video always returns "unknown encoder libfaac"

    17 juillet 2015, par olgash

    I can give ffmpeg videos to convert via command line, and it converts them happily, but when I ask it to convert things in rails, it returns "Unknown encoder libfaac" no matter the video I give it.

    I call it using this line: process encode_video: [:mp4, resolution: "640x480"]

    I've already spent hours trying to (unsuccessfully) compile ffmpeg with libfaac on Windows, but now it just seems ridiculous, because not everything I pass it is even aac. What's going on?

  • create video from images which is in Camera Folder using ffmpeg and opencv

    17 juillet 2015, par Nikhil Borad
    new AsyncTask() {
            ProgressDialog dialog;
            protected void onPreExecute() {
                dialog = new ProgressDialog(MainActivity.this);
                dialog.setMessage("Genrating video, Please wait.........");
                dialog.setCancelable(false);
                dialog.show();
            };
    
            @Override
            protected Void doInBackground(Void... arg0) {
    
                File folder = Environment
                        .getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM);
                String path = folder.getAbsolutePath() + "/Camera";
                ArrayList paths = new ArrayList(Arrays.asList(folder.list()));
                FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(path
                        + "/" + "test.mp4", 400, 400);
                videoPath = path + "/" + "test.mp4";
                try {
                    //recorder.setVideoCodec(5);
                    recorder.setVideoCodec(avcodec.AV_CODEC_ID_MPEG4);
                    //recorder.setFormat("3gp");
                    recorder.setFormat("mp4");
                    recorder.setFrameRate(frameRate);
                    recorder.setVideoBitrate(30);
                    startTime = System.currentTimeMillis();
                    recorder.start();
                    for (int i = 0; i " + paths.get(i));
                        long t = 3000 * (System.currentTimeMillis() - startTime);
                        if (t > recorder.getTimestamp()) {
                            recorder.setTimestamp(t);
                            **recorder.record(image);**
                        }
                    }
                    System.out.println("Total Time:- " + recorder.getTimestamp());
                    recorder.stop();
                } catch (Exception e) {
                    e.printStackTrace();
                }
    
                return null;
            }
    
            protected void onPostExecute(Void result) {
                dialog.dismiss();
                Intent intent = new Intent(Intent.ACTION_VIEW);
                intent.setDataAndType(Uri.parse(videoPath), "video/mp4");
                startActivity(intent);
                Toast.makeText(MainActivity.this, "Done", Toast.LENGTH_SHORT)
                        .show();
            };
        }.execute();
    

    Got an Error in recorder.record(image);

    Error Says :

    Error:(69, 37) error: no suitable method found for record(IplImage)
    method FFmpegFrameRecorder.record(AVFrame) is not applicable
    (actual argument IplImage cannot be converted to AVFrame by method invocation conversion)
    method FFmpegFrameRecorder.record(Frame) is not applicable
    (actual argument IplImage cannot be converted to Frame by method invocation conversion)
    method FrameRecorder.record(Frame) is not applicable
    (actual argument IplImage cannot be converted to Frame by method invocation conversion)
    

    **Thanks in Advance