Advertisement
Guest User

Untitled

a guest
Jan 14th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. pi@raspberrypi:~ $ gdb --args ffmpeg_g -v debug -max_streams 1 -f v4l2 -list_formats all -i /dev/video0
  2. GNU gdb (Raspbian 7.7.1+dfsg-5+rpi1) 7.7.1
  3. Copyright (C) 2014 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "arm-linux-gnueabihf".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14. For help, type "help".
  15. Type "apropos word" to search for commands related to "word"...
  16. Reading symbols from ffmpeg_g...done.
  17. (gdb) run
  18. Starting program: /home/pi/bin/ffmpeg_g -v debug -max_streams 1 -f v4l2 -list_formats all -i /dev/video0
  19. [Thread debugging using libthread_db enabled]
  20. Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
  21. ffmpeg version N-83027-g0ddc24d Copyright (c) 2000-2017 the FFmpeg developers
  22. built with gcc 5.2.0 (crosstool-NG crosstool-ng-1.22.0)
  23. configuration: --enable-cross-compile --cross-prefix=/opt/cross/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- --arch=armel --target-os=linux --prefix=/home/redacted/workspace/arm
  24. libavutil 55. 43.100 / 55. 43.100
  25. libavcodec 57. 71.100 / 57. 71.100
  26. libavformat 57. 62.100 / 57. 62.100
  27. libavdevice 57. 2.100 / 57. 2.100
  28. libavfilter 6. 68.100 / 6. 68.100
  29. libswscale 4. 3.101 / 4. 3.101
  30. libswresample 2. 4.100 / 2. 4.100
  31. Splitting the commandline.
  32. Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
  33. Reading option '-max_streams' ... matched as AVOption 'max_streams' with argument '1'.
  34. Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
  35. Reading option '-list_formats' ... matched as AVOption 'list_formats' with argument 'all'.
  36. Reading option '-i' ... matched as input url with argument '/dev/video0'.
  37. Finished splitting the commandline.
  38. Parsing a group of options: global .
  39. Applying option v (set logging level) with argument debug.
  40. Successfully parsed a group of options.
  41. Parsing a group of options: input url /dev/video0.
  42. Applying option f (force format) with argument v4l2.
  43. Successfully parsed a group of options.
  44. Opening an input file: /dev/video0.
  45. [NULL @ 0x1761d60] Value 0.000000 for parameter 'flags' is not a valid set of 32bit integer flags
  46. num: 1.000000
  47. intnum: 0
  48. den: 1
  49.  
  50. Program received signal SIGSEGV, Segmentation fault.
  51. __frexp (x=4503599627370497, eptr=0x0) at ../sysdeps/ieee754/dbl-64/s_frexp.c:39
  52. 39 ../sysdeps/ieee754/dbl-64/s_frexp.c: No such file or directory.
  53. (gdb) bt
  54. #0 __frexp (x=4503599627370497, eptr=0x0) at ../sysdeps/ieee754/dbl-64/s_frexp.c:39
  55. #1 0x00bb3728 in av_d2q (d=<optimized out>, max=max@entry=2147483647) at libavutil/rational.c:115
  56. #2 0x00bac0f0 in av_opt_set_defaults2 (s=s@entry=0x1761d60, mask=0, flags=0)
  57. at libavutil/opt.c:1334
  58. #3 0x00604214 in init_context_defaults (s=s@entry=0x1761d60, codec=codec@entry=0x0)
  59. at libavcodec/options.c:111
  60. #4 0x00604444 in avcodec_alloc_context3 (codec=codec@entry=0x0) at libavcodec/options.c:163
  61. #5 0x0030dac4 in avformat_new_stream (s=s@entry=0x17611d0, c=c@entry=0x0)
  62. at libavformat/utils.c:4242
  63. #6 0x000ada4c in v4l2_read_header (ctx=0x17611d0) at libavdevice/v4l2.c:827
  64. #7 0x0030d0e0 in avformat_open_input (ps=ps@entry=0xbeffee84,
  65. filename=filename@entry=0xefd688 <received_nb_signals> "",
  66. fmt=fmt@entry=0xedd8a0 <ff_v4l2_demuxer>, options=0x1761094) at libavformat/utils.c:594
  67. #8 0x00097c6c in open_input_file (o=o@entry=0xbeffef80, filename=<optimized out>)
  68. at ffmpeg_opt.c:999
  69. #9 0x00099720 in open_files (l=0xc, l=0xc, open_file=0x967dc <open_input_file>,
  70. inout=0xc69498 "input") at ffmpeg_opt.c:3222
  71. #10 ffmpeg_parse_options (argc=argc@entry=11, argv=argv@entry=0xbefff754) at ffmpeg_opt.c:3262
  72. #11 0x000894b8 in main (argc=11, argv=0xbefff754) at ffmpeg.c:4553
  73. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement