-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
media_files_src_bin
uses same source-id for all videos in a folder
#604
Comments
Hello, the problem is not related to the source adapter. It does not change source id because it allows processing chunked files as a continuous object. The problem is related to the sink adapter mostly, but we believe sinks are purpose built. So because the sink receives the information about the source files in meta, it can handle it properly. Just do not forget enable EOS-sending. Another trivial option is to use a shell script around the source: ls | while read f
do
run source source-id=$f
done |
@bwsw The video files adapter sink creates a .mov video file with the source-id as the name. So when processing another video from the same folder, it just overwrites the previous video with EOS. So how do I prevent that? |
@Y-T-G it may be a bug. |
There's a bug: when |
@Y-T-G you can set |
@tomskikh let us fix that please. |
It would be better if
media_files_src_bin
dynamically changed source_id for each video or image in a folder. It makes it easier to save them as different files using video file sink adapter which saves based on source_id.The text was updated successfully, but these errors were encountered: