Hello,
Recently someone emailed to ask me for the asterisk plugins I wrote about two years ago. Actually I have planned to submit my work to you, but still too busy to finish that. Anyway, to let things move on, I decided to publish the plugin to the list so someone can review and comment on it, and even merge to the mainline. Sorry it is for gstreamer-good about two years ago, may be 0.10.6. I didn't follow the development closely, so I don't know if it still works for the recent version. I hope I can have more time to make it up and give you a clean patch. (if you think it's worth doing that) Cheers, Chih-Wei Chih-Wei Huang said: > Hi guys, > This is a cross-post to asterisk-video, gstreamer-devel and x264-devel. > I think the subject is related to these mailing lists. > (Since I haven't subscribe all the lists yet, please CC your post to me. Thanks a lot!) > > I'm trying to use GStreamer to generate .h264 file for Asterisk to playback. > The test environment is > > The OS: Fedora Core 6, with updates rpms. > Asterisk: 1.4.4 > GStreamer: core and all plugins from CVS 20070511 > x264: 20070322 > ffmpeg: 20070514 > > I use the command to generate the files for Asterisk: > > gst-launch filesrc location=myfile.mp4 ! decodebin name=demux ! videoscale ! > video/x-raw-yuv,width=352,height=288 ! x264enc bitrate=128 byte-stream=1 ! rtph264pay ! > asteriskenc ! filesink location=test.h264 demux. ! queue ! audioconvert ! audioresample ! > audio/x-raw-int,rate=8000,channels=1 ! gsmenc ! filesink location=test.gsm > > where asteriskenc is a plugin of GStreamer written by me, which could > convert an H.264 RTP stream into Asterisk format. It's based on asteriskh263. > All the other elements are standard GStreamer plugins. > > The .h264 file did be generated. No significant error is found. > Then I used soft-phone eyeBeam 1.5.7 and PortSIP 3.12 to test it. > I had Asterisk play the .h264 file by Background command. > From the ethereal log, I did see H.264 RTP packets are sent from Asterisk. > However, there is *no video* on the softphone. OOPS! > > On the other hand, I'm sure the H.264 support of Asterisk is fine. > I can use Record command to record the H.264 video from eyeBeam > and play it back. > > What's wrong with it? Does it mean the stream generated by x264 > is *not compatible* with eyeBeam or PortSIP? > I see the plugin x264enc has many parameters. > Do I need to specify some them? > > Suggestions or hints are welcome! ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel gstasterisk.tar.bz2 (7K) Download Attachment |
Free forum by Nabble | Edit this page |