public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Morgan Read <mstuff@read.org.nz>
To: Robert Longbottom <rongblor@googlemail.com>
Cc: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: OK szap is looking better, and I feel so close...
Date: Sat, 30 Apr 2011 23:06:39 +1200	[thread overview]
Message-ID: <4DBBED3F.4040000@read.org.nz> (raw)
In-Reply-To: <4DBBDDBF.4020704@googlemail.com>

On 30/04/11 22:00, Robert Longbottom wrote:
> On 30/04/2011 10:37, Morgan Read wrote:
>> OK, think I might be getting somewhere...
>>
> <snip>
> 
>> [user@vortexbox ~]$ szap -r TV2
>> reading channels from file '/home/user/.szap/channels.conf'

...

>> But, nothing happens at Playing /dev/dvb/adapter0/dvr0. ...  Where
>> should I see what's playing?
> 
> I usually do:
> 
> $ cat /dev/dvb/adapter0/dvr0 > recording.mpg
> 
> and then in another terminal
> 
> $ mplayer recording.mpg
> 
> Though it doesn't look like thats your problem, but at least you can see
> if any data is being retrieved if the file grows in size.

Robert, thanks for your help!!!
Didn't get far with

$ cat /dev/dvb/adapter0/dvr0 > recording.mpg
$ mplayer recording.mpg
[vortexbox.lan ~]# cat /dev/dvb/adapter0/dvr0 > recording.mpg
^C
[vortexbox.lan ~]# ls -l
total 36
-rw-rw-r-- 1 user user  368 Apr 30 21:11 channels.conf
drwxr-xr-x 2 user user 4096 Apr 30 12:55 Desktop
drwxr-xr-x 2 user user 4096 Apr 29 22:22 Documents
drwxr-xr-x 2 user user 4096 Apr 29 22:34 Downloads
drwxr-xr-x 2 user user 4096 Apr 25 00:06 Music
drwxr-xr-x 2 user user 4096 Apr 25 00:06 Pictures
drwxr-xr-x 2 user user 4096 Apr 25 00:06 Public
-rw-rw-r-- 1 user user    0 Apr 30 22:53 recording.mpg
drwxr-xr-x 2 user user 4096 Apr 25 00:06 Templates
drwxr-xr-x 2 user user 4096 Apr 25 00:06 Videos
[vortexbox.lan ~]#

BUT, that gave me an idea...

[vortexbox.lan ~]# dvbstream -f 1183 -s 22500 -p h -o 512 650 >
recording.mpg
dvbstream v0.5 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
Using DVB card "Conexant CX24123/CX24109"
tuning DVB-S to L-Band:1, Pol:H Srate=22500000, 22kHz=off
ERROR setting tone
: Invalid argument
polling....
Getting frontend event
FE_STATUS:
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI
FE_HAS_SYNC
Event:  Frequency: 11783000
        SymbolRate: 22500000
        FEC_inner:  3

Bit error rate: 0
Signal strength: 61952
SNR: 57635
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI
FE_HAS_SYNC
Setting filter for PID 512
Setting filter for PID 650
Output to stdout
Streaming 2 streams

Which produced this:

[user@vortexbox ~]$ mplayer recording.mpg
MPlayer SVN-r33254-snapshot-4.5.1 (C) 2000-2011 MPlayer Team
162 audio & 360 video codecs
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 recording.mpg.
TS file format detected.
VIDEO MPEG2(pid=512) AUDIO MPA(pid=650) NO SUBS (yet)!  PROGRAM N. 0
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  15000.0 kbps (1875.0
kbyte/s)
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=2.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12
A:90135.5 V:90135.5 A-V:  0.001 ct:  0.093 13786/13786  6%  0%  0.5% 0 0


MPlayer interrupted by signal 2 in module: sleep_timer
A:90135.6 V:90135.6 A-V:  0.001 ct:  0.093 13787/13787  6%  0%  0.5% 0 0

Exiting... (Quit)
[user@vortexbox ~]$

And, moving pictures!!!

BUT what the frig am I watching of all the channels that have been
defined...?

Thanks very much for your help!!!  Now I just need to work out what's
going on!

Or, is the tuner simply stuck on what ever it was last put on?  And, if
so - how to change channels?

Regards,
Morgan
-- 
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>

Confused about DRM?
Get all the info you need at:
http://drm.info/

  reply	other threads:[~2011-04-30 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30  9:37 OK szap is looking better, and I feel so close Morgan Read
2011-04-30 10:00 ` Robert Longbottom
2011-04-30 11:06   ` Morgan Read [this message]
2011-04-30 11:50     ` Robert Longbottom
2011-04-30 12:10       ` Morgan Read

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DBBED3F.4040000@read.org.nz \
    --to=mstuff@read.org.nz \
    --cc=linux-media@vger.kernel.org \
    --cc=rongblor@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox