I would like to have a real-time streaming. I tried the opposite : using retroarch as client and VLC as server. I think my goal is in sight.
So I started a streaming server with VLC :
Open Network Steam -> rtp://@:1234
And use this command line
retroarch -L libretro-git-snes9x-next.dll "Donkey Kong Country (U) (V1.2) [!].smc" --record udp://127.0.0.1:1234?pkt_size=188?buffer_size=65535 --recordconfig rec.cfg
With this rec.cfg file :
vcodec = libx264
acodec = libmp3lame
pix_fmt = yuv420p
scale_factor = 2
threads = 3
video_crf = 25
video_preset = superfast
video_tune = animation
audio_global_quality = 75
sample_rate = 44100
format = rtp
But I have this error:
[libx264 @ 090e5300] using SAR=178/143
[libx264 @ 090e5300] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 090e5300] profile High, level 3.1
[rtp @ 090ed300] Only one stream supported in the RTP muxer
RetroArch [ERROR] :: Failed to start FFmpeg recording.
It seems like FFmpeg cannot manage both audio and video. But I’m not really familiar with it.
So do you have any idea of what parameters do I have to use to get this right?