<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:14pt"><div><span>Hi<br><br>I am running into a problem where it can decode h264 using my opal based application using x264 plugin but it can not encode. Not sure what to look for specifically in
logs as most of h264 related entries in log look just fine. Here are
some selective log entries in the order of call flow. Any help is greatly appreciated.<br></span></div><div><span><br> 0:04.862 H.245 Hand...0xa9c53700 h323.cxx(3975) H323 OpenMediaStream using channel T-133 for session 2<br> 0:04.862 H.245 Hand...0xa9c53700 rtp.cxx(2134) RTP_UDP Session 2 reopened for writing<br> 0:04.862 H.245 Hand...0xa9c53700
mediafmt.cxx(1111) MediaFormat Merging H.264 into H.264<br>
0:04.862 H.245 Hand...0xa9c53700 mediafmt.cxx(296)
MediaFormat Changed media option "H.241 Profile Mask" from "64" to
"1"<br> 0:04.862 H.245 Hand...0xa9c53700 mediafmt.cxx(296)
MediaFormat Changed media option "Max FS" from "1584" to "0"<br>
0:04.862 H.245 Hand...0xa9c53700 mediafmt.cxx(296)
MediaFormat Changed media option "Max MBPS" from "47520" to "0"<br> 0:04.862 H.245 Hand...0xa9c53700 mediastrm.cxx(123) Media Media format updated on
OpalRTPMediaStream-Sink-H.264<br> 0:04.862 H.245
Hand...0xa9c53700 manager.cxx(838) OpalMan
OnOpenMediaStream
Call[C1b8660871]-EP<h323>[localhost/25665],OpalRTPMediaStream-Sink-H.264<br> 0:04.862 H.245 Hand...0xa9c53700 rtpep.cxx(121) RTPEp Session 2, remote RTP address 0.0.0.0 not local.<br> 0:04.862 H.245 Hand...0xa9c53700 patch.cxx(64) Patch Created media patch 0x7fe1a4086ec0, session 2<br><br> 0:04.862 H.245 Hand...0xa9c53700 patch.cxx(394) Patch Created Sink: format=H.264<br><br>
SIP/SDP Profile & Level (R/O) = 428015 FMTP name: profile-level-id (42800A) OctetString<br><br>
0:04.863 H.245 Hand...0xa9c53700 opalplugin.hpp(266)
Plugin Codec created: "x264 Video Codec", "YUV420P" -> "H.264"<br> 0:04.863 H.245 Hand...0xa9c53700 dyna.cxx(130) Successfully loaded 'libavcodec.so.52'<br> 0:04.863 H.245 Hand...0xa9c53700 dyna.cxx(130) Successfully loaded 'libavutil.so.50'<br> 0:04.863 H.245 Hand...0xa9c53700 dyna.cxx(387) H264 Warning: compiled against
libavcodec headers from version 521080, loaded 52201<br> 0:04.863
H.245 Hand...0xa9c53700 dyna.cxx(395) H264 Successfully
loaded libavcodec library and verified functions<br> 0:04.877 H.245
Hand...0xa9c53700 x264wrap.cxx(561) x264 Started GPL
process id 3388 using
/home/rnanduri/FuzeGW-Dev/opal/lib_linux_x86_64/h264_video_pwplugin_helper<br>
0:04.877 H.245 Hand...0xa9c53700 x264wrap.cxx(641) x264
Successfully established communication with GPL process<br> 0:04.877 H.245 Hand...0xa9c53700 mediafmt.cxx(1111) MediaFormat Merging YUV420P into
YUV420P</span><br>
</div><div id="yiv1770665495"><div><div class="yiv1770665495yui_3_2_0_16_132157958273073" style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi</div><div>The
simpleopal exe can decode h264 it receives from a H323 end point but
can not encode h264 resulting in 1-way video on Ubuntu 10.04(lucid).
Here are relevant log entries generated by simpleopal. ( I also tried as
sudo but still got the same result). Any idea what could be missing
here?</div></div></div></div><div><br><span> 0:04.877 H.245 Hand...0xa9c53700 mediafmt.cxx(1111) MediaFormat Merging H.264 into H.264<br> 0:04.877 H.245 Hand...0xa9c53700 opalpluginmgr.cxx(647) OpalPlugin Setting encoder options:<br> <br><br> 0:04.878 H.245 Hand...0xa9c53700 h264-x264.cxx(850) x264 Setting NALU aligned mode.<br>
0:04.889 H.245 Hand...0xa9c53700 h264-x264.cxx(887) x264
Applied options: prof=66 lev=21 res=352x288 fps=30 bps=384000 RTP=8192
TSTO=31<br> 0:04.889 H.245
Hand...0xa9c53700 patch.cxx(200) Patch Created primary codec YUV420P->H.264 with ID C1b8660871_2<br>
0:04.889 H.245 Hand...0xa9c53700 mediastrm.cxx(738)
Media RTP data size cannot be changed to 10240, fixed at 528<br>
0:04.889 H.245 Hand...0xa9c53700 patch.cxx(211) Patch
Added media stream sink OpalRTPMediaStream-Sink-H.264 using transcoder
YUV420P->H.264, data size=528<br> 0:04.889 H.245 Hand...0xa9c53700 mediastrm.cxx(412) Media Set data size from 202768 to 608288<br>
0:04.889 H.245 Hand...0xa9c53700
connection.cxx(1030) OpalCon Source stream of connection
Call[C1b8660871]-EP<pc>[Pe55b7cd32] uses patch
Patch[0x7fe1a4086ec0] OpalVideoMediaStream-Source-YUV420P ->
OpalRTPMediaStream-Sink-H.264<br><br> 0:04.954 H.245 Hand...0xa9c53700 channels.cxx(303) LogChan Bandwidth requested/used = 320.0/0.0 kb/s<br>
0:04.954 H.245 Hand...0xa9c53700 connection.cxx(1249)
OpalCon Bandwidth request of 320.0kb/s, available: 9488.0kb/s<br> <br> 0:04.955 H.245 Hand...0xa9c53700 channels.cxx(621) H323RTP Attempting to set dynamic RTP payload type: 106<br> 0:04.956 H.245 Hand...0xa9c53700
mediafmt.cxx(1111) MediaFormat Merging H.264 into H.264<br>
0:04.956 H.245 Hand...0xa9c53700 mediafmt.cxx(225)
MediaFormat Clamped media option "Target Bit Rate" from 240000000 to
max 320000<br> <br> 0:05.187 H.245 Hand...0xa9c53700
patch.cxx(200) Patch Created primary codec H.264->YUV420P with
ID C1b8660871_2<br> 0:05.187 H.245 Hand...0xa9c53700
patch.cxx(211) Patch Added media stream sink
OpalVideoMediaStream-Sink-YUV420P using transcoder H.264->YUV420P,
data size=152080<br> 0:05.187 H.245 Hand...0xa9c53700
mediastrm.cxx(738) Media RTP data size cannot be changed to 10240, fixed at 2048<br><br> 0:05.187 H.245 Hand...0xa9c53700 h323ep.cxx(1110) H323 Started receiving logical channel: H.264 <28><br> 0:05.187 H.245 Hand...0xa9c53700 mediastrm.cxx(179) Media Starting stream OpalRTPMediaStream-Source-H.264<br><br> 0:05.187 H.245 Hand...0xa9c53700 tlibthrd.cxx(140) PTLib No permission to set priority level 3</span></div></div></body></html>