I’m having problems getting the workshop apps to run. I’m stuck on Lab07b_video_record. I can run the EVM demos successfully, but I have to change the video bootargs to get them to work.
I can get lab07a_osd_setup to run, but this requires a different video bootarg setting. Below are some video bootargs that I’ve tired and the output from the
Lab7b workshop.
;JH - this, puts up a green haze and doesn't work with EVM demos
; this will work with the workshop example lab07_osd_setup, does NOT work
; sendln 'setenv videocfg video=davincifb:osd0=720x480x16,1350K:osd1=720x480,1350K:vid0=720x480,2025K:vid1=720x480,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC'
;JH - this works for SWANN monitor - evm demos
; sendln 'setenv videocfg video=davincifb:vid0=0,2500K:vid1=0,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=ntsc'
;JH - this causes demos to not function correctly
; sendln 'setenv videocfg video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC'
;JH - not working for video_record workshop
;sendln 'setenv videocfg video=davincifb:osd0=720x480x16,1350K:osd1=720x480x16,1350K:vid0=720x480x16,2025K:vid1=720x480x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC'
;JH - this did not work either
;sendln 'setenv videocfg video=davincifb:osd0=720x480x16,2025K:osd1=720x480,2025K:vid0=0,2500K:vid1=0,2500K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC'
;JH - not working with workshop video record example, works with evm demos
sendln 'setenv videocfg video=davincifb:osd0=720x576x16,2025K:vid0=0,2500K:vid1=0,2500K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC'
root@192:/opt/workshop# ./app_DEBUG.x470MV
Debug: Initializing video capture device: /dev/video0
Debug: Video capture device opened with file descriptor: 4
Debug: Capturing 720x480 video
Debug: 3 capture buffers were successfully allocated.
Debug: Capture buffer 0, size 884736 mapped to address 0x4016a000
Debug: Capture buffer 1, size 884736 mapped to address 0x40242000
Debug: Capture buffer 2, size 884736 mapped to address 0x4031a000
Debug: Entering video_thread_fxn processing loop.
Error: fwrite failed to FILE ptr 0x13008
Debug: Exited video_thread_fxn processing loop
Debug: Starting video thread cleanup to return resources to system
Debug: Halted video capture stream on file descriptor 4
Debug: unmapped video capture frame, size 884736 located at 0x4016a000
Debug: unmapped video capture frame, size 884736 located at 0x40242000
Debug: unmapped video capture frame, size 884736 located at 0x4031a000
Debug: Closed video capture device (file descriptor 4)
Debug: Closing output file at FILE * 0x13008
Debug: Video thread cleanup complete. Exiting video_thread_fxn
Debug: Video thread exited with FAILURE status
root@192:/opt/workshop#