java - Decoding RIMM streaming file format -


i want decode video (visual) frames within blackberry rimm file. far have parser, , corresponding container documentation rim.

the video codec h264 , explicitly set on device using 1 of video.encodings properties. however, ffmpeg not able decode frames , driving me nuts.

edit 1: issues seems lack of sps , pps in frames, , artificially inserting them have proven unsuccessful far (all grey image). blackberry 9700 sends

0x00 0x00 0x?? 0x?? 0xtype

where type according table 7-1 in h264 spec (i , p frames). believe 0x?? 0x?? represent size of frame, size not correspond size found parser (the parser seems working correctly).

i have windows decoder codec blackberry, called mc_demux_mp2_ds.ax, , can play mpeg-4 files captured same way, binary windows. , h264 files not play either way. aware of previous attempts. capture url javax.microedition.media.manager is

encoding=video-3gpp_width=176_height=144_video_codec=h264_audio_codec=aac 

and writing output stream. example files here.

edit 2:turns out 3-4 of 12-15 available video capture modes flat out failing , refusing output data, in simplest of test applications. working solution should implement mpeg-4, h264 , h263 in both amr , aac, in getting fallback alternatives when 1 sound codec and/or resolution fails. reboots, hangs , not litters blackberry video implementation , vary firmware firmware; total suckage.

did try ffmpeg2theora, have bad time ffmpeg before found ffmpeg2theora!!, no audio problems, no video problem justo write:

ffmpeg2theora video.[mov, avi, mp4, vob, etc] -> video.ogv

it comes compiled many plataforms (forget build , compile ffmpeg), im using under osx 64 bits , linux 64 bits

http://v2v.cc/~j/ffmpeg2theora/


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -