[x264-devel] can not encode h264 but can decode
Raju Nanduri
raju2803 at yahoo.com
Fri Nov 18 03:59:16 CET 2011
Hi
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.
0:04.862 H.245 Hand...0xa9c53700 h323.cxx(3975) H323 OpenMediaStream using channel T-133 for session 2
0:04.862 H.245 Hand...0xa9c53700 rtp.cxx(2134) RTP_UDP Session 2 reopened for writing
0:04.862 H.245 Hand...0xa9c53700
mediafmt.cxx(1111) MediaFormat Merging H.264 into H.264
0:04.862 H.245 Hand...0xa9c53700 mediafmt.cxx(296)
MediaFormat Changed media option "H.241 Profile Mask" from "64" to
"1"
0:04.862 H.245 Hand...0xa9c53700 mediafmt.cxx(296)
MediaFormat Changed media option "Max FS" from "1584" to "0"
0:04.862 H.245 Hand...0xa9c53700 mediafmt.cxx(296)
MediaFormat Changed media option "Max MBPS" from "47520" to "0"
0:04.862 H.245 Hand...0xa9c53700 mediastrm.cxx(123) Media Media format updated on
OpalRTPMediaStream-Sink-H.264
0:04.862 H.245
Hand...0xa9c53700 manager.cxx(838) OpalMan
OnOpenMediaStream
Call[C1b8660871]-EP<h323>[localhost/25665],OpalRTPMediaStream-Sink-H.264
0:04.862 H.245 Hand...0xa9c53700 rtpep.cxx(121) RTPEp Session 2, remote RTP address 0.0.0.0 not local.
0:04.862 H.245 Hand...0xa9c53700 patch.cxx(64) Patch Created media patch 0x7fe1a4086ec0, session 2
0:04.862 H.245 Hand...0xa9c53700 patch.cxx(394) Patch Created Sink: format=H.264
SIP/SDP Profile & Level (R/O) = 428015 FMTP name: profile-level-id (42800A) OctetString
0:04.863 H.245 Hand...0xa9c53700 opalplugin.hpp(266)
Plugin Codec created: "x264 Video Codec", "YUV420P" -> "H.264"
0:04.863 H.245 Hand...0xa9c53700 dyna.cxx(130) Successfully loaded 'libavcodec.so.52'
0:04.863 H.245 Hand...0xa9c53700 dyna.cxx(130) Successfully loaded 'libavutil.so.50'
0:04.863 H.245 Hand...0xa9c53700 dyna.cxx(387) H264 Warning: compiled against
libavcodec headers from version 521080, loaded 52201
0:04.863
H.245 Hand...0xa9c53700 dyna.cxx(395) H264 Successfully
loaded libavcodec library and verified functions
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
0:04.877 H.245 Hand...0xa9c53700 x264wrap.cxx(641) x264
Successfully established communication with GPL process
0:04.877 H.245 Hand...0xa9c53700 mediafmt.cxx(1111) MediaFormat Merging YUV420P into
YUV420P
Hi
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?
0:04.877 H.245 Hand...0xa9c53700 mediafmt.cxx(1111) MediaFormat Merging H.264 into H.264
0:04.877 H.245 Hand...0xa9c53700 opalpluginmgr.cxx(647) OpalPlugin Setting encoder options:
0:04.878 H.245 Hand...0xa9c53700 h264-x264.cxx(850) x264 Setting NALU aligned mode.
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
0:04.889 H.245
Hand...0xa9c53700 patch.cxx(200) Patch Created primary codec YUV420P->H.264 with ID C1b8660871_2
0:04.889 H.245 Hand...0xa9c53700 mediastrm.cxx(738)
Media RTP data size cannot be changed to 10240, fixed at 528
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
0:04.889 H.245 Hand...0xa9c53700 mediastrm.cxx(412) Media Set data size from 202768 to 608288
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
0:04.954 H.245 Hand...0xa9c53700 channels.cxx(303) LogChan Bandwidth requested/used = 320.0/0.0 kb/s
0:04.954 H.245 Hand...0xa9c53700 connection.cxx(1249)
OpalCon Bandwidth request of 320.0kb/s, available: 9488.0kb/s
0:04.955 H.245 Hand...0xa9c53700 channels.cxx(621) H323RTP Attempting to set dynamic RTP payload type: 106
0:04.956 H.245 Hand...0xa9c53700
mediafmt.cxx(1111) MediaFormat Merging H.264 into H.264
0:04.956 H.245 Hand...0xa9c53700 mediafmt.cxx(225)
MediaFormat Clamped media option "Target Bit Rate" from 240000000 to
max 320000
0:05.187 H.245 Hand...0xa9c53700
patch.cxx(200) Patch Created primary codec H.264->YUV420P with
ID C1b8660871_2
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
0:05.187 H.245 Hand...0xa9c53700
mediastrm.cxx(738) Media RTP data size cannot be changed to 10240, fixed at 2048
0:05.187 H.245 Hand...0xa9c53700 h323ep.cxx(1110) H323 Started receiving logical channel: H.264 <28>
0:05.187 H.245 Hand...0xa9c53700 mediastrm.cxx(179) Media Starting stream OpalRTPMediaStream-Source-H.264
0:05.187 H.245 Hand...0xa9c53700 tlibthrd.cxx(140) PTLib No permission to set priority level 3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20111117/ba5c9343/attachment.html>
More information about the x264-devel
mailing list