dank074 / Discord-video-stream

Experiment for making video streaming work for discord selfbots.
180 stars 32 forks source link

h264 said not beeing supported but is #79

Open Maxhem2 opened 5 months ago

Maxhem2 commented 5 months ago

I am trying to use the basic example to stream from http://186.2.175.5/serie/stream/halo/staffel-2/episode-8 and changed the config "videoCodec" to "H264" but It always returns

Started playing video
cannot play video Output formats h264, s16le are not available

What am I doing wrong?

dank074 commented 5 months ago

I am trying to use the basic example to stream from http://186.2.175.5/serie/stream/halo/staffel-2/episode-8 and changed the config "videoCodec" to "H264" but It always returns


Started playing video

cannot play video Output formats h264, s16le are not available

What am I doing wrong?

Something is wrong with your installed ffmpeg is my guess. Does it have h264 codec enabled?

timelf123 commented 5 months ago

Something is wrong with your installed ffmpeg is my guess. Does it have h264 codec enabled?

This is correct and it is difficult to get a "good" version of ffmpeg on windows

Try this build https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip or use a WSL ffmpeg

dank074 commented 5 months ago

I would advise against downloading a random binary from the internet. Just use one of the builds linked from the official ffmpeg site (it's in the readme)

timelf123 commented 5 months ago

this is the one linked on ffmpeg's site image