All pastes #758659 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-02 13:07 UTC
rendered paste body
bilboed@putamadre ~/work/python-tests $ GST_DEBUG=2 python performance.py --output test1.csv audiotestsrc samplesperbuffer=200 num-buffers=100 ! audio/x-raw-int,channels=1,rate=8000 ! mulawenc ! rtppcmupay ! rtppcmudepay name=test_start_depay ! identity sync=True ! mulawdec name=test_dec ! audioresample name=test_resample ! audio/x-raw-int,rate=11025,channels=1 ! ffenc_adpcm_swf name=test_end_enc ! queue ! fakesink

(performance.py:8773): GStreamer-CRITICAL **: gst_caps_set_simple: assertion `caps->structs->len == 1' failed
/pipeline0/test_end_enc (__main__.ffenc_adpcm_swf)
        Nb input : 100 , Nb output : 53
         input from 0:00:00.000000000[t:1194008818.327504] to 0:00:02.472925170[t:1194008820.805805]
         output from 0:00:00.000000000[t:1194008818.328375] to 0:00:02.414875282[t:1194008820.780879]
        Average 0.046336s , Median 0.050031s

/pipeline0/test_resample (__main__.GstAudioresample)
        Nb input : 100 , Nb output : 100
         input from 0:00:00.000000000[t:1194008818.326704] to 0:00:02.475000000[t:1194008820.805462]
         output from 0:00:00.000000000[t:1194008818.327387] to 0:00:02.472925170[t:1194008820.805777]
        Average 0.025093s , Median 0.025298s

/pipeline0/test_start_depay (__main__.GstRtpPcmuDepay)
        Nb input : 100 , Nb output : 100
         input from 0:00:00.000000000[t:1194008818.326305] to 0:00:02.475000000[t:1194008820.780962]
         output from 0:00:00.000000000[t:1194008818.326456] to 0:00:02.475000000[t:1194008820.780984]
        Average 0.000024s , Median 0.000022s

/pipeline0/test_dec (__main__.GstMuLawDec)
        Nb input : 100 , Nb output : 100
         input from 0:00:00.000000000[t:1194008818.326544] to 0:00:02.475000000[t:1194008820.805404]
         output from 0:00:00.000000000[t:1194008818.326583] to 0:00:02.475000000[t:1194008820.805436]
        Average 0.000031s , Median 0.000028s

Overall analysis between /pipeline0/test_start_depay (__main__.GstRtpPcmuDepay) and /pipeline0/test_end_enc (__main__.ffenc_adpcm_swf)
        Nb input : 100 , Nb output : 53
         input from 0:00:00.000000000[t:1194008818.326305] to 0:00:02.475000000[t:1194008820.780962]
         output from 0:00:00.000000000[t:1194008818.328375] to 0:00:02.414875282[t:1194008820.780879]
        Average 0.070984s , Median 0.074961s