As a follow up to my previous post, i'm having some dilemmas here:<br><br>As a basis to create my H264StreamFramer class, i'm looking at several other code samples to figure out how to do this:<br>i note that the existing H264VideoStreamFramer class inherits FramedFilter
<br><br>i'm looking at AC3AudioStreamFramer, and AMRAudioFileSource as my two examples <br><br>now the AC3 one defines a StreamParser, and uses that as its way to access the file source using test4bytes, etc<br>while AMR does freads on its own StreamFramer class
<br><br>my idea was to do it like the AMR for now, (stream H264 from a file, process it, copy it to fTo, and call afterGetting) <br><br>but later on, i have to integrate this with my linux application (multi threaded), which will encode video to h264 and pass it to this in a shared buffer
<br><br>will the filesource approach hamper me later on? or should i use streamparser<br><br>(forgive me if these questions sound really lame...i'm just starting up here...)<br><br>Jerry<br>