Opened 4 years ago

Last modified 4 years ago

#1456 new defect

video will not stream

Reported by: elliott Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: christopher.paolini@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

I am trying to stream a short video in raw format from a server at San Diego State University. However, I am getting a segmentation fault when I run the command line that I have printed out below. This problem occurred while running the most recent release of ffmpeg.

How to reproduce:

The command line used was:

ffmpeg/ffmpeg -r 15 -s 320x240 -f rawvideo -i pipe: http://marconi.sdsu.edu:809\
0/feed1.ffm < testvideo_1000f.raw

Below is the console print out using the -v 9 -loglevel 99 flags and also with gdb running:

53 [volta]/home/student/elliott> ffmpeg/ffmpeg -v 9 -loglevel 99 -r 15 -s 320x240 -f rawvideo -i pipe: http://marconi.sdsu.edu:8090/feed1.ffm < testvideo_1000f.raw
ffmpeg version N-41632-g2b1fc56 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 15 2012 16:41:47 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
  configuration: 
  libavutil      51. 58.100 / 51. 58.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 80.100 /  2. 80.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[rawvideo @ 0x1c4d2340] File position before avformat_find_stream_info() is 0
[rawvideo @ 0x1c4d2340] All info found
[rawvideo @ 0x1c4d2340] Estimating duration from bitrate, this may be inaccurate
[rawvideo @ 0x1c4d2340] File position after avformat_find_stream_info() is 115200
Input #0, rawvideo, from 'pipe:':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0, 1, 1/15: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240, 1/15, 15 tbr, 15 tbn, 15 tbc
[ffm @ 0x1c4dc7a0] Format ffm probed with size=2048 and score=101
Segmentation fault
54 [volta]/home/student/elliott> gdb ffmpeg/ffmpeg_g
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-37.el5_7.1)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/student/elliott/ffmpeg/ffmpeg_g...done.
(gdb) run -r 15 -s 320x240 -f rawvideo -i pipe: http://marconi.sdsu.edu:8090/feed1.ffm < testvideo_1000f.raw
Starting program: /home/student/elliott/ffmpeg/ffmpeg_g -r 15 -s 320x240 -f rawvideo -i pipe: http://marconi.sdsu.edu:8090/feed1.ffm < testvideo_1000f.raw
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x2aaaaaaab000
[Thread debugging using libthread_db enabled]
ffmpeg version N-41632-g2b1fc56 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 15 2012 16:41:47 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
  configuration: 
  libavutil      51. 58.100 / 51. 58.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 80.100 /  2. 80.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
[rawvideo @ 0x13fa340] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'pipe:':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240, 15 tbr, 15 tbn, 15 tbc

Program received signal SIGSEGV, Segmentation fault.
0x000000000040c519 in read_ffserver_streams (optctx=0x7fffffffc8a0, 
    filename=0x7fffffffd091 "http://marconi.sdsu.edu:8090/feed1.ffm")
    at ffmpeg.c:4874
4874	        ost   = new_output_stream(o, s, codec->type, -1);
(gdb) quit

Change History (1)

comment:1 Changed 4 years ago by elliott

It looks like the problem is occurring in the ffmpeg.c file at line 4874. What concerns me is that the duration and bit rate of the video are being displayed as N/A.

Note: See TracTickets for help on using tickets.