[FFmpeg-trac] #5041(undetermined:closed): ffmpeg hangs up during analyzing flv stream

FFmpeg trac at avcodec.org
Fri Nov 27 11:18:47 CET 2015


#5041: ffmpeg hangs up during analyzing flv stream
-------------------------------------+-------------------------------------
             Reporter:  maxvgi       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  http flv     |               Resolution:
             Blocking:               |  worksforme
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by maxvgi):

 Replying to [comment:4 cehoyos]:
 > Command line and complete, uncut console output missing.

 They were in the first message of the ticket, the situation did not change
 in any way.

 {{{
 $ ffmpeg -i http://admin:123890@91.202.204.9:89/h264.flv -v 9 -loglevel 99
 -probesize 1000 -analyzeduration 1 -vcodec copy -an 1.mp4
 ffmpeg version N-76851-ga330430 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (Debian 4.7.2-5)
   configuration: --enable-gpl --enable-libmp3lame --enable-libtheora
 --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc
 --enable-version3 --enable-pic --enable-libvpx --enable-libfdk-aac
 --extra-cflags='-I/usr/ffmpeg-2015-11-26/include -fPIC' --extra-
 ldflags=-I/usr/ffmpeg-2015-11-26/lib --prefix=/usr/ffmpeg-2015-11-26
   libavutil      55.  9.100 / 55.  9.100
   libavcodec     57. 16.100 / 57. 16.100
   libavformat    57. 19.100 / 57. 19.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 15.100 /  6. 15.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-i' ... matched as input file with argument
 'http://admin:123890@91.202.204.9:89/h264.flv'.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-probesize' ... matched as AVOption 'probesize' with
 argument '1000'.
 Reading option '-analyzeduration' ... matched as AVOption
 'analyzeduration' with argument '1'.
 Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
 ('copy' to copy stream)) with argument 'copy'.
 Reading option '-an' ... matched as option 'an' (disable audio) with
 argument '1'.
 Reading option '1.mp4' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input file
 http://admin:123890@91.202.204.9:89/h264.flv.
 Successfully parsed a group of options.
 Opening an input file: http://admin:123890@91.202.204.9:89/h264.flv.
 [http @ 0x282adc0] request: GET /h264.flv HTTP/1.1
 User-Agent: Lavf/57.19.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: 91.202.204.9:89
 Icy-MetaData: 1


 [http @ 0x282adc0] header='HTTP/1.0 401 Authorization Required'
 [http @ 0x282adc0] http_code=401
 [http @ 0x282adc0] header='Server: alphapd'
 [http @ 0x282adc0] header='Date: Fri Nov 27 13:17:13 2015'
 [http @ 0x282adc0] header='Pragma: no-cache'
 [http @ 0x282adc0] header='Cache-Control: no-cache'
 [http @ 0x282adc0] header='Content-type: text/html'
 [http @ 0x282adc0] header='WWW-Authenticate: Basic realm="DCS-931L"'
 [http @ 0x282adc0] header=''
 [http @ 0x282adc0] request: GET /h264.flv HTTP/1.1
 User-Agent: Lavf/57.19.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: 91.202.204.9:89
 Icy-MetaData: 1
 Authorization: Basic YWRtaW46MTIzODkw


 [http @ 0x282adc0] header='HTTP/1.0 200 OK'
 [http @ 0x282adc0] http_code=200
 [http @ 0x282adc0] header='Server: alphapd'
 [http @ 0x282adc0] header='Date: Fri Nov 27 13:17:13 2015'
 [http @ 0x282adc0] header='Pragma: no-cache'
 [http @ 0x282adc0] header='Cache-Control: no-cache'
 [http @ 0x282adc0] header='Content-type: video/x-flv'
 [http @ 0x282adc0] header=''
 Probing aac score:1 size:2048
 Probing flv score:100 size:2048
 Probing mp3 score:1 size:2048
 [flv @ 0x282a480] Format flv probed with size=2048 and score=100
 [flv @ 0x282a480] Before avformat_find_stream_info() pos: 13 bytes
 read:2575 seeks:0
 [flv @ 0x282a480] type:18, size:268, last:-1, dts:0 pos:21
 [flv @ 0x282a480] type:9, size:39, last:-1, dts:0 pos:304
 [flv @ 0x282a480] 0 17 0
 [flv @ 0x282a480] type:9, size:11157, last:-1, dts:0 pos:358
 [flv @ 0x282a480] 0 17 0
 [flv @ 0x282a480] type:9, size:725, last:-1, dts:33 pos:11530
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1029, last:-1, dts:66 pos:12270
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1013, last:-1, dts:100 pos:13314
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1045, last:-1, dts:133 pos:14342
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1125, last:-1, dts:166 pos:15402
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1109, last:-1, dts:200 pos:16542
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1157, last:-1, dts:233 pos:17666
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1141, last:-1, dts:266 pos:18838
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1157, last:-1, dts:300 pos:19994
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:11093, last:-1, dts:333 pos:21166
 [flv @ 0x282a480] 0 17 0
 [flv @ 0x282a480] type:9, size:853, last:-1, dts:366 pos:32274
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1061, last:-1, dts:400 pos:33142
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:997, last:-1, dts:433 pos:34218
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1077, last:-1, dts:466 pos:35230
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1141, last:-1, dts:500 pos:36322
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1077, last:-1, dts:533 pos:37478
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1157, last:-1, dts:566 pos:38570
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1157, last:-1, dts:600 pos:39742
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1189, last:-1, dts:633 pos:40914
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:11221, last:-1, dts:666 pos:42118
 [flv @ 0x282a480] 0 17 0
 [flv @ 0x282a480] type:9, size:965, last:-1, dts:700 pos:53354
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:997, last:-1, dts:733 pos:54334
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1045, last:-1, dts:766 pos:55346
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1125, last:-1, dts:800 pos:56406
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1077, last:-1, dts:833 pos:57546
 [flv @ 0x282a480] 0 27 0
 [flv @ 0x282a480] type:9, size:1109, last:-1, dts:866 pos:58638
 [flv @ 0x282a480] 0 27 0
 ...
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5041#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list