У меня есть поток только для аудио RTSP, я могу воспроизвести этот поток с помощью следующего конвейера:
gst-launch-1.0 rtspsrc location="rtsp://127.0.0.1:8554/test" ! rtpvorbisdepay ! decodebin ! autoaudiosink
Однако, когда я пытаюсь открыть его с VLC следующим образом:
vlc rtsp://127.0.0.1:8554/test
Он не воспроизводит звук (хотя он определяет длину потока и "воспроизводит") и выводит на консоль следующее:
[00007f9ebc04fa80] vorbis decoder error: this bitstream does not contain Vorbis audio data
[00007f9ebc04fa80] vorbis decoder error: this bitstream does not contain Vorbis audio data
[00007f9ebc04fa80] vorbis decoder error: this bitstream does not contain Vorbis audio data
... и т. Д.
Конвейер, используемый для воспроизведения потока:
str = g_strdup_printf ("( "
"filesrc location=%s ! oggdemux "
"! rtpvorbispay name=pay0 pt=96 " ")", argv[1]);
Справка?