c++


Modifying CISCO openh264 to take image frames and out compressed frames


Has anyone tried to modify the CISCO openh264 library to take JPEG images as input and compress them into P and I frames (output as frames, NOT video) and similarly to modify decoder to take compressed P and I frames and generate uncompressed-frames ?
I have a camera looking at a static scene and taking pictures (1280x720p) every 30 second. The scene is almost static. Currenlty I am using JPEG compression to compress each frame individually and it is resulting in an image size of ~270KB. This compressed frame is transferred via internet to a storage server. Since there is very little motion in the scene, the 'I' frame size will be very small (I think it should be ~20-50KB). So it will be very cost effective to transmit I frames over internet instead of JPEG images.
Can anyone guide me to some project or about how to proceed with this task ?
You are describing exactly what a codec does. It takes images, and compresses them. There relationship in time is irrelevant to the compression step. The decoder than decides how to display or just write them to disk. You don't need to modify open264, what you want to do is exactly what it is designed to do.

Related Links

readLine() not being saved properly
Check socket with select() before using send()
Error: “Function” not declared in this scope
syntax for array of pointers in C++
Why the prvalue below in [expr.ref]/2?
How to access data from `std::ostringstream` without copying it [duplicate]
Why can't we generalize the pointer declaration?
C++ invalid order of execution for cin and cout on XCode
Tree and its preorder traversal - Code error
Why is my 2D array of double not accepted as a valid parameter?
How to allow only numbers in a variable?
Copy iterator range to vector without duplication
Is it better to include <cassert> or <assert.h>? [duplicate]
Using an Array of pointers to copy a PPM Image
Avoiding virtual function calls in a computational graph
Null session pipes example, write access

Categories

HOME
github
centos
reporting-services
rabbitmq
data-warehouse
sql-server-2005
kotlin
boost
reactor-netty
mariadb
mutex
jboss-eap-6
geogebra
apache-spark-2.0
spark-dataframe
bigdata
dijkstra
conv-neural-network
postgresql-9.0
spring-boot-actuator
android-constraintlayout
4d-database
bootstrap-select
mitmproxy
face-api
endpoints-proto-datastore
ctype
geckofx
android-adapter
webdrivermanager-java
homescreen
c#-6.0
android-device-monitor
pbs
ffi
wistia
smo
showdown
ikvm
jsdoc3
strconv
live-connect-sdk
equation
erlang-shell
google-api-v3
rtai
leap-motion
ldflags
correspondence-analysis
little-endian
idiorm
network-monitoring
spsite
tablecellrenderer
du
glut
dotdotdot
html5-validation
google-text-to-speech
jquery-dynatree
ilias
string-search
apache-tomee
ransac
psychology
nsurlprotocol
declarative-services
stockquotes
pivotitem
jvm-crash
xadisk
windmill
dynamic-language-runtime
customvalidator
ipad-2
pmp
icefaces-1.8
enctype
cohesion
endl
www-mechanize
multiple-versions
open-flash-chart
live-cd
orbited
abbreviation

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile