<span style=" font-size:10pt;font-family:sans-serif">Hi,</span>
<br><span style=" font-size:10pt;font-family:sans-serif">Mr. Nicolas.</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">Thank you for
your reply.</span>
<br><span style=" font-size:10pt;font-family:sans-serif">Your way looks
nice!</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">I am trying it
now.</span>
<br><span style=" font-size:10pt;font-family:sans-serif">I will let you
know the results later.</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">Thank you.</span>
<br><span style=" font-size:10pt;font-family:$B%a%$%j%*(B">Kamiya.</span>
<br>
<br>
<br><tt><span style=" font-size:10pt">"gstreamer-devel" <gstreamer-devel-bounces@lists.freedesktop.org>
wrote on 2023/08/03 07:09:52:<br>
</span></tt>
<br><tt><span style=" font-size:10pt">> <br>
> Hi,<br>
</span></tt>
<br><tt><span style=" font-size:10pt">> Le mar. 1 août 2023, 03 h 15,
geysee via gstreamer-devel <<br>
> gstreamer-devel@lists.freedesktop.org> a écrit :<br>
</span></tt>
<br><tt><span style=" font-size:10pt">> > Hello<br>
> > I am Kamiya.<br>
> ><br>
> > I have a question.<br>
> ><br>
> > Is it a good way to separate pipelines in order to dynamically
change<br>
> > properties<br>
> > that cannot be changed in the PLAYING state, such as the location
property<br>
> > in filesrc?<br>
</span></tt>
<br><tt><span style=" font-size:10pt">> <br>
> It can be a good method. But from what you described below, you may
get<br>
> easier results with concat element instead. splitmuxsrc should work,
there<br>
> is a signal to query the filename from your app instead of using the
glob.<br>
</span></tt>
<br><tt><span style=" font-size:10pt">> <br>
> ><br>
> > I'm sorry for the long post, but the background of the question
is as<br>
> > follows.<br>
> ><br>
> ><br>
> > <br>
> ---------------------------------------------------------------------------------------------------------------------------------<br>
> > I'm making a system that records video from a network camera
while<br>
> > dividing it into files.<br>
> > If the file is split at 10 minute intervals, the file path will
be as<br>
> > follows.<br>
> ><br>
> > C:/Rec/2023/07/31/1330_00000.mp4<br>
> > C:/Rec/2023/07/31/1340_00000.mp4<br>
> > C:/Rec/2023/07/31/1350_00000.mp4<br>
> ><br>
> > With gstreamer C++ coding, I am trying to export as a single
file by<br>
> > specifying the date and time range from the divided recording
files.<br>
> ><br>
> > If the date and time range is in one file, like 13:32 - 13:34,
then the<br>
> > pipeline below has been successful. (Properties are omitted)<br>
> ><br>
> > pileline : filesrc ! qtdemux ! h265parse ! queue ! qtmux ! filesink<br>
> ><br>
> > On the other hand, if the date and time range is split into multiple<br>
> > files, like 7/31 20:00 - 8/1 10:00, this pipeline fails.<br>
> ><br>
> > First, I tried multifilesrc and splitmuxsrc, but the location
property is<br>
> > a glob pattern, it didn't fit the file path of date and time.<br>
> > Next, I tried updating the location property of filesrc sequentially,
but<br>
> > I couldn't change the location when this state is PLAYING.<br>
> ><br>
> > So now I'm trying to divide the pipeline into two as follows.<br>
> ><br>
> > pipeline1 : filesrc ! qtdemux ! h265parse ! appsink<br>
> > pipeline2 : appsrc ! queue ! qtmux ! filesink<br>
> ><br>
> > When pipeline1 reaches the end of stream, I change the state
of pipeline1<br>
> > to Ready.<br>
> > Next I change the location of filesrc. Finaly I change state
to PLAYING<br>
> > again.<br>
> > The State of pipeline2 is not changed.<br>
> ><br>
> > However this way has not been successful yet. There are more
problems than<br>
> > single pipeline.<br>
> ><br>
> > Currently looking into the following issues:<br>
> > If there was single pipeline it was processed at high speed,
but if the<br>
> > pipeline is divided, the processing time will be as per the timestamp.<br>
> ><br>
> > Is it a good way to split the pipeline like this?<br>
> > I would appreciate if you give me some advice.<br>
> ><br>
> > <br>
> ---------------------------------------------------------------------------------------------------------------------------------<br>
> ><br>
> > Best regards,<br>
> > Kamiya.</span></tt>
<br><tt><span style=" font-size:10pt">> [$BE:IU%U%!%$%k(B "C.htm"
$B$O(B $B?@C+(B $BLP<#(B/TOA $B$,:o=|$7$^$7$?(B] </span></tt>