Skip to content

deadlock issue when transcoding with sfilter

Transcoding with sfilter leads to a deadlock issue with vlc.1-0.0 nightly build from Nov5. The command is :

vlc \
        --verbose=2 \
        fake:// \
        :fake-file=/tmp/image.png \
        :fake-duration=10000 \
        :sout="#duplicate{dst=display,dst=transcode:std}" \
        :sout-standard-access=file \
        :sout-standard-mux=ts \
        :sout-standard-dst=/tmp/fake.ts \
        :sout-transcode-vcodec=mp4v \
        :sout-transcode-sfilter="marq@s_m1{marquee=TOTO}" \
        vlc://quit

it works fine (/tmp/fake.ts created as expected) but ends up with the following error :

[0x82a24c8] main subpicture debug: Filter 's_m1' (0x83bfc50) removed from chain
vlc: video_output/vout_subpictures.c:1669: SpuClearChannel:  l'assertion « pthread_mutex_lock (&p_sys->lock) == 35 » a échoué.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information