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:1 by , 17 months ago
comment:2 by , 17 months ago
| Cc: | added |
|---|---|
| Component: | undetermined → avformat |
| Owner: | set to |
| Status: | new → open |
| Version: | 7.1 → git-master |
Note:
See TracTickets
for help on using tickets.



This patch should fix this bug
https://patchwork.ffmpeg.org/project/ffmpeg/patch/tencent_950247706639F892C6A6A0F4B5E25ECA4E09@qq.com/