RPi-Distro / vlc

GNU General Public License v2.0
41 stars 4 forks source link

VLC snapshot command error #93

Open ChayMahajj opened 12 months ago

ChayMahajj commented 12 months ago

Hello everyone,

I am using vlc rpi distro for bullseye. I would like to take a snapshot of the video. I am using cvlc command line to play the video and I don't have a GUI interface in my system. My goal is to take a snapshot of the Video in the end using a command line. I used this cmd: cvlc trailer.mp4 --rate=1 --video-filter=scene --vout=dummy --scene-format=png --scene-prefix=snapshot --scene-path=/home/ --scene-replace But various errors apears :

[004752b8] dummy interface: using the dummy interface module...
[abba50b8] chain filter error: Too high level of recursion (3)
[abb2c7e8] main filter error: Failed to create video converter
[abba4f80] chain filter error: Too high level of recursion (3)
[abb2c7e8] main filter error: Failed to create video converter
[abba4f38] chain filter error: Too high level of recursion (3)
[abb2c7e8] main filter error: Failed to create video converter
[abb67fc8] chain filter error: Too high level of recursion (3)
[abb2c7e8] main filter error: Failed to create video converter
[abb3b260] chain filter error: Too high level of recursion (3)
[abb2c7e8] main filter error: Failed to create video converter
[abb5bed0] chain filter error: Too high level of recursion (3)
mmal: mmal_vc_component_create: failed to create component 'vc.ril.hvs' (1:ENOME                                                                                             M)
mmal: mmal_component_create_core: could not create component 'vc.ril.hvs' (1)
[b534c710] main video output error: Failed to create video converter
[b534c710] main video output error: Failed to compensate for the format changes,                                                                                              removing all filters
[b5307b88] avcodec decoder: Using DRM Video Accel for hardware decoding
[abb19ab0] blend blend error: no matching alpha blending routine (chroma: YUVA -                                                                                             > DPV0)
[abb19ab0] main blend error: blending YUVA to DPV0 failed
[abb19ab0] blend blend error: no matching alpha blending routine (chroma: YUVA -                                                                                             > DPV0)

I will be thankfull if you provide me with a solution or explanation.

Chayma.

jc-kynesim commented 11 months ago

Just to check - after all that output does it then work or does it crash/return to the command-line without creating a snapshot? You could try adding --codec avcodec --avcodec-hw none which should force s/w decode though it won't prevent a lot of spurious output.