FFmpeg
|
Data Structures | |
class | ServerExample |
Functions | |
def | pitchshifting5 (input_filename, output_filename) |
def | pitchshifting12 (input_filename, output_filename) |
def | url_call (url) |
def | download_file (file_url, file_name) |
def | get_trackid_from_text_search (title, artistname='') |
def | get_preview_from_trackid (trackid) |
def | getProcessPids (port, kill=False) |
def | main (argv=None) |
Variables | |
ECHO_NEST_API_KEY | |
string | apikey = '8496dd1c715c69a74ef9fcde1716cf4a' |
string | DIGITAL7_API_KEY = '7dbpa63h3y3d' |
string | usage |
op = optparse.OptionParser() | |
action | |
dest | |
default | |
type | |
options | |
args | |
string | CONFIG_FILE = "%(USER)s.cfg" |
Function Documentation
def start.download_file | ( | file_url, | |
file_name | |||
) |
Definition at line 204 of file start.py.
Referenced by start.ServerExample.receiveinput().
def start.get_preview_from_trackid | ( | trackid | ) |
***This method is from get_preview_url.py by Thierry Bertin-Mahieux*** Ask for the preview to a particular track, get the XML answer After calling the API with a given track id, we get an XML response that looks like: <response status="ok" version="1.2" xsi:noNamespaceSchemaLocation="http://api.7digital.com/1.2/static/7digitalAPI.xsd"> <url> http://previews.7digital.com/clips/34/6804688.clip.mp3 </url> </response> We parse it for the URL that we return, or '' if a problem
Definition at line 242 of file start.py.
Referenced by start.ServerExample.receiveinput().
def start.get_trackid_from_text_search | ( | title, | |
artistname = '' |
|||
) |
***This method is from get_preview_url.py by Thierry Bertin-Mahieux*** Search for an artist + title using 7digital search API Return None if there is a problem, or tuple (title,trackid)
Definition at line 216 of file start.py.
Referenced by start.ServerExample.receiveinput().
def start.getProcessPids | ( | port, | |
kill = False |
|||
) |
def start.pitchshifting12 | ( | input_filename, | |
output_filename | |||
) |
Definition at line 174 of file start.py.
Referenced by start.ServerExample.receiveinput().
def start.pitchshifting5 | ( | input_filename, | |
output_filename | |||
) |
Definition at line 157 of file start.py.
Referenced by start.ServerExample.receiveinput().
def start.url_call | ( | url | ) |
***This method is from get_preview_url.py by Thierry Bertin-Mahieux*** Do a simple request to the 7digital API We assume we don't do intense querying, this function is not robust Return the answer as na xml document
Definition at line 191 of file start.py.
Referenced by get_preview_from_trackid(), and get_trackid_from_text_search().
Variable Documentation
start.dest |
Definition at line 60 of file start.py.
Referenced by apply_dependent_coupling(), apply_independent_coupling(), decode_frame(), decode_plane(), ff_h264_idct_add8(), ff_h264_idct_add8_422(), ff_msmpeg4_pred_dc(), ff_parse_key_value(), ff_simple_idct_add(), ff_simple_idct_add_vis(), ff_simple_idct_put(), ff_urldecode(), gbr24ptopacked24(), gbr24ptopacked32(), hl_decode_mb(), hl_decode_mb_444(), hpel_motion(), hpel_motion_lowres(), idctSparseColAdd(), idctSparseColPut(), interleaveBytes(), lz_unpack(), MPV_motion_internal(), packedtogbr24p(), rgb24tobgr32(), rgb24tobgr32_c(), rgb32tobgr24(), rgb32tobgr24_c(), rle_unpack(), sdp_parse_fmtp_config_h264(), svq3_mc_dir_part(), swScale(), tls_open(), xan_unpack(), yuv2bgr24_1(), yuv2bgr24_2(), yuv2bgr24_X(), yuv2bgr24_X_ar(), yuv2rgb32_1(), yuv2rgb32_2(), yuv2rgb555_1(), yuv2rgb555_2(), yuv2rgb565_1(), yuv2rgb565_2(), yuv2rgb_write(), yuv2yuvX(), yuv2yuyv422_1(), and yuv2yuyv422_2().
start.options |
Definition at line 61 of file start.py.
Referenced by amr_decode_fix_avctx(), audio_read_close(), av_opt_freep_ranges(), avfilter_init_str(), decode_flush(), ff_rtsp_open_transport_ctx(), ff_samples_to_time_base(), g726_reset(), main(), open_slave(), pp_get_mode_by_name_and_quality(), query_codec(), show_codec_opts(), show_format_opts(), and uninit().
Generated on Mon Nov 18 2024 06:52:13 for FFmpeg by 1.8.11