What will UpdateMedia do to an existing MediaID?

UpdateMedia will replace information about existing media's formats.  All old format items will be deleted and the new ones will be added. This is useful if you just want to change the settings on a particular MediaID. 

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid>
    <userkey>[UserKey]</userkey>
    <action>UpdateMedia</action>
    <mediaid>1234567</mediaid>
    <format>
        <output>fl9</output>
        <size>320x240</size>
        <bitrate>256k</bitrate>
        <audio_bitrate>64k</audio_bitrate>
        <audio_channels_number>2</audio_channels_number>
        <keep_aspect_ratio>yes</keep_aspect_ratio>
        <video_codec>libx264</video_codec>
        <profile>high</profile>
        <VCodecParameters>no</VCodecParameters>
        <audio_codec>libfaac</audio_codec>
        <two_pass>no</two_pass>
        <cbr>no</cbr>
        <deinterlacing>no</deinterlacing>
        <keyframe>300</keyframe>
        <audio_volume>100</audio_volume>
        <file_extension>mp4</file_extension>
    </format>
    <format>
        <output>thumbnail</output>
        <time>5</time>
        <video_codec>mjpeg</video_codec>
        <keep_aspect_ratio>yes</keep_aspect_ratio>
        <file_extension>jpg</file_extension>
    </format>
<query>
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 4.50 out of 5)
Loading...

edchelp