Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: SAT-IP rtsp streams fail to open (foobar2k 1.6.2) (Read 1019 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

SAT-IP rtsp streams fail to open (foobar2k 1.6.2)

I'm new to foobar2000 (1.6.2) and need some guidance on how to get certain rtsp streams to work.

My AVM DVB-C receiver acts as a SAT>IP server streaming cable TV and radio.  URLs to its streams look like this:
Code: [Select]
rtsp://192.168.178.2:554/?freq=434&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,119,528
(this happens to be the radio station JAM FM)

Vlc, DVBViewer and ffplay open and play these URLs, ffmpeg has no problems and ffprobe yields (search for JAM FM):

Code: [Select]
Input #0, rtsp, from 'rtsp://192.168.178.2:554/?freq=434&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,119,528':
  Metadata:
    title           : SatIPServer:1 2
  Duration: N/A, start: 85136.526289, bitrate: 192 kb/s
  Program 513
    Metadata:
      service_name    : ?SIXX
      service_provider: ?ProSiebenSat.1
  Program 514
    Metadata:
      service_name    : ?TLC
      service_provider: ?BetaDigital
  Program 515
    Metadata:
      service_name    : ?Disney Channel
      service_provider: ?BetaDigital
  Program 516
    Metadata:
      service_name    : ?1-2-3.tv
      service_provider: ?BetaDigital
  Program 517
    Metadata:
      service_name    : ?QVC
      service_provider: ?BetaDigital
  Program 518
    Metadata:
      service_name    : ?QVC STYLE
      service_provider: ?BetaDigital
  Program 519
    Metadata:
      service_name    : ?ANIXE +
      service_provider: ?BetaDigital
  Program 520
    Metadata:
      service_name    : ?N24 DOKU
      service_provider: ?BetaDigital
  Program 521
    Metadata:
      service_name    : egoFM
      service_provider: BetaDigital
  Program 522
    Metadata:
      service_name    : åKlassikç Radio
      service_provider: BetaDigital
  Program 523
    Metadata:
      service_name    : JAM FM
      service_provider: BetaDigital
    Stream #0:0(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, s16p, 192 kb/s (clean effects)
  Program 525
   Metadata:
     service_name    : ?pearl.tv Shop
     service_provider: ?BetaDigital
 Program 526
   Metadata:
     service_name    : ?Channel21
     service_provider: ?BetaDigital
 Program 527
   Metadata:
     service_name    : ?åDELUXEç MUSIC
     service_provider: ?BetaDigital
 Program 528
   Metadata:
     service_name    : Volksmusik.TV
     service_provider: -

While foobar handles MP2, it does not open/play the stream:

Code: [Select]
Unable to open item for playback (IWMReader::Open failed : Unknown error code (0xC00D2EE0)):

So I was hoping that the FFmpeg Decoder Wrapper component could be used.  But it looks as if the ffprobe/ffmpeg commands from the Wrapper are never executed.

I gather rtsp support is built-in.  Can it be disabled in favour of FFmpeg Decoder Wrapper?  What do I need to do?

Thanks!

Re: SAT-IP rtsp streams fail to open (foobar2k 1.6.2)

Reply #1
Hi there,

Have a look in Preferences > Playback > Decoding. Move the FFMPEG decoder above the default MPEG decoder, or deselect the MPEG one.

(I'm not sure if that'll fix the problem though...)

Cheers

 

Re: SAT-IP rtsp streams fail to open (foobar2k 1.6.2)

Reply #2
Moving the FFWrapper up makes a small difference:  FFprobe does get executed but playback still fails with the same error.

For debugging purposes, I created a dummy ffprobe.exe from a batchfile that essentially does a "echo @* > tmpfile".

After clicking on the stream item in foobar, tmpfile contains this:
Code: [Select]
c:\usr\local\ffmpeg\bin\ffprobe.exe  -of xml -show_format -show_streams -show_chapters -hide_banner "c:\temp\APPDAT~1\foo_input_exe-20FD0F1B-74C0-452D-AAF0-86C149FA048F." 

Alas, foo_input_exe-20FD0F1B-74C0-452D-AAF0-86C149FA048F. is deleted right away, so I don't know what it contained (the rtsp URL?).

So I reinstated the real ffprobe.exe and created a dummy ffmpeg.exe that echoes its command line to the tmpfile.

But that tmpfile is never created. So ffmpeg does not seem to get executed.

Is there a way to somehow prevent the foo_input_exe-20FD0F1B-74C0-452D-AAF0-86C149FA048F created by ffprobe from getting deleted?