Opened 9 years ago
Last modified 9 years ago
#5555 new defect
avfilter_graph_parse_ptr fails on windows when using full path names
Reported by: | ggarra13 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
On Windows, using full path names to, say, ffplay results in parsing to fail and filter not inited. This is critical as using the api to create filters will also fail when using full paths.
How to reproduce:
Using zeranoe builds, for example: % ffplay F:/movies/a/b/c/test.mov -vf subtitles=F:/movies/a/b/c/test.srt ffmpeg git version N-79889-g9486de5 built on 2016-05-10
Change History (3)
comment:1 by , 9 years ago
comment:3 by , 9 years ago
I don't think it is a regression. I believe it never worked, but it would not get triggered as most people don't use the API, but use ffplay with relative paths.
Note:
See TracTickets
for help on using tickets.
The errors are:
$ ffplay /F/code/applications/mrViewer/movie.mkv -vf subtitles="F:/code/applications/mrViewer/sub.srt"
ffplay version N-79889-g9486de5 Copyright (c) 2003-2016 the FFmpeg developers
--enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libblur
nable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libm
-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-
ora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-li
ck --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-
-enable-decklink --enable-zlib
Input #0, matroska,webm, from 'f:/code/applications/mrViewer/movie.mkv':
)
[subtitles @ 00000000077da340] Unable to parse option value "/code/applications/mrViewer/sub.srt" as image size
[subtitles @ 00000000077da340] Error setting option original_size to value /code/applications/mrViewer/sub.srt.
[Parsed_subtitles_0 @ 00000000077da260] Error applying options to the filter.
Error initializing filter 'subtitles' with args 'F:/code/applications/mrViewer/sub.srt'