Beagle Board Mencoder

I am interfacing beagle board with em28xx USB video device. I cross compiled the Mencoder forARM Beagle board. While capturing i am getting below error.

[root@beagleboard mmc]# ./mencoder2 tv:// -tv device=/dev/video0:input=1:norm=PA
L-60:width=320: height=240 -vf pp=md -o Recording -ovc lavc -lavcopts vcodec=mjp
eg
MEncoder 1.0pre7try2-4.2.0 © 2000-2005 MPlayer Team
CPU: ARM
File not found: ‘frameno.avi’
Failed to open frameno.avi
success: format: 9 data: 0x0 - 0x0
TV detected! :wink:
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come :wink:
Selected device: PointNix Intra-Oral Camera
Capabilites: video capture audio read/write streaming
supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = NTSC-4
43; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 11 = PAL-
N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM; 15 = SECAM-B; 16 = SECAM-G; 17 = SECAM-
H; 18 = SECAM-DK; 19 = SECAM-L; 20 = SECAM-Lc;
inputs: 0 = S-Video;
Current input: 0
Current format: YUYV
audio block size too low, setting to 16384!
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl enum input failed: Invalid argument
Selected input hasn’t got a tuner!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = cf8b4000
[00000000] *pgd=8f913031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.29-omap1 #68)
PC is at dma_cache_maint+0x4c/0xdc
LR is at usb_hcd_submit_urb+0x178/0x8a0
pc : [] lr : [] psr: 20000013
sp : cf851b90 ip : cf851bb0 fp : cf851bac
r10: 00000000 r9 : 00000014 r8 : 00000020
r7 : 00000020 r6 : 0000e240 r5 : cf8c6c00 r4 : ffc45000
r3 : 00000000 r2 : 00000002 r1 : 0000e240 r0 : ffc45000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 8f8b4019 DAC: 00000015
Process mencoder2 (pid: 582, stack limit = 0xcf8502e0)
Stack: (0xcf851b90 to 0xcf852000)
1b80: c022c3b4 ffc45000 cf8c6c00 ced8b200
1ba0: cf851c64 cf851bb0 c022b7b8 c0031128 00000000 c044b058 cf851bdc cf851bc8
1bc0: c0068b50 c0068b18 00000000 cf90c460 cf851c0c cf851be0 c03214dc c004dd54
1be0: c005a010 ffff7eaf cf851c10 c0455170 00000005 0000e240 00000014 ffff7eaf
1c00: cf851c44 cf851c10 c0321748 c0059f20 00000000 00200200 ffff7eaf c005a4dc
1c20: cf90c460 c04949a0 00000001 00000001 00000001 cf95a000 cf851c54 cee88400
1c40: 00000001 ffffffee 00000020 0000e240 00000014 cf95a614 cf851c84 cf851c68
1c60: c022c37c c022b64c 00000000 cecdfc00 cf95a000 00000005 cf851cbc cf851c88
1c80: c01e3c38 c022c148 c0322168 00000028 cf9748a0 cf95a000 cf9748a0 00000000
1ca0: cee890ec cf8b8400 c033ae34 cf851e38 cf851ce4 cf851cc0 c01df260 c01e39dc
1cc0: c01dfad8 cf851e38 c04a1cc0 cf9748a0 cee890ec cf851e38 cf851d0c cf851ce8
1ce0: c01ecb78 c01df18c 00000000 cee890e0 cf851e38 00000000 cee8a0e0 cf8b8400
1d00: cf851d24 cf851d10 c01dedc4 c01ec8b8 c01ded94 00000000 cf851e2c cf851d28
1d20: c01d0448 c01deda0 c0080738 00000000 00000010 c0688e40 00000000 cf850000
1d40: d08c3fff 00000000 cf87be00 cf8b5010 cf8b5010 cece7060 c044560f cee8a0e0
1d60: c04a1cc4 cee890e0 cf851d94 cf851d78 c008dc90 c00806a8 cf8b5010 40402000
1d80: 00000000 cece7060 cf851dbc cf851d98 c008eb90 c008dc74 cf851dbc c0688e20
1da0: cece7060 cecf69c0 4044c000 0000038f cf851dec cf851dc0 c008ece8 c0094cb4
1dc0: cee890ec cece70a0 cf851e04 d08c4000 00001000 cecf69c0 4044d000 00000000
1de0: cf851dfc cf851df0 c008ee24 c008ec54 cf851e24 cf851e00 c00965a0 c008edd0
1e00: c009777c c044560f 00000000 00000000 cee8a0e0 006831b0 cf851e38 00000000
1e20: cf851ee4 cf851e30 c01d2934 c01cf204 00000003 00000000 00000000 00000001
1e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1e60: 00000000 00000000 00000001 00000000 0004b000 00000000 00000000 cece7060
1e80: cf851ea4 cf851e90 c0091a14 c008ae80 00000000 cecf69c0 cf851ec4 cf851ea8
1ea0: c0092934 c0091980 cecf2b38 cf851eb8 00000000 cecf69c0 cf851f34 c044560f
1ec0: 006831b0 00000003 cee8a0e0 006831b0 cf850000 00000000 cf851ef4 cf851ee8
1ee0: c01cecc0 c01d273c cf851f0c cf851ef8 c00abe50 c01cec78 cee8a0e0 006831b0
1f00: cf851f7c cf851f10 c00ac354 c00abdf4 cee8a0e0 40402000 00000007 cece7060
1f20: 00000000 0004b000 cf851f74 cf851f38 c009356c c0092e30 000000ff cf850000
1f40: 40402000 cee8a0e0 00000000 00000003 cf850000 00000003 006831b0 c044560f
1f60: cee8a0e0 c002bf08 cf850000 00000000 cf851fa4 cf851f80 c00ac3d8 c00abe98
1f80: 00000003 00000000 006831b0 00000001 00000001 00000036 00000000 cf851fa8
1fa0: c002bd60 c00ac3a4 006831b0 00000001 00000003 c044560f 006831b0 00000001
1fc0: 006831b0 00000001 00000001 00000036 006818c0 00680698 00000001 3fb7c6f8
1fe0: 00000000 becac5e0 000b4e50 004995bc 00000010 00000003 00000000 00000000
Backtrace:
[] (dma_cache_maint+0x0/0xdc) from [] (usb_hcd_submit_urb+0x
178/0x8a0)
r6:ced8b200 r5:cf8c6c00 r4:ffc45000
[] (usb_hcd_submit_urb+0x0/0x8a0) from [] (usb_submit_urb+0x
240/0x25c)
[] (usb_submit_urb+0x0/0x25c) from [] (em28xx_init_isoc+0x26
8/0x2dc)
r7:00000005 r6:cf95a000 r5:cecdfc00 r4:00000000
[] (em28xx_init_isoc+0x0/0x2dc) from [] (buffer_prepare+0xe0
/0xfc)
[] (buffer_prepare+0x0/0xfc) from [] (videobuf_qbuf+0x2cc/0x
3e0)
r7:cf851e38 r6:cee890ec r5:cf9748a0 r4:c04a1cc0
[] (videobuf_qbuf+0x0/0x3e0) from [] (vidioc_qbuf+0x30/0x34)

r8:cf8b8400 r7:cee8a0e0 r6:00000000 r5:cf851e38 r4:cee890e0
[] (vidioc_qbuf+0x0/0x34) from [] (__video_do_ioctl+0x1250/0
x3538)
r5:00000000 r4:c01ded94
[] (__video_do_ioctl+0x0/0x3538) from [] (video_ioctl2+0x204
/0x330)
[] (video_ioctl2+0x0/0x330) from [] (v4l2_ioctl+0x54/0x5c)
[] (v4l2_ioctl+0x0/0x5c) from [] (vfs_ioctl+0x68/0x78)
[] (vfs_ioctl+0x0/0x78) from [] (do_vfs_ioctl+0x4c8/0x50c)
r5:006831b0 r4:cee8a0e0
[] (do_vfs_ioctl+0x0/0x50c) from [] (sys_ioctl+0x40/0x64)
[] (sys_ioctl+0x0/0x64) from [] (ret_fast_syscall+0x0/0x2c)
r7:00000036 r6:00000001 r5:00000001 r4:006831b0
Code: 9a000001 e1500003 3a000018 e3a03000 (e5833000)
—[ end trace 967c88438c3f4fb8 ]—

with regards,
saminath

saminath sanjai wrote:

I am interfacing beagle board with em28xx USB video device. I cross compiled the Mencoder forARM Beagle board. While
capturing i am getting below error.

[root@beagleboard mmc]# ./mencoder2 tv:// -tv device=/dev/video0:input=1:norm=PA
L-60:width=320: height=240 -vf pp=md -o Recording -ovc lavc -lavcopts vcodec=mjp

Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = cf8b4000
[00000000] *pgd=8f913031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.29-omap1 #68)
PC is at dma_cache_maint+0x4c/0xdc
LR is at usb_hcd_submit_urb+0x178/0x8a0

wow, nice one.

