• Home
  • Raw
  • Download

Lines Matching refs:avio_printf

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()
674avio_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()
687 avio_printf(out, "t=\"%"PRId64"\" ", seg->time); in output_segment_list()
689 avio_printf(out, "d=\"%"PRId64"\" ", seg->duration); in output_segment_list()
695 avio_printf(out, "r=\"%d\" ", repeat); in output_segment_list()
696 avio_printf(out, "/>\n"); in output_segment_list()
700 avio_printf(out, "\t\t\t\t\t</SegmentTimeline>\n"); in output_segment_list()
702 avio_printf(out, "\t\t\t\t</SegmentTemplate>\n"); in output_segment_list()
704 avio_printf(out, "\t\t\t\t<BaseURL>%s</BaseURL>\n", os->initfile); in output_segment_list()
705avio_printf(out, "\t\t\t\t<SegmentList timescale=\"%d\" duration=\"%"PRId64"\" startNumber=\"%d\">… in output_segment_list()
706avio_printf(out, "\t\t\t\t\t<Initialization range=\"%"PRId64"-%"PRId64"\" />\n", os->init_start_po… in output_segment_list()
709avio_printf(out, "\t\t\t\t\t<SegmentURL mediaRange=\"%"PRId64"-%"PRId64"\" ", seg->start_pos, seg-… in output_segment_list()
711avio_printf(out, "indexRange=\"%"PRId64"-%"PRId64"\" ", seg->start_pos, seg->start_pos + seg->inde… in output_segment_list()
712 avio_printf(out, "/>\n"); in output_segment_list()
714 avio_printf(out, "\t\t\t\t</SegmentList>\n"); in output_segment_list()
716avio_printf(out, "\t\t\t\t<SegmentList timescale=\"%d\" duration=\"%"PRId64"\" startNumber=\"%d\">… in output_segment_list()
717 avio_printf(out, "\t\t\t\t\t<Initialization sourceURL=\"%s\" />\n", os->initfile); in output_segment_list()
720 avio_printf(out, "\t\t\t\t\t<SegmentURL media=\"%s\" />\n", seg->file); in output_segment_list()
722 avio_printf(out, "\t\t\t\t</SegmentList>\n"); in output_segment_list()
778 avio_printf(out, "PT"); in write_time()
780 avio_printf(out, "%dH", hours); in write_time()
782 avio_printf(out, "%dM", minutes); in write_time()
783 avio_printf(out, "%d.%dS", seconds, fractions / (AV_TIME_BASE / 10)); in write_time()
812avio_printf(out, "\t\t<AdaptationSet id=\"%d\" contentType=\"%s\" startWithSAP=\"1\" segmentAlignm… in write_adaptation_set()
815 avio_printf(out, " maxFrameRate=\"%d/%d\"", as->max_frame_rate.num, as->max_frame_rate.den); in write_adaptation_set()
817 avio_printf(out, " frameRate=\"%d/%d\"", as->max_frame_rate.num, as->max_frame_rate.den); in write_adaptation_set()
819 avio_printf(out, " maxWidth=\"%d\" maxHeight=\"%d\"", as->max_width, as->max_height); in write_adaptation_set()
820 avio_printf(out, " par=\"%d:%d\"", as->par.num, as->par.den); in write_adaptation_set()
824 avio_printf(out, " lang=\"%s\"", lang->value); in write_adaptation_set()
825 avio_printf(out, ">\n"); in write_adaptation_set()
828 avio_printf(out, "\t\t\t<Resync dT=\"%"PRId64"\" type=\"0\"/>\n", as->max_frag_duration); in write_adaptation_set()
830avio_printf(out, "\t\t\t<EssentialProperty id=\"%d\" schemeIdUri=\"http://dashif.org/guidelines/tr… in write_adaptation_set()
833avio_printf(out, "\t\t\t<Role schemeIdUri=\"urn:mpeg:dash:role:2011\" value=\"%s\"/>\n", role->val… in write_adaptation_set()
835 avio_printf(out, "\t\t\t%s\n", as->descriptor); in write_adaptation_set()
853avio_printf(out, "\t\t\t<Representation id=\"%d\" mimeType=\"video/%s\" codecs=\"%s\"%s width=\"%d… in write_adaptation_set()
856 avio_printf(out, " scanType=\"unknown\""); in write_adaptation_set()
858 avio_printf(out, " scanType=\"interlaced\""); in write_adaptation_set()
859 avio_printf(out, " sar=\"%d:%d\"", os->sar.num, os->sar.den); in write_adaptation_set()
861avio_printf(out, " frameRate=\"%d/%d\"", st->avg_frame_rate.num, st->avg_frame_rate.den); in write_adaptation_set()
865avio_printf(out, " maxPlayoutRate=\"%d\"", FFMAX((int)av_q2d(av_div_q(tas->min_frame_rate, as->min… in write_adaptation_set()
868 avio_printf(out, " codingDependency=\"false\""); in write_adaptation_set()
869 avio_printf(out, ">\n"); in write_adaptation_set()
871avio_printf(out, "\t\t\t<Representation id=\"%d\" mimeType=\"audio/%s\" codecs=\"%s\"%s audioSampl… in write_adaptation_set()
873avio_printf(out, "\t\t\t\t<AudioChannelConfiguration schemeIdUri=\"urn:mpeg:dash:23003:3:audio_cha… in write_adaptation_set()
877avio_printf(out, "\t\t\t\t<ProducerReferenceTime id=\"%d\" inband=\"true\" type=\"%s\" wallClockTi… in write_adaptation_set()
879avio_printf(out, "\t\t\t\t\t<UTCTiming schemeIdUri=\"urn:mpeg:dash:utc:http-xsdate:2014\" value=\"… in write_adaptation_set()
880 avio_printf(out, "\t\t\t\t</ProducerReferenceTime>\n"); in write_adaptation_set()
884 avio_printf(out, "\t\t\t\t<Resync dT=\"%"PRId64"\" type=\"1\"/>\n", os->gop_size); in write_adaptation_set()
886 avio_printf(out, "\t\t\t</Representation>\n"); in write_adaptation_set()
888 avio_printf(out, "\t\t</AdaptationSet>\n"); in write_adaptation_set()
1167 avio_printf(out, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); in write_manifest()
1168 avio_printf(out, "<MPD xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" in write_manifest()
1174avio_printf(out, "%s%s", "urn:mpeg:dash:profile:isoff-live:2011", c->profile & MPD_PROFILE_DVB ? "… in write_manifest()
1176 avio_printf(out, "%s", "urn:dvb:dash:profile:dvb-dash:2014\"\n"); in write_manifest()
1177 avio_printf(out, "\ttype=\"%s\"\n", in write_manifest()
1180 avio_printf(out, "\tmediaPresentationDuration=\""); in write_manifest()
1182 avio_printf(out, "\"\n"); in write_manifest()
1190 avio_printf(out, "\tminimumUpdatePeriod=\"PT%"PRId64"S\"\n", update_period); in write_manifest()
1192avio_printf(out, "\tsuggestedPresentationDelay=\"PT%"PRId64"S\"\n", c->last_duration / AV_TIME_BAS… in write_manifest()
1194 avio_printf(out, "\tavailabilityStartTime=\"%s\"\n", c->availability_start_time); in write_manifest()
1197 avio_printf(out, "\tpublishTime=\"%s\"\n", now_str); in write_manifest()
1199 avio_printf(out, "\ttimeShiftBufferDepth=\""); in write_manifest()
1201 avio_printf(out, "\"\n"); in write_manifest()
1204 avio_printf(out, "\tmaxSegmentDuration=\""); in write_manifest()
1206 avio_printf(out, "\"\n"); in write_manifest()
1207 avio_printf(out, "\tminBufferTime=\""); in write_manifest()
1209 avio_printf(out, "\">\n"); in write_manifest()
1210 avio_printf(out, "\t<ProgramInformation>\n"); in write_manifest()
1213 avio_printf(out, "\t\t<Title>%s</Title>\n", escaped); in write_manifest()
1216 avio_printf(out, "\t</ProgramInformation>\n"); in write_manifest()
1218 avio_printf(out, "\t<ServiceDescription id=\"0\">\n"); in write_manifest()
1220 avio_printf(out, "\t\t<Latency target=\"%"PRId64"\"", c->target_latency / 1000); in write_manifest()
1222 avio_printf(out, " referenceId=\"%d\"", c->target_latency_refid); in write_manifest()
1223 avio_printf(out, "/>\n"); in write_manifest()
1227 avio_printf(out, "\t\t<PlaybackRate min=\"%.2f\" max=\"%.2f\"/>\n", in write_manifest()
1229 avio_printf(out, "\t</ServiceDescription>\n"); in write_manifest()
1235 avio_printf(out, "\t<Period id=\"0\" start=\""); in write_manifest()
1237 avio_printf(out, "\">\n"); in write_manifest()
1239 avio_printf(out, "\t<Period id=\"0\" start=\"PT0.0S\">\n"); in write_manifest()
1246 avio_printf(out, "\t</Period>\n"); in write_manifest()
1249avio_printf(out, "\t<UTCTiming schemeIdUri=\"urn:mpeg:dash:utc:http-xsdate:2014\" value=\"%s\"/>\n… in write_manifest()
1251 avio_printf(out, "</MPD>\n"); in write_manifest()