gstreamer/subprojects/gst-plugins-good/gst/multifile
Jonas K Danielsson b0becfa46b splitmuxsrc: Use natural ordering to find files
Today when using the `splitmuxsrc` on a collection of files named as:

```
item0.mkv
item1.mkv
item2.mkv
[...]
item10.mkv
item11.mkv
[...]
```

You will get a continuous stream made in the order of:

```
item0.mkv -> item1.mkv -> item10.mkv -> item11.mkv -> [...]
```

You can fix this by having smarter names of the items:

```
item000.mkv
item001.mkv
item002.mkv
[...]
item010.mkv
item011.mkv
[...]
```

Will get you:
```
item000.mkv -> item001.mkv -> item003.mkv -> item004.mkv -> [...]
```

But, we could also "fix" the former case by using natural ordering when
comparing the files in gstsplitutils.c.

Fixes #2523

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4491>
2024-01-24 20:15:19 +00:00
..
gstimagesequencesrc.c imagesequencesrc: fix regular image deadlock 2023-10-12 22:06:02 +00:00
gstimagesequencesrc.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstmultifile.c Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstmultifilesink.c multifilesink: Make minimum distance between keyframes in next-file=key-frame mode configurable 2021-11-02 20:21:10 +00:00
gstmultifilesink.h multifilesink: Make minimum distance between keyframes in next-file=key-frame mode configurable 2021-11-02 20:21:10 +00:00
gstmultifilesrc.c multifile: error out if no filename was set 2023-04-12 18:55:26 +00:00
gstmultifilesrc.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstsplitfilesrc.c Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstsplitfilesrc.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstsplitmuxpartreader.c splitmuxsrc: Make PTS contiguous by preference 2023-05-16 04:34:16 +00:00
gstsplitmuxpartreader.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstsplitmuxsink.c Revert "splitmuxsink: Avoid assertion when WAITING_GOP_COLLECT on reference context" 2023-04-28 11:00:19 +00:00
gstsplitmuxsink.h splitmuxsink: When flushing, exit handle_mq_input quickly 2022-05-17 09:24:10 +00:00
gstsplitmuxsrc.c splitmuxsrc: Proxy latency query to part reader 2023-02-15 23:47:50 +00:00
gstsplitmuxsrc.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstsplitutils.c splitmuxsrc: Use natural ordering to find files 2024-01-24 20:15:19 +00:00
gstsplitutils.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
meson.build gstreamer-full: add full static support 2023-05-31 15:17:11 +00:00
patternspec.c Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
patternspec.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
test-splitmuxpartreader.c Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00