public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* MPEG stream work
@ 2008-08-13 23:33 Dmitri Belimov
  2008-08-14 18:15 ` Gert Vervoort
  2008-08-14 19:10 ` hermann pitton
  0 siblings, 2 replies; 12+ messages in thread
From: Dmitri Belimov @ 2008-08-13 23:33 UTC (permalink / raw)
  To: hermann pitton, Hartmut Hackmann, video4linux-list,
	Mauro Carvalho Chehab, gert.vervoort

[-- Attachment #1: Type: text/plain, Size: 1363 bytes --]

Hi All

Now I have MPEG stream from the saa6752hs MPEG encoder TV card of Beholder M6.

See test video 
http://debian.oshec.org/binary/tmp/mpeg01.dat

This is my script for configure TV card and read data

<script start>

echo "Set Frequency..."
./v4l2-ctl --set-freq=623.25 -d /dev/video0
echo "Set INPUT Id"
./v4l2-ctl --set-input=0 -d /dev/video0
echo "Set Norm"
./v4l2-ctl -s=secam-d -d /dev/video0
echo "Set INPUT Id"
./v4l2-ctl --set-input=0 -d /dev/video1
echo "Set Norm"
./v4l2-ctl -s=secam-d -d /dev/video1
echo "Start MPEG"
echo "Configure MPEG stream"
echo "Set Bitrate mode"
./v4l2-ctl -c video_bitrate_mode=0 -d /dev/video1
echo "Set audio sampling frequency"
./v4l2-ctl -c audio_sampling_frequency=1 -d /dev/video1
echo "Set audio encoding"
./v4l2-ctl -c audio_encoding_layer=1 -d /dev/video1
echo "Set audio bitrate"
./v4l2-ctl -c audio_layer_ii_bitrate=11 -d /dev/video1
echo "Set video bitrate"
./v4l2-ctl -c video_bitrate=7500000 -d /dev/video1
./v4l2-ctl -c video_peak_bitrate=9500000 -d /dev/video1
echo "Set aspect video"
./v4l2-ctl -c video_aspect=1 -d /dev/video1

cat /dev/video1 > test

<script stop>

But I have a trouble. I can't set correct Freq for TV tuner. I send command to tuner
but data from tuner to MPEG encoder is wrong. The encoder send to host stream with "snow window".
Anybody can help me??

With my best regards, Dmitry.

[-- Attachment #2: test.bin --]
[-- Type: application/octet-stream, Size: 512 bytes --]

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-08-16 23:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13 23:33 MPEG stream work Dmitri Belimov
2008-08-14 18:15 ` Gert Vervoort
     [not found]   ` <20080815115954.0be6c5ba@glory.loctelecom.ru>
2008-08-15  2:18     ` hermann pitton
2008-08-15  6:05     ` Hans Verkuil
2008-08-16  0:44       ` hermann pitton
2008-08-16  9:37         ` Hans Verkuil
2008-08-16 23:04           ` hermann pitton
2008-08-16  3:47       ` Dmitri Belimov
2008-08-16  8:30         ` hermann pitton
2008-08-16  9:46           ` Hans Verkuil
2008-08-16  9:24         ` Hans Verkuil
2008-08-14 19:10 ` hermann pitton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox