Transcoding RTSP Stream Core Dump
Core dump occurs when running a command to transcode a RTSP stream.
Example Command: vlc rtsp://guest:guest@192.168.0.117:554/11 -vvv --no-audio --sout "#transcode{vcodec=mjpg}:display{}"
Debug Output: stream_out_transcode stream out debug: source fps 0/0, destination 25/1 Floating point exception (core dumped).
Looking at the source code for modules/stream_out/transcode/video.c, immediately after this debug statement, the frame interval is calculated using source_frame_rate_base * CLOCK_FREQ / source_frame_rate. Since vlc is not detecting the fps properly and setting it to 0, this divide by 0 is probably what is causing the core dump.
Transcoding works properly from 1.0.5 - 2.1.5. Error occurs on both Windows and Linux, and both 32-bit and 64-bit.