sign in

API Documentation Format

Home | RecentChanges | All Pages | Help

URL: http://heywatch.com/format

Actions

Example response in XML: http://heywatch.com/format/1.xml [GET]

<format-specs>
  <video-codec>h263</video-codec>
  <name>Mobile 3GP</name>
  <container>3gp</container>
  <video-bitrate>160</video-bitrate>
  <sample-rate>8000</sample-rate>
  <audio-channels>1</audio-channels>
  <audio-bitrate>32</audio-bitrate>
  <id>1</id>
  <audio-codec>amr_nb</audio-codec>
  <height>144</height>
  <fps>15.0</fps>
  <width>176</width>
</format-specs>

Valid parameters for POST and PUT

  • name : format name
  • category : format category; can be formats, devices—Default is ‘formats’
  • container : video format; can be avi, mp4, 3gp, psp, mpeg, mpegts, dvd, flv, svcd, vcd, vob, asf, mov, rm, mjpeg, mpeg2video, 3g2, mp3, ogg
  • video_codec : video codec; can be mpeg4, xvid, flv, h263, mjpeg, mpeg1video, mpeg2video, qtrle, svq3, wmv1, wmv2, huffyuv, rv20, h264
  • video_bitrate : video bitrate in kbit/s, value must be between 50 and 10000
  • fps : Frame per Second; can be 7.5, 10.0, 14.985, 15.0, 23.98, 25.0, 29.97, 30.0
  • width : width in pixel of the image, must be between 50 and 1920
  • height : height in pixel of the image, must be between 50 and 1280. If 0, it will be calculated automatically
  • audio_channel : Audio channel, can be 0 to disable audio, 1 for mono and 2 for stereo
  • audio_codec : Audio codec; can be mp3, mp2, aac, pcm, amr_nb, ac3, vorbis, flac, pcm_u8—Not necessary if audio_channel is 0
  • audio_bitrate : Audio bitrate in kbit/s, up to 512kbits—Not necessary if audio_channel is 0
  • sample_rate : Sample rate; can be 8000, 11025, 16000, 22000, 22050, 24000, 32000, 44000, 44100, 48000—Not necessary if audio_channel is 0

Powered by JunebugWiki v0.0.18 Last edited by bruno on November 17, 2007 09:48 AM (diff)
Version 3 (current) «olderversions