Skip to content

Instantly share code, notes, and snippets.

@opnchaudhary
Created October 29, 2013 10:24
Show Gist options
  • Save opnchaudhary/7212117 to your computer and use it in GitHub Desktop.
Save opnchaudhary/7212117 to your computer and use it in GitHub Desktop.
This xml file can be imported to Adobe Flash Media Encoder and can be used for streaming webcam's video along with microphone's audio to specified rtmp publish point
<?xml version="1.0" encoding='UTF-8'?>
<flashmedialiveencoder_profile>
<preset>
<name>uFame Live</name>
<description>For Webcam Streaming</description>
</preset>
<capture>
<video>
<device>USB Video Device</device>
<crossbar_input>0</crossbar_input>
<frame_rate>30.00</frame_rate>
<size>
<width>640</width>
<height>480</height>
</size>
</video>
<audio>
<device>USB Audio Device</device>
<crossbar_input>0</crossbar_input>
<sample_rate>44100</sample_rate>
<channels>1</channels>
<input_volume>90</input_volume>
</audio>
</capture>
<encode>
<video>
<format>H.264</format>
<datarate>200;</datarate>
<outputsize>320x180;</outputsize>
<advanced>
<keyframe_frequency>2 Seconds</keyframe_frequency>
<quality>Good Quality - Good Framerate</quality>
<noise_reduction>None</noise_reduction>
<datarate_window>Medium</datarate_window>
<cpu_usage>Dedicated</cpu_usage>
</advanced>
<autoadjust>
<enable>false</enable>
<maxbuffersize>1</maxbuffersize>
<dropframes>
<enable>false</enable>
</dropframes>
<degradequality>
<enable>false</enable>
<minvideobitrate></minvideobitrate>
<preservepfq>false</preservepfq>
</degradequality>
</autoadjust>
</video>
<audio>
<format>AAC</format>
<datarate>64</datarate>
</audio>
</encode>
<restartinterval>
<days></days>
<hours></hours>
<minutes></minutes>
</restartinterval>
<reconnectinterval>
<attempts>5</attempts>
<interval>5</interval>
</reconnectinterval>
<output>
<rtmp>
<url>rtmp_url</url>
<stream>channel_name</stream>
</rtmp>
</output>
<metadata>
<entry>
<key>author</key>
<value></value>
</entry>
<entry>
<key>copyright</key>
<value></value>
</entry>
<entry>
<key>description</key>
<value></value>
</entry>
<entry>
<key>keywords</key>
<value></value>
</entry>
<entry>
<key>rating</key>
<value></value>
</entry>
<entry>
<key>title</key>
<value></value>
</entry>
</metadata>
<preview>
<video>
<input>
<zoom>100%</zoom>
</input>
<output>
<zoom>100%</zoom>
</output>
</video>
<audio></audio>
</preview>
<log>
<level>100</level>
<directory>C:\</directory>
</log>
</flashmedialiveencoder_profile>
@adiwijayaajay
Copy link

cara masukin encorder gmna bang supaya lancar di ytb nya? bisa jelaskan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment