Lines Matching defs:stream

122     SegmentType segment_type;  /* segment type selected for this particular stream */
125 const char *single_file_name; /* file names selected for this particular stream */
316 av_log(s, AV_LOG_ERROR, "Could not select DASH segment type for stream %d\n", i);
321 av_log(s, AV_LOG_ERROR, "Could not get extension type for stream %d\n", i);
914 av_log(s, AV_LOG_ERROR, "Codec type of stream %d doesn't match AdaptationSet's media type\n", i);
938 // default: one AdaptationSet for each stream
1081 } else { // select single stream
1084 av_log(s, AV_LOG_ERROR, "Selected stream \"%s\" not found!\n", idx_str);
1087 av_log(s, AV_LOG_DEBUG, "Map stream %d\n", i);
1500 av_log(s, level, "No bit rate set for stream %d\n", i);
1505 // copy AdaptationSet language and role from stream metadata
1580 snprintf(os->initfile, sizeof(os->initfile), "%s-stream%d.%s", basename, i, os->format_name);
1618 av_log(s, AV_LOG_WARNING, "frag_type set to duration for stream %d but no frag_duration set\n", i);
1627 av_log(s, AV_LOG_WARNING, "frag_type set to P-Frame reordering, but no parser found for stream %d\n", i);
1701 av_log(s, AV_LOG_ERROR, "Conflicting stream aspect ratios values in Adaptation Set %d. Please ensure all adaptation sets have the same aspect ratio\n", os->as_idx);
1721 av_log(s, AV_LOG_WARNING, "no video stream and no seg duration set\n");
1725 av_log(s, AV_LOG_WARNING, "no video stream and P-frame fragmentation set\n");
1911 static int dash_flush(AVFormatContext *s, int final, int stream)
1920 if (stream >= 0) {
1921 cur_flush_segment_index = c->streams[stream].segment_index;
1925 c->streams[stream].last_pts != AV_NOPTS_VALUE &&
1926 c->streams[stream].first_pts != AV_NOPTS_VALUE) {
1927 int64_t pts_diff = av_rescale_q(c->streams[stream].last_pts -
1928 c->streams[stream].first_pts,
1929 s->streams[stream]->time_base,
1931 next_exp_index = (pts_diff / c->streams[stream].seg_duration) + 1;
1944 // Flush the single stream that got a keyframe right now.
1947 if (stream >= 0 && i != stream) {
1948 if (s->streams[stream]->codecpar->codec_type != AVMEDIA_TYPE_VIDEO &&
2094 // If forcing the stream to start at 0, the mp4 muxer will set the start
2378 { "init_seg_name", "DASH-templated name to used for the initialization segment", OFFSET(init_seg_name), AV_OPT_TYPE_STRING, {.str = "init-stream$RepresentationID$.$ext$"}, 0, 0, E },
2379 { "media_seg_name", "DASH-templated name to used for the media segments", OFFSET(media_seg_name), AV_OPT_TYPE_STRING, {.str = "chunk-stream$RepresentationID$-$Number%05d$.$ext$"}, 0, 0, E },