Opened 17 months ago

Last modified 17 months ago

#11543 open defect

ffplay cannot find initialization section of MPEG-DASH on macOS

Reported by: SYamaguchi Owned by: Jack Lau
Priority: normal Component: avformat
Version: git-master Keywords:
Cc: Jack Lau Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
ffplay fails to play MPEG-DASH on local storage if the given file path is a relative one.
I also tested on Windows and it is fine.

How to reproduce:

% mkdir some_folder
% ffmpeg -i input.mp4 -codec copy -f dash some_folder/output.mpd
% ffplay some_folder/output.mpd -v verbose  # NG
~~~~
Initialized metal renderer.
[dash @ 0x7fdb7e938a80] DASH request for url 'some_folder/some_folder/init-stream0.m4s', offset 0
[dash @ 0x7fdb7e938a80] Failed to open an initialization section
[dash @ 0x7fdb7e938a80] Error when loading first fragment of playlist
[AVIOContext @ 0x7fdb7e938640] Statistics: 4820 bytes read, 0 seeks
some_folder/output.mpd: No such file or directory

% cd some_folder
% ffplay output.mpd  # OK
% ffplay ~/Movies/some_folder/output.mpd  # OK

Change History (2)

comment:2 by Jack Lau, 17 months ago

Cc: Jack Lau added
Component: undeterminedavformat
Owner: set to Jack Lau
Status: newopen
Version: 7.1git-master
Note: See TracTickets for help on using tickets.