[FFmpeg-devel] [FFmpeg-cvslog] avformat/hlsenc: replace with av_dirname to get the directory
Michael Niedermayer
michaelni at gmx.at
Tue Oct 8 15:47:57 EEST 2019
On Tue, Oct 08, 2019 at 06:24:22AM +0000, Limin Wang wrote:
> ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Tue Sep 24 19:24:00 2019 +0800| [28bb73cee77e209a6445d081e7ea577ede29c50f] | committer: Steven Liu
>
> avformat/hlsenc: replace with av_dirname to get the directory
>
> Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
>
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=28bb73cee77e209a6445d081e7ea577ede29c50f
> ---
>
> libavformat/hlsenc.c | 22 ++++++----------------
> 1 file changed, 6 insertions(+), 16 deletions(-)
This breaks
./ffmpeg -i mm-small.mpg -f hls -hls_list_size 5 -hls_flags +delete_segments -acodec mp2 -vcodec mpeg2video -ab 128k -hls_base_url delseg /tmp/file-hlsdelseg.m3u8
...
[hls muxer @ 0x2be16c0] failed to delete old segment /tmpfile-hlsdelseg0.ts: No such file or directory
using /tmp//file-hlsdelseg.m3u8 makes it work but that doesnt feel correct
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
"I am not trying to be anyone's saviour, I'm trying to think about the
future and not be sad" - Elon Musk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191008/3893be8f/attachment.sig>
More information about the ffmpeg-devel
mailing list