LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2018, 02:37 PM   #1
mr.simo
Member
 
Registered: Feb 2010
Posts: 78

Rep: Reputation: 0
libjpeg - Huffman table 0x00 was not defined


Hello,

I am experiencing problems in decoding MJPEG frames from a camera with a C program.

Since each frame is encoded in JPEG format I am using libjpeg version 9 to decode it but I am getting the error

Code:
Huffman table 0x00 was not defined
so no decoding is possible (program stops immediately ...).

If I open the frame with a image viewer tool (as GIMP) I can see the frame correctly.
Do someone knows if it's possible to get rid of this error and perform decoding with libjpeg ?

It seems that libjpeg looks for the Huffman table.
From the source code of jpeglib.h at line 588:

https://github.com/LuaDist/libjpeg/blob/master/jpeglib.h

seems that setting the arith_code flag to true makes the lib to don't look for the Huffman table...
But I get the same results...

Any ideas ?

Thank you in advance.
Regards,
s.

Last edited by mr.simo; 10-24-2018 at 02:48 PM.
 
  


Reply



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
rpm libjpeg conflicts with libjpeg-turbo jspence Red Hat 2 11-07-2016 06:46 AM
[SOLVED] Huffman tree encoding question atlantis43 Programming 4 05-19-2015 12:24 PM
cannot add default route in user defined table (added in rt_tables) mgautam Linux - Networking 3 10-05-2009 05:45 AM
What is this -> SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID carves Linux - Networking 5 08-17-2008 09:26 PM
huffman algorithm mcshen Programming 3 03-12-2004 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:00 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
Open Source Consulting | Domain Registration