Path | Format | Bit rate (kbits/s) | Video | Audio | Feed\n"); + stream = first_stream; + while (stream != NULL) { + q += sprintf(q, " | |||||
%s ",
+ stream->filename, stream->filename);
+ switch(stream->stream_type) {
+ case STREAM_TYPE_LIVE:
+ {
+ int audio_bit_rate = 0;
+ int video_bit_rate = 0;
+
+ for(i=0;i %s | %d | %d | %d",
+ stream->fmt->name,
+ (audio_bit_rate + video_bit_rate) / 1000,
+ video_bit_rate / 1000, audio_bit_rate / 1000);
+ if (stream->feed) {
+ q += sprintf(q, " | %s", stream->feed->filename);
+ } else {
+ q += sprintf(q, " | %s", stream->feed_filename);
+ }
+ q += sprintf(q, "\n");
+ }
+ break;
+ default:
+ q += sprintf(q, " | - | - | - | -\n");
+ break;
+ }
+ stream = stream->next;
+ }
+ q += sprintf(q, " | |
Parameters | Frame count | Size | Avg bitrate (kbits/s)\n");
+ for(i=0;i%s | %d | %Ld | %0.1f\n",
+ buf, enc->frame_number, fdata->data_count, avg / 1000.0);
+ }
+ q += sprintf(q, " | |
# | File | IP | State | Size\n"); + c1 = first_http_ctx; + i = 0; + while (c1 != NULL) { + i++; + p = inet_ntoa(c1->from_addr.sin_addr); + q += sprintf(q, " |
%d | %s%s | %s | %s | %Ld\n", + i, c1->stream->filename, + c1->state == HTTPSTATE_RECEIVE_DATA ? "(input)" : "", + p, + http_state[c1->state], + c1->data_count); + c1 = c1->next; + } + q += sprintf(q, " |