Recherche avancée

Médias (0)

Mot : - Tags -/masques

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (102)

Sur d’autres sites (22733)

  • Error "sys/videoio.h - not found" OpenCV 3.1.0

    22 mars 2017, par Jefferson Rodriguez

    I using Elementary OS and I’m trying to install OpenCV 3.1.0, I follow the instructions of http://docs.opencv.org/3.0-beta/doc/tutorials/introduction/linux_install/linux_install.html
    Also, I have installed libav 11.7 and ffmpeg 3.1.3
    but, after cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
    I get :

    — Looking for linux/videodev.h

    — Looking for linux/videodev.h - found

    — Looking for linux/videodev2.h

    — Looking for linux/videodev2.h - found

    — Looking for sys/videoio.h

    — Looking for sys/videoio.h - not found

    — Looking for libavformat/avformat.h

    — Looking for libavformat/avformat.h - found

    — Looking for ffmpeg/avformat.h

    — Looking for ffmpeg/avformat.h - not found

    — checking for module ’libgphoto2’

    — package ’libgphoto2’ not found
    And after make,
    I get :
    ../../lib/libopencv_videoio.so.3.1.0 : referencia a

    av_frame_alloc' sin definir <br />
    ../../lib/libopencv_videoio.so.3.1.0: referencia a

    av_frame_free’ sin definir
    collect2 : error : ld returned 1 exit status
    make[2] : * [bin/opencv_test_video] Error 1
    make[1] : *
    [modules/video/CMakeFiles/opencv_test_video.dir/all] Error 2

    someone who can help me ?

  • FFMPEG compressed MP4 video not playing on mozila "file currupt error"

    6 novembre 2019, par user2519007

    I have compressed MP4 video using FFmpeg in PHP environment. Videos are being compressed but these are not playing in firefox showing error :

    Video can’t be played because the file is corrupt

    while this video is playing fine in VLC media player also in chrome browser. My code of compression is as-

    exec("ffmpeg -i input.mp4 -acodec mp2 output.mp4");
  • "Unrecognized option 'filter_complex'" error when using FFmpeg in Android

    22 juin 2016, par Gaganpreet Singh

    I am creating a watermark application using FFmpeg in Android.
    I used the following command

    ffmpeg -i /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20150217-WA0002.mp4 -i /storage/emulated/0/mp4parser/img001.png -filter_complex '[0:v][1:v]overlay[out]'  -map '[out]' /storage/emulated/0/WhatsApp/Media/WhatsApp Video/trimmed-038-VID-20150217-WA0002.mp4

    When I launched the app, I got this line in the log :

    Unrecognized option 'filter_complex'

    I have read this command on the FFmpeg.org site, but I don’t know why it is not working. Below is the log :

    02-27 16:14:55.881: E/VideoTrimmer(13315): Starting to watermark
    02-27 16:14:55.881: E/VideoTrimmer(13315): ffmpeg
    02-27 16:14:55.881: E/VideoTrimmer(13315): -i
    02-27 16:14:55.881: E/VideoTrimmer(13315): /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20150217-WA0002.mp4
    02-27 16:14:55.881: E/VideoTrimmer(13315): -i
    02-27 16:14:55.882: E/VideoTrimmer(13315): /storage/emulated/0/mp4parser/img001.png
    02-27 16:14:55.882: E/VideoTrimmer(13315): -filter_complex
    02-27 16:14:55.882: E/VideoTrimmer(13315): '[0:v][1:v]overlay[out]'
    02-27 16:14:55.882: E/VideoTrimmer(13315): -map
    02-27 16:14:55.882: E/VideoTrimmer(13315): '[out]'
    02-27 16:14:55.883: E/VideoTrimmer(13315): /storage/emulated/0/WhatsApp/Media/WhatsApp Video/trimmed-038-VID-20150217-WA0002.mp4
    02-27 16:14:55.883: E/VideoTrimmer(13315): Printed all
    02-27 16:14:55.944: E/TakePics(13315): FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
    02-27 16:14:55.944: E/TakePics(13315):   built on Feb 27 2015 16:12:28 with gcc 4.8
    02-27 16:14:55.944: E/TakePics(13315):   configuration: --target-os=linux --arch=arm --enable-version3 --enable-gpl --enable-nonfree --disable-stripping --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --disable-devices --disable-protocols --enable-protocol=file --enable-avfilter --disable-network --disable-mpegaudio-hp --disable-avdevice --enable-cross-compile --cc=/home/uday/mount/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc --cross-prefix=/home/uday/mount/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi- --nm=/home/uday/mount/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-nm --extra-cflags='-fPIC -DANDROID' --disable-asm --enable-neon --enable-armv5te --extra-ldflags='-Wl,-T,/home/uday/mount/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/arm-eabi/lib/ldscripts/armelf.x -Wl,-rpath-link=/home/uday/mount/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -L/home/uday/mount/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -nostdli
    02-27 16:14:56.152: E/TakePics(13315): Unrecognized option 'filter_complex'

    I have also tried using filter:v.