/third_party/ffmpeg/libavformat/ |
D | hlsplaylist.c | 35 avio_printf(out, "#EXTM3U\n"); in ff_hls_write_playlist_version() 36 avio_printf(out, "#EXT-X-VERSION:%d\n", version); in ff_hls_write_playlist_version() 46 avio_printf(out, "#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=\"group_%s\"", agroup); in ff_hls_write_audio_rendition() 47 avio_printf(out, ",NAME=\"audio_%d\",DEFAULT=%s,", name_id, is_default ? "YES" : "NO"); in ff_hls_write_audio_rendition() 49 avio_printf(out, "LANGUAGE=\"%s\",", language); in ff_hls_write_audio_rendition() 51 avio_printf(out, "URI=\"%s\"\n", filename); in ff_hls_write_audio_rendition() 61 avio_printf(out, "#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=\"%s\"", sgroup); in ff_hls_write_subtitle_rendition() 62 avio_printf(out, ",NAME=\"subtitle_%d\",DEFAULT=%s,", name_id, is_default ? "YES" : "NO"); in ff_hls_write_subtitle_rendition() 64 avio_printf(out, "LANGUAGE=\"%s\",", language); in ff_hls_write_subtitle_rendition() 66 avio_printf(out, "URI=\"%s\"\n", filename); in ff_hls_write_subtitle_rendition() [all …]
|
D | webmdashenc.c | 84 avio_printf(pb, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); in write_header() 85 avio_printf(pb, "<MPD\n"); in write_header() 86 avio_printf(pb, " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"); in write_header() 87 avio_printf(pb, " xmlns=\"urn:mpeg:DASH:schema:MPD:2011\"\n"); in write_header() 88 avio_printf(pb, " xsi:schemaLocation=\"urn:mpeg:DASH:schema:MPD:2011\"\n"); in write_header() 89 avio_printf(pb, " type=\"%s\"\n", w->is_live ? "dynamic" : "static"); in write_header() 91 avio_printf(pb, " mediaPresentationDuration=\"PT%gS\"\n", in write_header() 94 avio_printf(pb, " minBufferTime=\"PT%gS\"\n", min_buffer_time); in write_header() 95 avio_printf(pb, " profiles=\"%s\"%s", in write_header() 109 avio_printf(pb, " availabilityStartTime=\"%s\"\n", gmt_iso); in write_header() [all …]
|
D | framehash.c | 28 avio_printf(s->pb, "#software: %s\n", LIBAVFORMAT_IDENT); in ff_framehash_write_header() 33 avio_printf(s->pb, "#tb %d: %d/%d\n", i, st->time_base.num, st->time_base.den); in ff_framehash_write_header() 34 avio_printf(s->pb, "#media_type %d: %s\n", i, av_get_media_type_string(avctx->codec_type)); in ff_framehash_write_header() 35 avio_printf(s->pb, "#codec_id %d: %s\n", i, avcodec_get_name(avctx->codec_id)); in ff_framehash_write_header() 39 avio_printf(s->pb, "#sample_rate %d: %d\n", i,avctx->sample_rate); in ff_framehash_write_header() 40 avio_printf(s->pb, "#channel_layout %d: %"PRIx64"\n", i,avctx->channel_layout); in ff_framehash_write_header() 41 avio_printf(s->pb, "#channel_layout_name %d: %s\n", i, buf); in ff_framehash_write_header() 44 avio_printf(s->pb, "#dimensions %d: %dx%d\n", i, avctx->width, avctx->height); in ff_framehash_write_header() 45 …avio_printf(s->pb, "#sar %d: %d/%d\n", i, st->sample_aspect_ratio.num, st->sample_aspect_ratio.den… in ff_framehash_write_header()
|
D | webvttenc.c | 41 avio_printf(pb, "%02"PRId64":", hour); in webvtt_write_time() 43 avio_printf(pb, "%02"PRId64":%02"PRId64".%03"PRId64"", min, sec, millisec); in webvtt_write_time() 59 avio_printf(pb, "WEBVTT\n"); in webvtt_write_header() 70 avio_printf(pb, "\n"); in webvtt_write_packet() 76 avio_printf(pb, "%.*s\n", id_size, id); in webvtt_write_packet() 79 avio_printf(pb, " --> "); in webvtt_write_packet() 86 avio_printf(pb, " %.*s", settings_size, settings); in webvtt_write_packet() 88 avio_printf(pb, "\n"); in webvtt_write_packet() 91 avio_printf(pb, "\n"); in webvtt_write_packet()
|
D | dashenc.c | 585 avio_printf(c->m3u8_out, "#EXT-X-PREFETCH:%s\n", prefetch_url); in write_hls_media_playlist() 664 avio_printf(out, "\t\t\t\t<SegmentTemplate timescale=\"%d\" ", timescale); in output_segment_list() 666 avio_printf(out, "duration=\"%"PRId64"\" ", os->seg_duration); in output_segment_list() 668 avio_printf(out, "availabilityTimeOffset=\"%.3f\" ", in output_segment_list() 672 avio_printf(out, "availabilityTimeComplete=\"false\" "); in output_segment_list() 674 …avio_printf(out, "initialization=\"%s\" media=\"%s\" startNumber=\"%d\"", os->init_seg_name, os->m… in output_segment_list() 676 avio_printf(out, " presentationTimeOffset=\"%"PRId64"\"", c->presentation_time_offset); in output_segment_list() 677 avio_printf(out, ">\n"); in output_segment_list() 680 avio_printf(out, "\t\t\t\t\t<SegmentTimeline>\n"); in output_segment_list() 684 avio_printf(out, "\t\t\t\t\t\t<S "); in output_segment_list() [all …]
|
D | ttmlenc.c | 71 avio_printf(pb, "%s=\"%02"PRId64":%02"PRId64":%02"PRId64".%03"PRId64"\"", in ttml_write_time() 107 avio_printf(pb, ttml_header_text, printed_lang); in ttml_write_header() 121 avio_printf(pb, " <p\n"); in ttml_write_packet() 125 avio_printf(pb, ">"); in ttml_write_packet() 127 avio_printf(pb, "</p>\n"); in ttml_write_packet() 157 avio_printf(pb, ttml_footer_text); in ttml_write_trailer()
|
D | sccenc.c | 50 avio_printf(avf->pb, "Scenarist_SCC V1.0\n"); in scc_write_header() 83 avio_printf(avf->pb, "\n%02d:%02d:%02d:%02d\t", h, m, s, f); in scc_write_packet() 93 avio_printf(avf->pb, "\n%02d:%02d:%02d:%02d\t", h, m, s, f); in scc_write_packet() 97 avio_printf(avf->pb, " "); in scc_write_packet() 98 avio_printf(avf->pb, "%02x%02x", pkt->data[i + 1], pkt->data[i + 2]); in scc_write_packet() 102 avio_printf(avf->pb, "\n"); in scc_write_packet()
|
D | mpjpeg.c | 36 avio_printf(s->pb, "--%s\r\n", mpj->boundary_tag); in mpjpeg_write_header() 43 avio_printf(s->pb, "Content-type: image/jpeg\r\n"); in mpjpeg_write_packet() 44 avio_printf(s->pb, "Content-length: %d\r\n\r\n", in mpjpeg_write_packet() 48 avio_printf(s->pb, "\r\n--%s\r\n", mpj->boundary_tag); in mpjpeg_write_packet()
|
D | lrcenc.c | 79 avio_printf(s->pb, "[%s:%s]\n", in lrc_write_header() 82 avio_printf(s->pb, "\n"); in lrc_write_header() 123 avio_printf(s->pb, "[%02"PRId64":%02"PRId64".%02"PRId64"]", in lrc_write_packet() 130 avio_printf(s->pb, "[-%02"PRId64":%02"PRId64".%02"PRId64"]", in lrc_write_packet() 135 avio_printf(s->pb, "%s\n", line); in lrc_write_packet()
|
D | hashenc.c | 250 avio_printf(s->pb, "#extradata %d, %31d, ", i, par->extradata_size); in framehash_print_extradata() 255 avio_printf(s->pb, "\n"); in framehash_print_extradata() 277 avio_printf(s->pb, "#format: frame checksums\n"); in framehash_write_header() 278 avio_printf(s->pb, "#version: %d\n", c->format_version); in framehash_write_header() 279 avio_printf(s->pb, "#hash: %s\n", av_hash_get_name(c->hashes[0])); in framehash_write_header() 282 avio_printf(s->pb, "#stream#, dts, pts, duration, size, hash\n"); in framehash_write_header() 302 avio_printf(s->pb, ", S=%d", pkt->side_data_elems); in framehash_write_packet() 319 avio_printf(s->pb, "\n"); in framehash_write_packet()
|
D | hdsenc.c | 178 avio_printf(out, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); in write_manifest() 179 avio_printf(out, "<manifest xmlns=\"http://ns.adobe.com/f4m/1.0\">\n"); in write_manifest() 180 avio_printf(out, "\t<id>%s</id>\n", av_basename(s->url)); in write_manifest() 181 avio_printf(out, "\t<streamType>%s</streamType>\n", in write_manifest() 183 avio_printf(out, "\t<deliveryType>streaming</deliveryType>\n"); in write_manifest() 185 avio_printf(out, "\t<duration>%f</duration>\n", duration); in write_manifest() 196 …avio_printf(out, "\t<bootstrapInfo profile=\"named\" url=\"stream%d.abst\" id=\"bootstrap%d\" />\n… in write_manifest() 197 …avio_printf(out, "\t<media bitrate=\"%d\" url=\"stream%d\" bootstrapInfoId=\"bootstrap%d\">\n", os… in write_manifest() 198 avio_printf(out, "\t\t<metadata>%s</metadata>\n", base64); in write_manifest() 199 avio_printf(out, "\t</media>\n"); in write_manifest() [all …]
|
D | srtenc.c | 89 avio_printf(avf->pb, "%d\n%02d:%02d:%02d,%03d --> %02d:%02d:%02d,%03d", in srt_write_packet() 96 avio_printf(avf->pb, " X1:%03d X2:%03d Y1:%03d Y2:%03d", in srt_write_packet() 98 avio_printf(avf->pb, "\n"); in srt_write_packet()
|
D | ffmetaenc.c | 76 avio_printf(s->pb, "TIMEBASE=%d/%d\n", ch->time_base.num, ch->time_base.den); in write_trailer() 77 avio_printf(s->pb, "START=%"PRId64"\n", ch->start); in write_trailer() 78 avio_printf(s->pb, "END=%"PRId64"\n", ch->end); in write_trailer()
|
D | smoothstreamingenc.c | 200 … avio_printf(out, "<c t=\"%"PRIu64"\" d=\"%"PRIu64"\" />\n", frag->start_time, frag->duration); in output_chunk_list() 202 avio_printf(out, "<c n=\"%d\" d=\"%"PRIu64"\" />\n", frag->n, frag->duration); in output_chunk_list() 221 avio_printf(out, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); in write_manifest() 244 …avio_printf(out, "<SmoothStreamingMedia MajorVersion=\"2\" MinorVersion=\"0\" Duration=\"%"PRIu64"… in write_manifest() 246 …avio_printf(out, " IsLive=\"true\" LookAheadFragmentCount=\"%d\" DVRWindowLength=\"0\"", c->lookah… in write_manifest() 247 avio_printf(out, ">\n"); in write_manifest() 250 …avio_printf(out, "<StreamIndex Type=\"video\" QualityLevels=\"%d\" Chunks=\"%d\" Url=\"QualityLeve… in write_manifest() 256 …avio_printf(out, "<QualityLevel Index=\"%d\" Bitrate=\"%"PRId64"\" FourCC=\"%s\" MaxWidth=\"%d\" M… in write_manifest() 260 avio_printf(out, "</StreamIndex>\n"); in write_manifest() 264 …avio_printf(out, "<StreamIndex Type=\"audio\" QualityLevels=\"%d\" Chunks=\"%d\" Url=\"QualityLeve… in write_manifest() [all …]
|
D | microdvdenc.c | 48 avio_printf(avf->pb, "{%"PRId64"}", pkt->pts); in microdvd_write_packet() 52 avio_printf(avf->pb, "{%"PRId64"}", pkt->pts + pkt->duration); in microdvd_write_packet()
|
D | segment.c | 300 avio_printf(seg->list_pb, "#EXTM3U\n"); in segment_list_open() 301 avio_printf(seg->list_pb, "#EXT-X-VERSION:3\n"); in segment_list_open() 302 avio_printf(seg->list_pb, "#EXT-X-MEDIA-SEQUENCE:%d\n", seg->segment_list_entries->index); in segment_list_open() 303 avio_printf(seg->list_pb, "#EXT-X-ALLOW-CACHE:%s\n", in segment_list_open() 311 avio_printf(seg->list_pb, "#EXT-X-TARGETDURATION:%"PRId64"\n", (int64_t)ceil(max_duration)); in segment_list_open() 313 avio_printf(seg->list_pb, "ffconcat version 1.0\n"); in segment_list_open() 326 avio_printf(list_ioctx, "%s\n", list_entry->filename); in segment_list_print_entry() 331 avio_printf(list_ioctx, ",%f,%f\n", list_entry->start_time, list_entry->end_time); in segment_list_print_entry() 334 avio_printf(list_ioctx, "#EXTINF:%f,\n%s\n", in segment_list_print_entry() 345 avio_printf(list_ioctx, "file %s\n", buf); in segment_list_print_entry() [all …]
|
D | yuv4mpegenc.c | 170 ret = avio_printf(pb, Y4M_MAGIC " W%d H%d F%d:%d I%c A%d:%d%s%s\n", in yuv4_write_header() 194 avio_printf(s->pb, Y4M_FRAME_MAGIC "\n"); in yuv4_write_packet()
|
D | framecrcenc.c | 40 avio_printf(s->pb, "#extradata %d: %8d, 0x%08"PRIx32"\n", in framecrc_write_header()
|
D | hlsenc.c | 1421 avio_printf(hls->m3u8_out, "#EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS"); 1422 avio_printf(hls->m3u8_out, ",GROUP-ID=\"%s\"", ccs->ccgroup); 1423 avio_printf(hls->m3u8_out, ",NAME=\"%s\"", ccs->instreamid); 1425 avio_printf(hls->m3u8_out, ",LANGUAGE=\"%s\"", ccs->language); 1426 avio_printf(hls->m3u8_out, ",INSTREAM-ID=\"%s\"\n", ccs->instreamid); 1600 avio_printf(byterange_mode ? hls->m3u8_out : vs->out, "#EXT-X-DISCONTINUITY\n"); 1604 avio_printf(byterange_mode ? hls->m3u8_out : vs->out, "#EXT-X-INDEPENDENT-SEGMENTS\n"); 1609 …avio_printf(byterange_mode ? hls->m3u8_out : vs->out, "#EXT-X-KEY:METHOD=AES-128,URI=\"%s\"", en->… 1611 avio_printf(byterange_mode ? hls->m3u8_out : vs->out, ",IV=0x%s", en->iv_string); 1612 avio_printf(byterange_mode ? hls->m3u8_out : vs->out, "\n");
|
D | avio.h | 578 int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3);
|
D | assenc.c | 77 …avio_printf(s->pb, "[Events]\r\nFormat: %s, Start, End, Style, Name, MarginL, MarginR, MarginV, Ef… in write_header()
|
D | movenc.c | 4241 avio_printf(pb, "<param name=\"%s\" value=\"%d\" valuetype=\"data\"/>\n", name, value); in param_write_int() 4246 avio_printf(pb, "<param name=\"%s\" value=\"%s\" valuetype=\"data\"/>\n", name, value); in param_write_string() 4255 avio_printf(pb, "<param name=\"%s\" value=\"%s\" valuetype=\"data\"/>\n", name, buf); in param_write_hex() 4273 avio_printf(pb, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); in mov_write_isml_manifest() 4274 avio_printf(pb, "<smil xmlns=\"http://www.w3.org/2001/SMIL20/Language\">\n"); in mov_write_isml_manifest() 4275 avio_printf(pb, "<head>\n"); in mov_write_isml_manifest() 4277 avio_printf(pb, "<meta name=\"creator\" content=\"%s\" />\n", in mov_write_isml_manifest() 4279 avio_printf(pb, "</head>\n"); in mov_write_isml_manifest() 4280 avio_printf(pb, "<body>\n"); in mov_write_isml_manifest() 4281 avio_printf(pb, "<switch>\n"); in mov_write_isml_manifest() [all …]
|
D | aviobuf.c | 1199 int avio_printf(AVIOContext *s, const char *fmt, ...) in avio_printf() function
|
D | matroskaenc.c | 2179 avio_printf(pb, "%.*s\n%.*s\n%.*s", id_size, id, settings_size, settings, pkt->size, pkt->data); in mkv_write_vtt_blocks()
|
/third_party/ffmpeg/fftools/ |
D | ffmpeg_filter.c | 127 avio_printf(s, "%s|", name); in choose_pix_fmts() 155 avio_printf(s, "%s|", name); \ 224 avio_printf(pb, "%s", ctx->filter->name); in describe_filter_link() 226 avio_printf(pb, ":%s", avfilter_pad_get_name(pads, inout->pad_idx)); in describe_filter_link()
|