LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Dazzle DVD Recorder (https://www.linuxquestions.org/questions/linux-hardware-18/dazzle-dvd-recorder-497596/)

dlanor78 11-01-2006 12:17 PM

Dazzle DVD Recorder
 
Does anyone know if the Dazzle dvd recorder can be made to work in linux? I primarily use (k)ubuntu.

dlanor78 11-05-2006 02:46 AM

usbview in linux calls the dazzle a dvc100. Anyone have any ideas now?

bernd 02-02-2007 12:36 AM

DVC100 is running...
 
Quote:

Originally Posted by dlanor78
usbview in linux calls the dazzle a dvc100. Anyone have any ideas now?

I have read a lot about, but found not the complete Solution but if have had Sucess:

Read in different Forums:

module em28xx should support DVC100 ( Card Type 41 ) but module does not recognize Card.

Solution !!! But a Hack !!! -> I have modified the Sources from the em88xx and changed the ID - String
of the Entry in /usr/src/linux/drivers/video/em88xx.cards from 0x2304, 0x0207 to 0x2304, 0x021a.

-> recompile the Kernel

With this mod the Module starts the DVC100 ( thinking it is an DVC90 ).

- Tested a bit -> xawtv4 works, v4l2-ctrl too, Mencoder also
Kaffeine/Xine/VLC NOT ( for now )

I have recorded some Stuff for Tests ( on console with mencoder ) - all ok.

Audio seems to work, not tested for now

Switching of Inputs works to ( comp/svideo )

I will inform the Programmers of the Module, it should be no Problem to integrate this Stuff.

Greeting from Lübeck ( Germany )

Bernd

bernd 02-03-2007 12:33 PM

More Info
 
> Audio seems to work, not tested for now

becasuse of that my Camera hasn´t got a Audio Output i tested Audio now with
added Signal:

after a lot of testing i found out how to tell mencoder to use the dvc100 Audioinput
for recording, automatic selection does not work in this environment.

following: Syntax for mencoder to record 10 secs from the Dazzle, the adevice /dev/dsp2 is set to the Dazzle Audioinput - Audiocard #2 ( first Terratec ( #0 ), second onboard (#1)

edit this for your hardware...

sudo nice --10 mencoder tv:// -v -tv driver=v4l2:width=720:height=576:input=0:device=/dev/video0:audiorate=44100:immediatemode=0:outfmt=yv12:forceaudio:adevice=/dev/dsp2 -o outfile.avi -ovc lavc -lavcopts vcodec=mjpeg:aspect=4/3 -aspect 4:3 -noautoexpand -oac pcm -endpos 00:00:10

following the Hack of the em28xx-cards.c source ( ( modified ) Part of the source )


[EM2820_BOARD_PINNACLE_DVC_90] = {
.name = "Pinnacle Dazzle DVC 100",
.vchannels = 3,
.norm = VIDEO_MODE_PAL,
.has_tuner = 0,
.decoder = EM28XX_SAA7113,
.input = {{
.type = EM28XX_VMUX_COMPOSITE1,
.vmux = SAA7115_COMPOSITE0,
.amux = 1,
},{
.type = EM28XX_VMUX_SVIDEO,
.vmux = SAA7115_SVIDEO3,
.amux = 1,
}},
},
};
const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);

/* table of devices that work with this driver */
struct usb_device_id em28xx_id_table [] = {
{ USB_DEVICE(0xeb1a, 0x2800), .driver_info = EM2800_BOARD_UNKNOWN },
{ USB_DEVICE(0xeb1a, 0x2820), .driver_info = EM2820_BOARD_MSI_VOX_USB_2 },
{ USB_DEVICE(0x0ccd, 0x0036), .driver_info = EM2820_BOARD_TERRATEC_CINERGY_250 },
{ USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 },
{ USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 },
{ USB_DEVICE(0x2304, 0x021a), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 },
{ },
};

I hope this could help someone.


also tested: TVTime is a nice Programm to view, how to set this for the right Audioinput
is work in Progress... .



Greeting from Lübeck ( Germany )

Bernd[/QUOTE]

dlanor78 02-07-2007 11:39 PM

This is exciting news bernd. Please keep us updated on any progress you make in the future :)

ronas 02-10-2007 01:22 PM

Hello!

I am new here and I am thinking of purchasing the Dazzle DVD Recorder..
From what I understand, I need to hack the em28xx source to make it recognize the Dazzle:

Quote:

.../drivers/video/em88xx.cards
-> Look for "0x2304, 0x0207" replace with "0x2304, 0x021a"
And to make the sound to work, I need to append this to the em88xx-cards source:
Quote:

[EM2820_BOARD_PINNACLE_DVC_90] = {
.name = "Pinnacle Dazzle DVC 100",
.vchannels = 3,
.norm = VIDEO_MODE_PAL,
.has_tuner = 0,
.decoder = EM28XX_SAA7113,
.input = {{
.type = EM28XX_VMUX_COMPOSITE1,
.vmux = SAA7115_COMPOSITE0,
.amux = 1,
},{
.type = EM28XX_VMUX_SVIDEO,
.vmux = SAA7115_SVIDEO3,
.amux = 1,
}},
},
};
const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);

