[FFmpeg-devel] [PATCH] resend: add segment_path for save segment movie
stefasab at gmail.com
Mon Nov 25 19:22:37 CET 2013
On date Friday 2013-11-22 13:25:44 +0100, Stefano Sabatini encoded:
> 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
> From 2821d24d5a7b4746a2aaad2391bc0a21a1cdecb9 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Fri, 22 Nov 2013 12:49:05 +0100
> Subject: [PATCH] lavf/segment: add segment_list_entry_prefix option
> This option allows to add a prefix to the segment list entry filenames.
> Also set by default the list entry filenames to the corresponding
> segment basename, consistent with the HLS muxer.
> Based on an idea by Steven Liu <lingjiujianke at gmail.com>.
> doc/muxers.texi | 8 +++++++-
> libavformat/segment.c | 21 +++++++++++++++++++--
> 2 files changed, 26 insertions(+), 3 deletions(-)
FFmpeg = Furious and Furious Magic Puristic Enlightened Gigant
More information about the ffmpeg-devel