OBS Studio + PLUDO SDR TX DATV howto?

  • Hi Robert,


    where can I get Evaristes Adalm-Pluto DVB Controller and/or his software package?

  • From Evariste, F5OEO. The original site is no longer up and the version on Vivadatv is out of date. The best solution is to contact him and follow the guidance in the help file.


    Mike


    From the help file:

    Help and Support

    Support

    If you have any questions regarding this custom firmware or are experiencing any problems following the user guides, or experiments feel free to ask a question. Questions can be asked on our vivadatv forum.

    Support the author

    Even most of this development is done under opensource (GPL), I should apreciate donation for integration, development and materials : Donate


    About

    Author

    Hamradio call F5OEO since 1995, electronic and computer science engineer. Interested in experimenting rather than communicating. Main interests : SDR, embedded platform (raspebrry pi), digital television (DVB).

    Main projects

  • For each symbol rate, constellation and FEC there is a maximum possible bitrate of the UDP-stream.
    Using Analysis page I can see green and red dots. There is no explanation, but I think the red ones are dropped. And I think it is a good sign to see zero-packets shown. So fare I studied some examples and used trial and error.
    I would need a good understandable document how to set the main parameters at OBS recording to achieve a certain bitrate. Could someone please point me that document?
    Thanks
    Gerhard

  • DD0KP Heiner, deleting the callsign did not solve but it helped someway to monitor the problem between the variations it shows: blank, py2rn, unassigned and nocall.


    In my case loading the original v0.31 pluto.frm AND boot.frm then f5oeo beta for the brave solved the issue and Pluto TX is normal now.


    Thanks


    73


    Ed PY2RN

  • Hello all,


    I am a bit confused in try to find the answer in previous posts, put did not manage


    I set OBS recording to udp://192.168.2.1:8282?pkt_size=1316


    I set my Pluto to a certain channel with the latest software

    Start my miniTiounerV2 nice lock but no video


    Why is there no video?

    I am missing something ?


    73 Frans PE0F

  • Looking at this you have not set up any of the encoding parameters. Read the instructions at http://192.168.1.2 to use RTMP or look at what's written in the DATV forums. It's quite complicated to do this.


    for UDP your basic.ini in the OBS profile might contain text that looks something like this:


    [AdvOut]

    TrackIndex=1

    RecType=FFmpeg

    RecEncoder=obs_x264

    RecTracks=1

    FFOutputToFile=false

    FFURL=udp://192.168.2.1:8282?pkt_size=1316

    FFFormat=mpegts

    FFFormatMimeType=video/MP2T

    FFExtension=ts

    FFVBitrate=350

    FFIgnoreCompat=true

    FFVEncoderId=173

    FFVEncoder=nvenc_hevc

    FFAEncoderId=86018

    FFAEncoder=aac

    FFAudioMixes=1

    FFMCustom=max_delay=600 muxrate=7426 mpegts_original_network_id =1 mpegts_transport_stream_id=2 mpegts service_id=1 mpegts_start_pid=300 mpegts_pmt_start_pid=4096 pcr_period=40

    FFVCustom=profile=main level=4.0 rc=cbr_hq rc-lookahead=10 surfaces=2

    FFVGOPSize=50

    FFABitrate=32

    FFRescale=false

    FFRescaleRes=1280x720

    RescaleRes=620x465

    RecRescaleRes=1920x1080

    Rescale=true

    Track1Bitrate=64

    ApplyServiceSettings=false

    Encoder=jim_nvenc


    but really I don't recommend this as it's not so reliable. I prefer to use virtualcam plugin for OBS and do the encoding with a batch file. To do this you need ffmpeg installed on your PC but that opens up a much large range of options to try.


    There is a post about that on the BATC forum. You need to install the OBS Virtualcam plugin. I suppose you could just use a webcam with ffmpeg and no OBS. To test perhaps first send to VLC and you might try:


    c:\ffmpeg\bin\ffmpeg -f dshow -i video="OBS-Camera" -thread_queue_size 512 -f dshow -i audio="OBS-Audio" -vcodec hevc_nvenc -s 768x432 -r 15 -bf 0 -pix_fmt yuv420p -b:v 40k -preset slow -profile:v main -rc cbr_hq -rc-lookahead 5 -acodec aac -aac_coder twoloop -ar 48000 -ac 1 -b:a 24k -f mpegts -muxrate 170k -streamid 0:256 -streamid 1:257 -max_delay 2000000 -metadata service_provider="PE0F" -metadata service_name="Frans" -y "udp://127.0.0.1:1234?pkt_size=1316"


    Which you can receive with VLC in the same way you direct minitioune output to VLC. Once working with VLC set parameters appropriately for your chosen symbol rate and fec and send to the pluto IP address and port. It should receive it. Make sure that force compliant (H265 Box) checkbox is off.


    Mike

  • Hello Mike,


    Thanks for your discription and the tip to user VLC the way to setup up

    There is one thong I forgot to mention, My laptop has GeForce GTX1050 which could be used for H265 and h264 encoding

    But how can i use this card capabilities


    73 Frans

  • Hi Frans


    I anticipated that and the script for ffmpeg includes your encoder. This is the "vcodec hevc_nvenc" part. If you want to do it in OBS you need to select it similarly to me. Software encoding of H265 is hard and for most people, not really practical without hardware assistance of a graphics card. If you are sending H265 and your PC is not on fire, then you are probably already using the hardware encoder.



    Mike

  • If you want to use the ADALM-PLUTO DATV controller to set the parameters of the Pluto, you have to send the OBS data to the Pluto via UDP stream. Above you can see what has to be entered in OBD under "Output" "Recording". But what do you have to enter under "Stream" in the line "Server" and "Stream Key"?

  • If you want to use the ADALM-PLUTO DATV controller to set the parameters of the Pluto, you have to send the OBS data to the Pluto via UDP stream. Above you can see what has to be entered in OBD under "Output" "Recording". But what do you have to enter under "Stream" in the line "Server" and "Stream Key"?

    In my case nothing because I am not using streaming or recording. I am using the virtual webcam output and converting that with ffmpeg in a batch file.


    Mike

  • In the meantime i have found out that the stream settings are irrelevant when using UDP. To start the data stream you have to use the "Start Recording" function instead of "Start Streaming", which may sound a bit illogical.