Hi Guys -

Well after a very long session at the keyboard (fortunately for domestic
harmony, my wife is away on a business trip) I am pleased to report that
I can now once more capture MPG straight from IVTV into dvdauthor
without the need to remux.

Thanks to everyone for their help. I will post the details in a new
thread so that other users may have a better chance of finding them but
in summary:

        1) I used v4l2 stream_type 3 with 2 B-frames and closed GOPs but
        no additional NAV packets.  Using insert_navigation_packets=1
        causes dvdauthor to report 'SCR moves backwards' then segfault.
        
        2) I had to revert to my old version of dvdauthor (0.6.11) and
        apply the patches I previously developed to make it handle IVTV
        streams.  Thank heavens I'd taken a backup for once.

I'll post the dvdauthor patch and a HowTo on the IVTV website later
today; and I'll see if I can update the patch to make it work on the
current version of dvdauthor (0.6.14).

In the meantime here is my working config:

$ uname -srvp
        Linux 2.6.24.7-92.fc8 #1 SMP Wed May 7 16:50:09 EDT 2008 i686

# lspci -vv
        03:0b.0 Multimedia video controller: Internext Compression Inc
        iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
                Subsystem: Adaptec VideOh! AVC-2010
                Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+
        VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
                Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
        >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
                Latency: 64 (32000ns min, 2000ns max), Cache Line Size:
        16 bytes
                Interrupt: pin A routed to IRQ 16
                Region 0: Memory at e8000000 (32-bit, prefetchable)
        [size=64M]
                Capabilities: [44] Power Management version 2
                        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
        PME(D0-,D1-,D2-,D3hot-,D3cold-)
                        Status: D0 PME-Enable- DSel=0 DScale=0 PME-
                Kernel driver in use: ivtv
                Kernel modules: ivtv

$ dmesg
        <snip>
        Linux video capture interface: v2.00
        ivtv:  Start initialization, version 1.1.0
        ivtv0: Initializing card #0
        ivtv0: Autodetected Adaptec VideOh! AVC-2010 card (cx23416
        based)
        ACPI: PCI Interrupt 0000:03:0b.0[A] -> GSI 23 (level, low) ->
        IRQ 16
        saa7115 1-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c
        driver #0)
        cs53l32a 1-0011: chip found @ 0x22 (ivtv i2c driver #0)
        ivtv0: Registered device video0 for encoder MPG (4096 kB)
        ivtv0: Registered device video32 for encoder YUV (2048 kB)
        ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
        ivtv0: Registered device video24 for encoder PCM (320 kB)
        ivtv0: Initialized card #0: Adaptec VideOh! AVC-2010
        ivtv:  End initialization
        <snip>
        ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
        ivtv0: Encoder revision: 0x02060039
        <snip>

$ modinfo ivtv

filename:       
/lib/modules/2.6.24.7-92.fc8/kernel/drivers/media/video/ivtv/ivtv.ko
        version:        1.1.0
        license:        GPL
        description:    CX23415/CX23416 driver
        author:         Kevin Thayer, Chris Kennedy, Hans Verkuil
        srcversion:     D6CC38A86F1DF58DD1BA944
        <snip>
        
$ lsmod |grep ivtv
        ivtv                  120577  0 
        i2c_algo_bit            9029  1 ivtv
        cx2341x                14149  1 ivtv
        tveeprom               17489  1 ivtv
        videodev               27713  1 ivtv
        v4l2_common            18497  5
        cs53l32a,saa7115,ivtv,cx2341x,videodev
        v4l1_compat            15813  2 ivtv,videodev
        i2c_core               21057  6
        cs53l32a,saa7115,ivtv,i2c_algo_bit,tveeprom,i2c_i801

$ v4l2-ctl --log-status
   ivtv0: =================  START STATUS CARD #0  =================
   ivtv0: Version: 1.1.0 Card: Adaptec VideOh! AVC-2010
   saa7115 1-0021: Audio frequency: 48000 Hz
   saa7115 1-0021: Input:           Composite 3
   saa7115 1-0021: Video signal:    broadcast/DVD
   saa7115 1-0021: Frequency:       50 Hz
   saa7115 1-0021: Detected format: PAL
   saa7115 1-0021: Width, Height:   720, 576
   cs53l32a 1-0011: Input:  2
   cs53l32a 1-0011: Volume: 0 dB
   ivtv0: Video Input:  Composite 1
   ivtv0: Audio Input:  Line In 1
   ivtv0: Tuner:  TV
   ivtv0: Stream: MPEG-2 DVD-compatible Stream
   ivtv0: VBI Format: No VBI
   ivtv0: Video:  720x576, 25 fps
   ivtv0: Video:  MPEG-2, 16x9, Variable Bitrate, 2750000, Peak 5000000
   ivtv0: Video:  GOP Size 15, 2 B-Frames, GOP Closure
   ivtv0: Audio:  48 kHz, Layer II, 256 kbps, Stereo, No Emphasis, No
CRC
   ivtv0: Spatial Filter:  Manual, Luma 1D Horizontal, Chroma 1D
Horizontal, 0
   ivtv0: Temporal Filter: Manual, 8
   ivtv0: Median Filter:   Off, Luma [0, 255], Chroma [0, 255]
   ivtv0: Status flags:    0x00200000
   ivtv0: Stream encoder MPG: status 0x0000, 0% of 4096 KiB (128
buffers) in use
   ivtv0: Stream encoder YUV: status 0x0000, 0% of 2056 KiB (195
buffers) in use
   ivtv0: Stream encoder VBI: status 0x0000, 0% of 1040 KiB (61 buffers)
in use
   ivtv0: Stream encoder PCM: status 0x0000, 0% of 324 KiB (72 buffers)
in use
   ivtv0: Read MPG/VBI: 10360768/0 bytes
   ivtv0: ==================  END STATUS CARD #0  ==================



Kind regards,
MARTIN


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to