#8708: dash demuxer cannot support rotation ----------------------------------+--------------------------------------- Reporter: kyh96403 | Type: enhancement Status: new | Priority: normal Component: avformat | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+--------------------------------------- FFmpeg's dash demuxer is cannot transfer meta data.. So mp4's rotation information is cannot support.
libavformat/dashdec.c static int open_demux_for_component(AVFormatContext *s, struct representation *pls) { int ret = 0; int i; pls->parent = s; pls->cur_seq_no = calc_cur_seg_no(s, pls); if (!pls->last_seq_no) { pls->last_seq_no = calc_max_seg_no(pls, s->priv_data); } ret = reopen_demux_for_component(s, pls); if (ret < 0) { goto fail; } for (i = 0; i < pls->ctx->nb_streams; i++) { AVStream *st = avformat_new_stream(s, NULL); AVStream *ist = pls->ctx->streams[i]; if (!st) { ret = AVERROR(ENOMEM); goto fail; } st->id = i; avcodec_parameters_copy(st->codecpar, ist->codecpar); avpriv_set_pts_info(st, ist->pts_wrap_bits, ist->time_base.num, ist->time_base.den); av_dict_copy(&st->metadata, ist->metadata, 0); // added by K.Y.H } return 0; fail: return ret; } Please apply it^^ -- Ticket URL: <https://trac.ffmpeg.org/ticket/8708> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".