[FFmpeg-devel] [PATCH] resend: add segment_path for save segment movie

Stefano Sabatini stefasab at gmail.com
Fri Nov 22 13:25:44 CET 2013

On date Monday 2013-10-28 10:26:57 +0100, Stefano Sabatini encoded:
> I don't think this approach is correct. Indeed we should distinguish
> the filename where the file is written (oc->filename) from the
> filename which is displayed on the output list file.
> Note that your approach won't work for example on Windows, where "/"
> is not recognized as a file separator.
> I see two solutions.
> 1. we *always* print on the list file the segment file basename (the
>    filename stripped of the prefix path), as it is done in hlsenc.c

Implemented this way.
FFmpeg = Fiendish & Fostering Martial Pacific Earthshaking Gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-segment-add-segment_list_entry_prefix-option.patch
Type: text/x-diff
Size: 4966 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131122/10563bbb/attachment.bin>

More information about the ffmpeg-devel mailing list