I would suggest you test your camera input 1st with a small v4l2 test app,
e.g. http://v4l2spec.bytesex.org/spec/capture-example.html

once that works, move on to mencoder

After adding

Mail
Contacts
Tasks
Compose mail
Inbox (13406)
Buzz
Important
Sent Mail
Drafts (7)
Spam (218)
camera_project

Interview

IP_Camera

Linux (45)

mangai

medical_electronics (2)

medical_proj

Pay_Slip_Experience

personal (1)

temps

VHDL_Venki

5 more ▼
Inbox Type
Classic
Important first
Unread first
Starred first
Priority Inbox
Try them all, keep what fits
Try out all of the new inbox styles to see what fits you best. You can
always switch back if you change your mind.

Try the tabs again
Starred
Chats
All Mail
Trash
Projects

Manage labels
Create new label
Collapse
Chat
Options
saminath sanjai

Invisible
  Status menu
You are invisible.
Go visible
Call phone Call phone
Available Mangai Saminath Invited
  ♫
Available (video enabled) vijay Invited
  ♫
Busy Arockia kumar Raju Invited
  ♫
Busy hari balan Invited
  ♫
Idle venkatesan kanagarajan Invited
  ♫
Offline Akarakaviyarasan Emayavaramban Invited
  ♫
Offline Ammu Sharmi Invited
  ♫
Offline arjun rath Invited
  ♫
Offline ASHISH GUPTA Invited
  ♫
Offline Bharathi Array Consultants Invited
  ♫
Offline Cynthia Invited
  ♫
Offline Deepa Kaliyaperumal Invited
  ♫
Offline deepa kamath Invited
  ♫
Offline Deva R Invited
  ♫
Offline Ganapathi Subramaniyam Invited
  ♫
Offline Ganesh T Invited
  ♫
Offline Hema chandiran Lakshmi Narayanan Invited
  ♫
Offline Jayakumar_Embedded JK Invited
  ♫
Offline KamalRaj Krishnan Invited
  ♫
Offline kavitha selvam Invited
  ♫
Offline kgpradeepraja@gmail.com Invited
  ♫
Offline kishore choudhari Invited
  ♫
Offline Lohith B salunke Invited
  ♫
Offline M Somesha Invited
  ♫
Offline mangai s Invited
  ♫
Offline murlidreams@gmail.com Invited
  ♫
Offline Nachiappan Invited
  ♫
Offline nitin vishnoi Invited
  ♫
Offline ntkalyan nithi Invited
  ♫
Offline pavan bhatt Invited
  ♫
Offline praba karan Invited
  ♫
Offline pradesh Invited
  ♫
Offline rahulan52005 Invited
  ♫
Offline RAJ KUMAR Invited
  ♫
Offline Ramachandra Nayak Invited
  ♫
Offline Ravi SS Invited
  ♫
Offline S Kumar Invited
  ♫
Offline Satheesh Kumar Arjunan Invited
  ♫
Offline saurabh gulati Invited
  ♫
Offline selva kumar Invited
  ♫
Offline selvaraj arumugam Invited
  ♫
Offline Somesh Invited
  ♫
Offline srinivasan ramaswamy Invited
  ♫
Offline sriram-n Invited
  ♫
Offline sudagar karur Invited
  ♫
Offline Sujith K V Invited
  ♫
Offline sundares80@gmail.com Invited
  ♫
Offline sunil krishnan Invited
  ♫
Offline Sunilkumar Panchal Invited
  ♫
Offline Udhaya Kumar Invited
  ♫
Offline vaidyanathan sivakumar Invited
  ♫
Offline veeraiyan chidambaram Invited
  ♫
Offline venkata samba Invited
  ♫
Offline venkatesh chilapur Invited
  ♫
Offline Vinay V Invited
  ♫
Offline vishnuvaradan vishnuvaradan Invited
  ♫
Offline wesley A Invited
  ♫
Offline Yeojin Hur Invited
  ♫
Offline இராம்குமார் முகவை Invited
  ♫
  deepakarokiarajs Invited
  ♫
  mangai.p16 Invited
  ♫
  vijay_mukilan Invited
  ♫
Expand
Invite a friend
Give Gmail to:
Send Invite 95 left
Preview Invite

<
About these ads
Python hacker? - www.slideshare.net - Join the team at SlideShare
Hottest web startup in Delhi!

Archive
Spam
Delete

Move to Inbox
Labels

More

All
None
Read
Unread
Starred
Unstarred
1 - 20 of hundreds

Search results for:beagle groups

Fernandes, Joel A

Inbox

[beagleboard] BeagleBoard demo image - Release r0‎ - … to the Google
Groups "Beagle Board" group. To post to this group, send email to …
     8:03 pm

Hans Troemel

Inbox

[beagleboard] Recommended Microphone‎ - … to the Google Groups "Beagle
Board" group. To post to this group, send email to …
     5:35 pm

Hans Troemel

Inbox

[beagleboard] Recomended USB WiFi adapter‎ - … to the Google Groups
"Beagle Board" group. To post to this group, send email to …
     5:35 pm

Juan Manuel Pérez Rúa

Inbox

[beagleboard] Startup script freezes Beagleboard‎ - … to the Google
Groups "Beagle Board" group. To post to this group, send email to …
     2:55 pm

Jason, Denys (2)

Inbox

[beagleboard] FAQ: Where is the defconfig for the BeagleBoard?‎ - … to
the Google Groups "Beagle Board" group. To post to this group, send
email to …
     2:01 pm

Ray, Marco, Vladimir (3)

Inbox

[beagleboard] messy code when input on serial port‎ - … to the Google
Groups "Beagle Board" group. To post to this group, send email to …
     1:28 pm

Jason Kridner

Inbox

[beagleboard] Re: Realtime Android‎ - … to the Google Groups "Beagle
Board" group. To post to this group, send email to …
     8:26 am

Mark, Gary (4)

Inbox

[beagleboard] Boot Rev C2 first time‎ - … to the Google Groups "Beagle
Board" group. To post to this group, send email to …
     7:35 am

Sanjay .. Dave, Mark (10)

Inbox

[beagleboard] Controlling lighting in a room using Beagle Board‎ - …
to the Google Groups "Beagle Board" group. To post to this group, send
email to …
     5:09 am

poke, Robert, poke (4)

Inbox

[beagleboard] Add l2tp_eth & l2tp_netlink to kernel‎ - … to the Google
Groups "Beagle Board" group. To post to this group, send email to …
     5:02 am

Mustafa, ahmet, Geforce (3)

Inbox

[beagleboard] Beagleboard doesn't show up welcome screen at the first
boot‎ - … to the Google Groups >> "Beagle Board" group. >> To post to
this group …
     5:02 am

tbezierslafosse@cameo. (2)

Inbox

[beagleboard] Re: Beagle Board and Innolux TFT LCD: 7.0", 800x480
(Innolux AT070TN92)‎ - … to the Google Groups "Beagle Board" group. To
post to this group, send email to …
     2:55 am

ulusoyab, mark, Vladimir (3)

Inbox

[beagleboard] Parallel port‎ - … to the Google Groups "Beagle Board"
group. To post to this group, send email to …
     Aug 28

Imifos .. Vladimir, mark (7)

Inbox

[beagleboard] Looking for external I/O and data acquisition device for
BB's RS232/seria...‎ - … to the Google Groups "Beagle Board" group. To
post to this group, send email to …
     Aug 28

Prashant, Buğra, Gary (9)

Inbox

[beagleboard] error while doing bitbake nano‎ - … to the Google Groups
"Beagle Board" group. To post to this group, send email to …
     Aug 28

Adi, Gerald (2)

Inbox

[beagleboard] Re: ethernet / usb disconnects on xM Rev C‎ - … to the
Google Groups "Beagle Board" group. To post to this group, send email
to …
     Aug 28

sanchayan .. sanchayan (4)

Inbox

Re: [beagleboard] Beagleboard xM on Windows7 with Ubuntu in VM‎ - … to
the Google Groups "Beagle Board" group. To post to this group, send
email to …
     Aug 28

alex.mobigo (2)

Inbox

[beagleboard] Connecting a 4x3 keypad to a BeagleBoard‎ - … to the
Google Groups "Beagle Board" group. To post to this group, send email
to …
     Aug 27

John, Gerald (2)

Inbox

[beagleboard] More than just ADCIN6 on Beagle xM?‎ - … to the Google
Groups "Beagle Board" group. To post to this group, send email to …
     Aug 27

charlie, Marco, Juha (3)

Inbox

[beagleboard] ubuntu-11.04-preinstalled-netbook-armel+omap.img‎ - … to
the Google Groups "Beagle Board" group. > To post to this group, send
email to …
     Aug 26
     Deleted messages match your search. View them or go to Trash to
delete forever.

Archive
Spam
Delete

Move to Inbox
Labels

More

All
None
Read
Unread
Starred
Unstarred
1 - 20 of hundreds

Archive
Spam
Delete

Move to Inbox
Labels

More

All
None
Read
Unread
Starred
Unstarred
21 - 40 of hundreds

Search results for:beagle groups

