c - Gstreamer 1.0 image/video player. Which way to implement? -
i have list of files (videos , images) show on screen using gstreamer 1.0, means iterating on elements (file paths) in list , "play" them sequentially in c application "delays" e. tried different examples partly work, cannot whole picture implement.
so conceptual solution this? should use 1 "dynamic" pipeline or 2 (one images - because think here imagefreeze
before videoconvert
necessary , 1 video)? , how can use decodebin
detect format of media automatically? decodebin works command line, errors no video decoder found 'jpeg'
in c application?
try make universal pipeline (or 2 videos , images). i.e. put input file list , output video or image. pipeline(s) should works gst-launch. after try implement pipeline in c code, or write pipeline here.
my way: take file list. if image -> create image decode pipeline, if video -> create video decode pipeline. delete pipeline. delay. go next file.
Comments
Post a Comment