dvbcam: error witing TPDU (22): Invalid argument

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

dvbcam: error witing TPDU (22): Invalid argument

Bernhard D
Hi,

I have a Technotrend S2-3200 card with ci and a Smit Irdeto cam. Playing
unencrypted channels works but when I try to play an encrypted channel
and get the following error:

$ gst-launch-0.10 --gst-debug-level=1 dvbbasebin polarity="H"
frequency="12692000" symbol-rate="22000" program-numbers="130010" !
mpegtsdemux name=demux ! queue ! mpeg2dec ! xvimagesink demux. ! queue !
mad ! pulsesink

Setting pipeline to PAUSED ...
0:00:03.353526724  1213      0x1d106d0 ERROR                 dvbcam
camtransport.c:193:cam_tl_connection_write_tpdu: error witing TPDU (22):
Invalid argument
0:00:03.353630389  1213      0x1d106d0 ERROR                 dvbcam
camdevice.c:160:cam_device_open: couldn't connect to any slot
0:00:03.353731580  1213      0x1d106d0 ERROR             dvbbasebin
dvbbasebin.c:584:dvb_base_bin_init_cam:<dvbbasebin0> could not
open /dev/dvb/adapter0/ca0
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

According to the kernel log messages the cam should work:
kernel: dvb_ca adapter 0: DVB CAM detected and initialised successfully

How can I make it work with gstreamer?

regards,
Bernhard



Plugin Details:
  Name: dvb
  Description: DVB elements
  Filename: /usr/lib/gstreamer-0.10/libgstdvb.so
  Version: 0.10.23
  License: LGPL
  Source module: gst-plugins-bad
  Source release date: 2012-02-20
  Binary package: GStreamer Bad Plugins (Archlinux)
  Origin URL: http://www.archlinux.org/


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

Re: dvbcam: error witing TPDU (22): Invalid argument

Edward Hervey
Administrator
Hi,

  There is a known issue, by which the DVB device will take some time to
initialize (up to 5-10s). Until is it initialized, opening the
associated CA device will fail, so the initial CA ioctl will fail.

  I have a pending patch for this I should push.

    Edward

On Fri, 2012-07-06 at 23:04 +0200, Bernhard D wrote:

> Hi,
>
> I have a Technotrend S2-3200 card with ci and a Smit Irdeto cam. Playing
> unencrypted channels works but when I try to play an encrypted channel
> and get the following error:
>
> $ gst-launch-0.10 --gst-debug-level=1 dvbbasebin polarity="H"
> frequency="12692000" symbol-rate="22000" program-numbers="130010" !
> mpegtsdemux name=demux ! queue ! mpeg2dec ! xvimagesink demux. ! queue !
> mad ! pulsesink
>
> Setting pipeline to PAUSED ...
> 0:00:03.353526724  1213      0x1d106d0 ERROR                 dvbcam
> camtransport.c:193:cam_tl_connection_write_tpdu: error witing TPDU (22):
> Invalid argument
> 0:00:03.353630389  1213      0x1d106d0 ERROR                 dvbcam
> camdevice.c:160:cam_device_open: couldn't connect to any slot
> 0:00:03.353731580  1213      0x1d106d0 ERROR             dvbbasebin
> dvbbasebin.c:584:dvb_base_bin_init_cam:<dvbbasebin0> could not
> open /dev/dvb/adapter0/ca0
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
>
> According to the kernel log messages the cam should work:
> kernel: dvb_ca adapter 0: DVB CAM detected and initialised successfully
>
> How can I make it work with gstreamer?
>
> regards,
> Bernhard
>
>
>
> Plugin Details:
>   Name: dvb
>   Description: DVB elements
>   Filename: /usr/lib/gstreamer-0.10/libgstdvb.so
>   Version: 0.10.23
>   License: LGPL
>   Source module: gst-plugins-bad
>   Source release date: 2012-02-20
>   Binary package: GStreamer Bad Plugins (Archlinux)
>   Origin URL: http://www.archlinux.org/
>
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: dvbcam: error witing TPDU (22): Invalid argument

Bernhard D
Thanks for the info. I'll wait for the update and test again.

Bernhard

Am Samstag, den 07.07.2012, 09:26 +0200 schrieb Edward Hervey:

> Hi,
>
>   There is a known issue, by which the DVB device will take some time to
> initialize (up to 5-10s). Until is it initialized, opening the
> associated CA device will fail, so the initial CA ioctl will fail.
>
>   I have a pending patch for this I should push.
>
>     Edward
>
> On Fri, 2012-07-06 at 23:04 +0200, Bernhard D wrote:
> > Hi,
> >
> > I have a Technotrend S2-3200 card with ci and a Smit Irdeto cam. Playing
> > unencrypted channels works but when I try to play an encrypted channel
> > and get the following error:
> >
> > $ gst-launch-0.10 --gst-debug-level=1 dvbbasebin polarity="H"
> > frequency="12692000" symbol-rate="22000" program-numbers="130010" !
> > mpegtsdemux name=demux ! queue ! mpeg2dec ! xvimagesink demux. ! queue !
> > mad ! pulsesink
> >
> > Setting pipeline to PAUSED ...
> > 0:00:03.353526724  1213      0x1d106d0 ERROR                 dvbcam
> > camtransport.c:193:cam_tl_connection_write_tpdu: error witing TPDU (22):
> > Invalid argument
> > 0:00:03.353630389  1213      0x1d106d0 ERROR                 dvbcam
> > camdevice.c:160:cam_device_open: couldn't connect to any slot
> > 0:00:03.353731580  1213      0x1d106d0 ERROR             dvbbasebin
> > dvbbasebin.c:584:dvb_base_bin_init_cam:<dvbbasebin0> could not
> > open /dev/dvb/adapter0/ca0
> > Pipeline is live and does not need PREROLL ...
> > Setting pipeline to PLAYING ...
> > New clock: GstSystemClock
> >
> > According to the kernel log messages the cam should work:
> > kernel: dvb_ca adapter 0: DVB CAM detected and initialised successfully
> >
> > How can I make it work with gstreamer?
> >
> > regards,
> > Bernhard
> >
> >
> >
> > Plugin Details:
> >   Name: dvb
> >   Description: DVB elements
> >   Filename: /usr/lib/gstreamer-0.10/libgstdvb.so
> >   Version: 0.10.23
> >   License: LGPL
> >   Source module: gst-plugins-bad
> >   Source release date: 2012-02-20
> >   Binary package: GStreamer Bad Plugins (Archlinux)
> >   Origin URL: http://www.archlinux.org/
> >
> >
> > _______________________________________________
> > 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
>


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