Juha, Robert (3)

Inbox

[beagleboard] Compiling LIRC on Ubuntu‎ - … to the Google Groups
"Beagle Board" group. To view this discussion on the web visit …
     Aug 26

Jan, Paul, Alan (3)

Inbox

[beagleboard] New how-to on BeagleBoard hidapi USB host application‎ -
… to the Google Groups "Beagle Board" group. To post to this group,
send email to …
  Attachment Aug 26

Joel .. Mark, Amit, Wil (11)

Inbox

Re: [beagleboard] BeagleBoard XM Rev C - do any pre-built images
work?‎ - … to the Google Groups "Beagle Board" group. To post to this
group, send email to …
     Aug 26

Joel, Jason (2)

Inbox

Re: [beagleboard] BeagleBoard Demo Image‎ - … to the Google Groups
"Beagle Board" group. To post to this group, send email to …
     Aug 26

Björn .. Nikolaus (3)

Inbox

[beagleboard] "Mixed" mode SPI‎ - … to the Google Groups "Beagle
Board" group. To post to this group, send email to …
     Aug 26

mtrethowan

Inbox

[beagleboard] Keyboard Issue, Beagle xM detects board, but not
excepting key strokes‎ - … to the Google Groups "Beagle Board" group.
To post to this group, send email to …
     Aug 26

Ryan .. Ryan, Marco (5)

Inbox

[beagleboard] Kernel Panic‎ - … to the Google Groups "Beagle Board"
group. > To post to this group, send email to …
     Aug 26

Ryan, Robert, Marco (3)

Inbox

[beagleboard] Install Ubuntu Issue‎ - … to the Google Groups "Beagle
Board" group. To post to this group, send email to …
     Aug 26

Esaias, Jason (4)

Inbox

[beagleboard] USB DMA on Beagleboard xM (DM37x)‎ - … to the Google
Groups "Beagle Board" group. To post to this group, send email to …
     Aug 26

Clayton Shotwell

Inbox

[beagleboard] Re: Add driver for Aptina Micron mt9p031 sensor.‎ - … to
the Google Groups "Beagle Board" group. To post to this group, send
email to …
     Aug 26

Harford, Nikolaus (4)

Inbox

[beagleboard] Power up for the First time‎ - … to the Google Groups
"Beagle Board" group. To post to this group, send email to …
     Aug 24

vinod

Inbox

[beagleboard] Re: Need information regarding beagle speech scrambler‎
- … to the Google Groups "Beagle Board" group. To post to this group,
send email to …
     Aug 24

Jaya Kumar

Inbox

[beagleboard] Re: Beagleboard Toys Wlan Adapter (LS240) and Devkit‎ -
… to the Google Groups "Beagle Board" group. To post to this group,
send email to …
     Aug 24

Victor, Alfonso (2)

Inbox

[beagleboard] Re: USB to Serial Problem.‎ - … to the Google Groups > >

"Beagle Board" group. > > > To post to …

     Aug 23

daniele

Inbox

[beagleboard] Serial port configure on beagleboard‎ - … to the Google
Groups "Beagle Board" group. To post to this group, send email to …
     Aug 23

dv, Rao, ahmet (5)

Inbox

[beagleboard] BeagleboardToys wifi‎ - … to the Google Groups "Beagle
Board" group. To post to this group, send email to …
  Attachment Aug 23

Buğra, Sriharsha (3)

Inbox

[beagleboard] Where is Angstrom settings and linux kernel version in
OE?‎ - … to the Google Groups "Beagle Board" group. To post to this
group, send email to …
     Aug 23

bob.hibberd. .. Robert (5)

Inbox

[beagleboard] Troulble Flashing u-boot onto old Beagleboard‎ - … to
the Google Groups "Beagle Board" group. To post to this group, send
email to …
     Aug 23

Koen, Jason (2)

Inbox

Re: [beagleboard] [PATCH] meta-ti: linux: fix ulcd lite power enable‎
- … to the Google Groups "Beagle Board" group. To post to this group,
send email to …
     Aug 22

Mark, Marco, Koen (3)

Inbox

[beagleboard] DMAI for processing audio‎ - … to the Google Groups
"Beagle Board" group. To view this discussion on the web visit …
     Aug 22
     Deleted messages match your search. View them or go to Trash to
delete forever.

Archive
Spam
Delete

Move to Inbox
Labels

More

All
None
Read
Unread
Starred
Unstarred
21 - 40 of hundreds

Archive
Spam
Delete

Move to Inbox
Labels

More

All
None
Read
Unread
Starred
Unstarred
1 - 50 of 833