Live data from Hacker News

FFmpeg merges WebRTC support

git.ffmpeg.org

1–10 of 204 posts

Re: FFmpeg merges WebRTC support

#4
I know there are JavaScript ports of FFmpeg and I would love to use them. But so far, I never got it working. I tried it with AI and this prompt:

    Make a simple example of speeding up an mp4
    video in the browser using a version of ffmpeg
    that runs in the browser. Don't use any server
    side tech like node. Make it a single html file.
But so far every LLM I tried failed to come up with a working solution.

Re: FFmpeg merges WebRTC support

#5
post #2

What does this mean? That websites could connect directly to an FFmpeg instance and receive an audio- and/or video-stream? Phoronix has a somewhat more informative page: https://www.phoronix.com/news/FFmpeg-Lands-WHIP-Muxer

It means that programs that use the FFmpeg libraries (looks like libavformat specifically) can consume webrtc streams

Re: FFmpeg merges WebRTC support

#6

I know there are JavaScript ports of FFmpeg and I would love to use them. But so far, I never got it working. I tried it with AI and this prompt: Make a simple example of speeding up an mp4 video in the browser using a version of ffmpeg that runs in the browser. Don't use any server side tech like node. Make it a single html file. But so far every LLM I tried failed to come up with a working solution.

Don't try to do cutting edge stuff with a brain that doesn't know anything past a certian date.

Re: FFmpeg merges WebRTC support

#9

I know there are JavaScript ports of FFmpeg and I would love to use them. But so far, I never got it working. I tried it with AI and this prompt: Make a simple example of speeding up an mp4 video in the browser using a version of ffmpeg that runs in the browser. Don't use any server side tech like node. Make it a single html file. But so far every LLM I tried failed to come up with a working solution.

Don't try to do cutting edge stuff with a brain that doesn't know anything past a certian date.

The JS ports of FFmpeg (or WASM port if you want the in-browser approach) are very old and would be more than present in modern LLM training datasets, albeit likely not enough of a proportion for LLMs to understand it well.

https://github.com/Kagami/ffmpeg.js/

https://github.com/ffmpegwasm/ffmpeg.wasm

Re: FFmpeg merges WebRTC support

#10

I know there are JavaScript ports of FFmpeg and I would love to use them. But so far, I never got it working. I tried it with AI and this prompt: Make a simple example of speeding up an mp4 video in the browser using a version of ffmpeg that runs in the browser. Don't use any server side tech like node. Make it a single html file. But so far every LLM I tried failed to come up with a working solution.

if you‘re really interested in doing that, i‘m certain you can with a bit of effort. There are plenty of docs and examples online.
Post reply on HN