To receive a notification only where a job errors, designate a URL or email address for <notify_encoding_errors>, you will receive information when a job contains errors. This is in additon to the regular <notify> field for completion of all job processes.
<?xml version="1.0"?> <query> <action>AddMedia</action> <userid>[]</userid> <userkey>[]</userkey> <source>[]</source> <notify/> <notify_encoding_errors/> <format> <output>flv</output> <size>0x720</size> <bitrate>2000k</bitrate> <audio_bitrate>128k</audio_bitrate> <audio_sample_rate>44100</audio_sample_rate> <audio_channels_number>2</audio_channels_number> <framerate>300</framerate> <keep_aspect_ratio>yes</keep_aspect_ratio> <video_codec>libx264</video_codec> <profile>main</profile> <audio_codec>libfaac</audio_codec> <two_pass>no</two_pass> <turbo>no</turbo> <cbr>no</cbr> <deinterlacing>no</deinterlacing> <keyframe>300</keyframe> <audio_volume>100</audio_volume> <rotate>def</rotate> <file_extension>flv</file_extension> <add_meta>no</add_meta> </format> </query>