/* table of devices that work with this driver */
struct usb_device_id em28xx_id_table [] = {
{ USB_DEVICE(0xeb1a, 0x2800), .driver_info = EM2800_BOARD_UNKNOWN },
{ USB_DEVICE(0xeb1a, 0x2820), .driver_info = EM2820_BOARD_MSI_VOX_USB_2 },
{ USB_DEVICE(0x0ccd, 0x0036), .driver_info = EM2820_BOARD_TERRATEC_CINERGY_250 },
{ USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 },
{ USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 },
{ USB_DEVICE(0x2304, 0x021a), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 },
{ },
};
Is this correct?
Thanks in advance!

bernd 02-10-2007 02:54 PM

>
Quote:

Originally Posted by ronas
Hello!
>
>I am new here and I am thinking of purchasing the Dazzle DVD Recorder..
>From what I understand, I need to hack the em28xx source to make it recognize the Dazzle:

Yes !

>
>
>And to make the sound to work, I need to append this to the em88xx-cards source:

This Part is not correct - the other Stuff in my Text is Part of the em88xx source,
i have appended this only for show you the right Position of the Modifikation.

>
>Is this correct?
>Thanks in advance!

You only have to replace the id 0x0207 to 0x021a in the source of the em88xx !
( And recompile... )


Audio will work too after this, you only have to set the Audiodevice correctly, if
you start tvtime for example, you will have the problem that tvtime finds the Dazzle
as an v4l2 device, but the Soundinput of the Dazzle will not be the Input for tvtime.
- As read on the Homepage of tvtime: you could set a pipeline for this.
( If you would set the Audiocard for tvtime to the Dazzle you will not get any Output ;-)
because the Dazzle does not have any AudioOutput ... )

The Programmer should insert the Support for different Soundcards for Input and Output.

But: There is not need for this in Videorecording with mencoder - only use/vary
the Bashfile - shown in an older Mail from me.

I have recorded Hours of my old Videos - without any Problems ( only the limits of
my Harddisk ... )


Best Regards Bernd Stuht

ronas 02-11-2007 03:25 PM

Thank you for the reply!
I think I didn't understand this right.. I know how to build the kernel so no problems there, but I don't know how my em88xx sources should look like..

If it isn't much asked: Can you please post your em88xx-cards.c file?
Thanks!

bernd 02-12-2007 11:43 AM

You really only have to replace the id String with your favorite Editor from 0x0207 to 0x021a !

Example with MC:

open em28xx-cards.c with MC, press F7 for searching, search for 0x0207, replace this with 0x021a
Press F2 for save and recompile ...

after reboot with new Kernel and new module, the System is thinking that the DVC100 is an DVC90.

Shorter Version: if Kernel Source/.config is the same then running Kernel an make / make_modules
should build all, copying of the new em28xx.ko to lib/modules/kernel(and_so_on) replaces the
Module by Hand, if the running Kernel accept this...
You would not have to install the complete Kernel, and could try the Module without reboot.

No Warrenty for all this !

But all should work... .

If i send you my em28xx-cards.c Problems with different Versions could appear.

And i would need your E-mail... .

Regards Bernd

ronas 02-13-2007 08:12 AM

Ok thanks anyway :tisk:

bernd 02-14-2007 02:57 PM

I Don´t like such style... if this all is too "difficult":

Wait for the new Kernel releases, the Dazzle DVC100 will be supported by
default in the next Future.

Also there is a Way to assign pci-ids for the Kernelmoduleassignments.
I read about it, but haven´t had Time to test it.

... Problem solved - sign and clear ;-)

Bernd

ronas 02-15-2007 02:27 PM

Quote:

Originally Posted by bernd
I Don´t like such style... if this all is too "difficult"

Is it much asked to be n00b-friendly as you might say?
And from what kernel versions are you speaking? I'm using 2.6.20, should I wait for 2.6.21 or what?:scratch:

dlanor78 09-08-2007 05:43 AM

I know this is an old thread now, but I finally got around to recompiling the kernel and now have video working great (in tvtime at least...xawtv just crashes on me).

Now I was hoping someone could post some examples of how to use mencoder to record from the dazzle with sound working. I keep messing up when trying it so it seems I need a place to start please.

When I say messing up I mean I can't get the sound to work at all. I've tried /dev/dsp2 for the adevice but I keep getting no audio. I've also /dev/dsp0-5 with no luck. I guess it could be higher than that but I found it unlikely. Has anyone else been able to get this to work with audio?

Also, from the example earlier I see that the output is in .avi format. Is it possible to have it output to mpeg2 dvd ready format?

iOuZo 09-18-2007 05:11 PM

thanks bernd
 
that hack worked great. i can see video in tvtime :) i did not check audio!
thanks

bernd 09-19-2007 12:15 AM

Ok - old Thread but still active :)
 
Audio works too on my System - used all for longer Time.

Attached script used with memencoder - edit for your special Needings.
Take a look on Your Devices - i have got 2 Soundcards - and the Dazzle, so /dev/dsp2
is the Audio Input from the Dazzle on my System - this could differ.

It Produces large Files, you should compress it in a second pass.

Greetings - Bernd

#!/bin/bash

sudo nice --10 mencoder tv:// -v -tv driver=v4l2:width=720:height=576:input=0:device=/dev/video0:audiorate=44100:immediatemode=0:outfmt=rgb24:forceaudio:adevice=/dev/dsp2 -o outfile.avi -noskip -noslices -ovc lavc -lavcopts vcodec=mjpeg:aspect=4/3 -aspect 4:3 -noautoexpand -oac pcm -endpos 00:00:10


All times are GMT -5. The time now is 09:52 PM.