Debian Wheezy ffmpeg version 1.2.5 and OpenVC
I recently installed "ffmpeg version 1.2.5" from "deb ftp://ftp.deb-multimedia.org wheezy-backports main" on my Debian Wheezy. It was a general "aptitude update" and "apttiude upgrade" and then OpenCV started to push out this error.
I wrote some code with OpenCV and now I get the following error when I try to open a video. Code:
[NULL @ 0x21e2ec0] Value -4616189618054758400.000000 for parameter 'request_sample_fmt' out of range |
I speculated the problem started after I added the following two source to my /etc/apt/sources.list file on Debian Wheezy. I did this procure a newer version of FFMPEG.
deb ftp://ftp.deb-multimedia.org wheezy main non-free deb ftp://ftp.deb-multimedia.org wheezy-backports main It was then all my code written using the OpenVC started to break. I had a hunch it was my recent upgrade but not sure until I read the following. “Make sure proper versions of ffmpeg or gstreamer is installed. Sometimes, it is a headache to work with Video Capture mostly due to wrong installation of ffmpeg/gstreamer.” ~ http://opencv-python-tutroals.readth...o_display.html [ SOLUTION ] This search will tell you what installed packages come from Debian Multimedia: Code:
*aptitude search '~i ?origin(Unofficial Multimedia Packages)' And this command removes them: Code:
*aptitude purge '~i ?origin(Unofficial Multimedia Packages)' Code:
sudo aptitude install python-opencv ffmpeg |
hey Thanks for the info. Like you the ever changing ffmpeg and the x264 have left me high and dry many times. To the point I just stick with the 1.2.2 for a while longer. sometimes newer just isn't better lol.
|
Drakeo, it was emotionally devastating. I ended up just download the binary.
|
All times are GMT -5. The time now is 11:57 AM. |