capture frame from position

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

capture frame from position

Dmitriy
Hi fellows!

I work with SpaceWire-networks, and I was asked to arrange the transfer of video on the SpaceWire for same demonstration of oportunites and fps.

Aaaaand, I have a problem: I never use gstreamer.

In general, I need to capture frame and corresponding piece of audiotrack from the specified position in video file.

Could somebody suggest what i need to use for this operations?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: capture frame from position

Donny Viszneki
Capturing audio at a position will not be very useful. Capturing audio
in a specified range will be more useful.

In Gstreamer it is critical to use the correct terminology: What are
known in common parlance as "video files" typically are files which
interleave multiple media streams. So your only challenge appears to
be: write a program which will extract audio from a multimedia file
within a given time range.

You should learn GStreamer basics, but this doc in particular may help:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-eventsseek.html

2011/5/31 Dmitriy <[hidden email]>:

> Hi fellows!
>
> I work with SpaceWire-networks, and I was asked to arrange the transfer of
> video on the SpaceWire for same demonstration of oportunites and fps.
>
> Aaaaand, I have a problem: I never use gstreamer.
>
> In general, I need to capture frame and corresponding piece of audiotrack
> from the specified position in video file.
>
> Could somebody suggest what i need to use for this operations?
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>



--
http://codebad.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: capture frame from position

Dmitriy
Thank you Donny for your answer.

It seems, you haven't understood me.

Look, I deal with network and so I need to transfer video-stream (video-stream - from video file .avi .mkv etc) from same Transmitter to same Receiver. And general problem : form the packet. To form the packet Transmitter need to capture frame (might be multiple frames) and corresponding range of audio, after put this stuff in the packet and send to Receiver.

After that, happy Receiver receives this packet, writes and starts(continues) to play.

Don't ask me why I capture exactly one frame. Say me, if you know, how to do this?

Thank you

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: capture frame from position

Stefan Sauer
Am 02.06.2011 17:20, schrieb Dmitriy:

> Thank you Donny for your answer.
>
> It seems, you haven't understood me.
>
> Look, I deal with network and so I need to transfer video-stream (video-stream -
> from video file .avi .mkv etc) from same Transmitter to same Receiver. And
> general problem : form the packet. To form the packet Transmitter need to
> capture frame (might be multiple frames) and corresponding range of audio, after
> put this stuff in the packet and send to Receiver.
>
> After that, happy Receiver receives this packet, writes and starts(continues) to
> play.
>
> Don't ask me why I capture exactly one frame. Say me, if you know, how to do this?
>

Donnies advice was correct. In your case you don't capture, you want to stream
media from a stored files starting from a certain time position. Thus you stream
the video and do a seek on the stream.

Please go and read through the docs to get on the same page with us on the
terminology.

Stefan

> Thank you
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel