LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
 
Search this Thread
Old 02-26-2014, 12:39 PM   #1
lindylex
Member
 
Registered: Mar 2007
Posts: 166

Rep: Reputation: 17
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
[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
lindylex
Member
 
Registered: Mar 2007
Posts: 166

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 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)'
Remove the deb-multimedia.org 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.

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

Rep: Reputation: 226Reputation: 226Reputation: 226
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
lindylex
Member
 
Registered: Mar 2007
Posts: 166

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


Reply

Tags
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


All times are GMT -5. The time now is 11:41 AM.

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