Opened 11 months ago

Closed 8 months ago

#10416 closed defect (invalid)

FFprobe cannot parse DASH MPD containing labels

Reported by: backfisch Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: DASH MPD Label FFprobe
Cc: backfisch Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: yes

Description (last modified by backfisch)

Summary of the bug: DASH MPD containing labels cannot be parsed
How to reproduce:

% ffprobe -v 9 -loglevel 99 test_dash.mpd
N-111066-gd26ea03f60
built on Wed Jun 14 13:50:44 CEST 2023

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

ffprobe_label_in_dash.mpd (2.0 KB ) - added by backfisch 11 months ago.
DASH MPD containing Labels

Download all attachments as: .zip

Change History (5)

by backfisch, 11 months ago

Attachment: ffprobe_label_in_dash.mpd added

DASH MPD containing Labels

comment:1 by backfisch, 11 months ago

Description: modified (diff)
Summary: FFprobe cannot parse DASH MPD containing representation labelsFFprobe cannot parse DASH MPD containing labels

comment:2 by Stefano Sabatini, 8 months ago

Analyzed by developer: set
Component: ffprobeavformat
Status: newopen

This is failing to read the elements in the dash file playlist:

stefano@mariano:~/src/ffmpeg$ ./ffmpeg -loglevel verbose -i ffprobe_label_in_dash.mpd 
ffmpeg version N-111874-gceb00a939a Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: --extra-cflags=-I/home/stefano/include --enable-debug=3 --disable-optimizations --extra-ldflags=-L/home/stefano/lib --enable-libcdio --enable-libxml2 --enable-pic --enable-fontconfig --enable-version3 --prefix=/home/stefano --enable-static --enable-debug=3 --enable-pthreads --enable-gpl --enable-nonfree --enable-libmp3lame --enable-gpl --enable-libx264 --enable-frei0r --enable-libcaca --enable-libflite --enable-libfdk-aac --enable-libzmq --enable-libfreetype --enable-libxcb --enable-shared
  libavutil      58. 17.100 / 58. 17.100
  libavcodec     60. 24.100 / 60. 24.100
  libavformat    60. 11.100 / 60. 11.100
  libavdevice    60.  2.101 / 60.  2.101
  libavfilter     9. 11.100 /  9. 11.100
  libswscale      7.  3.100 /  7.  3.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
[dash @ 0x56247cf55140] DASH request for url 'test_dash_track1.mp4', offset 0
[dash @ 0x56247cf55140] Failed to open fragment of playlist
[dash @ 0x56247cf55140] Error when loading first fragment of playlist
[AVIOContext @ 0x56247cf5de00] Statistics: 2061 bytes read, 0 seeks
[in#0 @ 0x56247cf54fc0] Error opening input: Invalid data found when processing input
Error opening input file ffprobe_label_in_dash.mpd.
Error opening input files: Invalid data found when processing input

Also note this is not about ffprobe, the demuxer is failing to read the file, and it is not related to the labels at all.

Can you show the complete command and output?

comment:3 by backfisch, 8 months ago

Indeed, I tested again and added a label to an adaptation set in a DASH Manifest of a working fileset in which case I was able to use ffprobe as expected. Ticket can be closed!

comment:4 by backfisch, 8 months ago

Resolution: invalid
Status: openclosed
Note: See TracTickets for help on using tickets.