Advertisement
Guest User

ffmpeg on openwrt

a guest
Apr 7th, 2012
1,111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. With mjpg-streamer running - proves that video is occupied (which proves the next one is reading video?):
  2.  
  3. root@OpenWrt:/# ffmpeg -f video4linux2 -i /dev/video0 /tmp/video.avi
  4. ffmpeg version 0.8.7, Copyright (c) 2000-2011 the FFmpeg developers
  5. built on Apr 6 2012 12:10:35 with gcc 4.6.3 20120201 (prerelease)
  6. configuration: --enable-cross-compile --cross-prefix=mips-openwrt-linux-uclibc- --arch=mips --target-os=linux --prefix=/usr --enable-shared --enable-static --disable-debug --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-asm --disable-doc --disable-dxva2 --enable-pthreads --disable-optimizations --enable-small --disable-stripping --enable-zlib
  7. libavutil 51. 9. 1 / 51. 9. 1
  8. libavcodec 53. 8. 0 / 53. 8. 0
  9. libavformat 53. 5. 0 / 53. 5. 0
  10. libavdevice 53. 1. 1 / 53. 1. 1
  11. libavfilter 2. 23. 0 / 2. 23. 0
  12. libswscale 2. 0. 0 / 2. 0. 0
  13. libpostproc 51. 2. 0 / 51. 2. 0
  14. [video4linux2 @ 0xb8f410] ioctl(VIDIOC_REQBUFS)
  15. /dev/video0: Input/output error
  16.  
  17.  
  18.  
  19. Without mjpg-streamer running:
  20. root@OpenWrt:/# ffmpeg -f video4linux2 -i /dev/video0 /tmp/video.avi
  21. ffmpeg version 0.8.7, Copyright (c) 2000-2011 the FFmpeg developers
  22. built on Apr 6 2012 12:10:35 with gcc 4.6.3 20120201 (prerelease)
  23. configuration: --enable-cross-compile --cross-prefix=mips-openwrt-linux-uclibc- --arch=mips --target-os=linux --prefix=/usr --enable-shared --enable-static --disable-debug --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-asm --disable-doc --disable-dxva2 --enable-pthreads --disable-optimizations --enable-small --disable-stripping --enable-zlib
  24. libavutil 51. 9. 1 / 51. 9. 1
  25. libavcodec 53. 8. 0 / 53. 8. 0
  26. libavformat 53. 5. 0 / 53. 5. 0
  27. libavdevice 53. 1. 1 / 53. 1. 1
  28. libavfilter 2. 23. 0 / 2. 23. 0
  29. libswscale 2. 0. 0 / 2. 0. 0
  30. libpostproc 51. 2. 0 / 51. 2. 0
  31. ^C
  32. root@OpenWrt:/# ls /tmp
  33. TZ log overlay run
  34. dhcp.leases luci-indexcache pipe state
  35. etc luci-modulecache resolv.conf
  36. lock luci-sessions resolv.conf.auto
  37. root@OpenWrt:/#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement