Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-26-2014, 12:39 PM   #1
Registered: Mar 2007
Posts: 180

Rep: Reputation: 17
Debian Wheezy ffmpeg version 1.2.5 and OpenVC

I recently installed "ffmpeg version 1.2.5" from "deb 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.

[NULL @ 0x21e2ec0] Value -4616189618054758400.000000 for parameter 'request_sample_fmt' out of range
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x282d580] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x282d580] Could not find codec parameters (Video: h264 (avc1 / 0x31637661), 23069 kb/s)
[IMGUTILS @ 0x7ffff1da3fd0] Picture size 0x0 is invalid
[IMGUTILS @ 0x7ffff1da3fe0] Picture size 0x0 is invalid
Old 02-27-2014, 01:00 AM   #2
Registered: Mar 2007
Posts: 180

Original Poster
Rep: Reputation: 17
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 wheezy main non-free
deb 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


This search will tell you what installed packages come from Debian Multimedia:

*aptitude search '~i ?origin(Unofficial Multimedia Packages)'

And this command removes them:

*aptitude purge '~i ?origin(Unofficial Multimedia Packages)'
Remove the repository from the source.list file. Install FFMPEG and OpenVC and any additional packages that you need, since much was purged from your system during the downgrade.

sudo aptitude install python-opencv  ffmpeg
Old 02-27-2014, 02:49 AM   #3
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,449
Blog Entries: 3

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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.
Old 02-28-2014, 01:09 AM   #4
Registered: Mar 2007
Posts: 180

Original Poster
Rep: Reputation: 17
Drakeo, it was emotionally devastating. I ended up just download the binary.


debian, ffmpeg, opencv

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Now I've done it - Debian dual boot (Sid, Wheezy) grub overwritten, lost Wheezy? ShaneRoach Debian 23 02-02-2014 02:28 PM
Wheezy: will ffmpeg disappear? gwydionus Debian 2 12-14-2013 03:58 PM
Thinpro T610 version 4.x fail in XDMCP to connect to Debian Wheezy mitsicpa8 Linux - Server 0 11-13-2013 04:45 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM
This version of nuvexport requires either the cvs or svn version of ffmpeg?? zeltak Linux - Software 2 02-02-2007 04:54 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration