Skip to content

Using web camera and output to Gtk window #4

Description

@Novator

Good day. I'm a developer of P2P social network Pandora.
I've used gstreamer before, but it has a lot of bugs after migration to version 1.0.
Well, I've decided to use ffmpeg now.

Questions came, how can I do:

  1. capture video stream from web cam
  2. encode it to h264
  3. take raw data from stream (i will send it via TCP)
  4. put raw data to stream
  5. decode it from h264
  6. show video in Gtk window

Does "ffmpeg-ruby" can do it? Does "ffmpeg-ruby" work in Windows?

p.s. I know terminal commands:
ffmpeg -f video4linux2 -r 25 -s 640x480 -i /dev/video0 out.avi
ffplay out.avi
but don't know how to do it with your bindings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions