Beiträge anzeigen

Diese Sektion erlaubt es ihnen alle Beiträge dieses Mitglieds zu sehen. Beachten sie, dass sie nur solche Beiträge sehen können, zu denen sie auch Zugriffsrechte haben.


Themen - vladislav

Seiten: [1]
1
Sundtek MediaTV Pro / How to read raw vbi?
« am: September 28, 2014, 07:27:06 Nachmittag »
Hello,

I want to read vbi lines of the frames of analog TV. I want to use VBI data in my programm.

I tune to the channel.
/opt/bin/mediaclient -m ATV -f 223250000 -d /dev/video0 -v SECAM-K

Then I can save frames from TV - it works OK. For example:
mplayer tv:// -tv driver=v4l2:device=/dev/video0:normid=7 -frames 20 -vo jpeg

But when I'm trying to get VBI lines, I've got only green filled pictures. What I do wrong?


root@Cubian:/home/cubie# mplayer /dev/vbi0 -demuxer rawvideo -rawvideo w=720:h=49:format=yuy2 -noconsolecontrols -frames 30 -vo jpeg
MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /dev/vbi0.
rawvideo file format detected.
Load subtitles in /dev/
jpeg: Progressive JPEG disabled.
jpeg: Baseline JPEG enabled.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x1be4b40] BICUBIC scaler, from yuyv422 to rgb24 using C
VO: [jpeg] 720x49 => 720x49 RGB 24-bit
jpeg: . - Output directory already exists and is writable.
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
V:   1.2  30/ 30  0% 37%  0.0% 0 0


Exiting... (End of file)

Seiten: [1]