Opened 7 years ago

Closed 7 years ago

#6589 closed defect (needs_more_info)

Ffmpeg hangs

Reported by: robocide Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
Ffmpeg hangs on execution
How to reproduce:

ffmpeg -i "https://s3-430-videomaster-or-2.s3-us-west-2.amazonaws.com/warehouse/archive/btvuk130813ml_stansted3.mov?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20170815T121100Z&X-Amz-SignedHeaders=host&X-Amz-Expires=172799&X-Amz-Credential=AKIAIUKI73MF3K7ZGE4A%2F20170815%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=5f333a7e2794503791b2d69d6770cd7d3872100581663ca53d34ac486e5b73b1" -c:v copy -c:a aac -b:a 192k -strict -2 testi.mp4

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (4)

comment:1 by llogan, 7 years ago

Resolution: worksforme
Status: newclosed

I don't experience any hanging:

./ffmpeg -i "https://s3-430-videomaster-or-2.s3-us-west-2.amazonaws.com/warehouse/archive/btvuk130813ml_stansted3.mov?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20170815T121100Z&X-Amz-SignedHeaders=host&X-Amz-Expires=172799&X-Amz-Credential=AKIAIUKI73MF3K7ZGE4A%2F20170815%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=5f333a7e2794503791b2d69d6770cd7d3872100581663ca53d34ac486e5b73b1" -c:v copy -c:a aac -b:a 192k -strict -2 testi.mp4
ffmpeg version N-86988-g92793c4544 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.1 (GCC) 20170630
  configuration: --enable-openssl
  libavutil      55. 74.100 / 55. 74.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 99.100 /  6. 99.100
  libswscale      4.  7.102 /  4.  7.102
  libswresample   2.  8.100 /  2.  8.100
[https @ 0x555e29866de0] HTTP error 416 Requested Range Not Satisfiable
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://s3-430-videomaster-or-2.s3-us-west-2.amazonaws.com/warehouse/archive/btvuk130813ml_stansted3.mov?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20170815T121100Z&X-Amz-SignedHeaders=host&X-Amz-Expires=172799&X-Amz-Credential=AKIAIUKI73MF3K7ZGE4A%2F20170815%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=5f333a7e2794503791b2d69d6770cd7d3872100581663ca53d34ac486e5b73b1':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2013-08-13T17:13:08.000000Z
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute: 
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.6.6 (1790) 0x7668000 (Mac OS X, 10.6.8, 10K549)
  Duration: 00:00:40.44, start: 0.000000, bitrate: 10303 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 10180 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2013-08-13T17:13:08.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : H.264
      timecode        : 00:01:48:10
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 104 kb/s (default)
    Metadata:
      creation_time   : 2013-08-13T17:13:09.000000Z
      handler_name    : Apple Alias Data Handler
      timecode        : 00:01:48:10
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2013-08-13T17:14:20.000000Z
      handler_name    : Apple Alias Data Handler
      timecode        : 00:01:48:10
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, mp4, to 'testi.mp4':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    com.apple.quicktime.version: 7.6.6 (1790) 0x7668000 (Mac OS X, 10.6.8, 10K549)
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute: 
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    encoder         : Lavf57.76.100
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 10180 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2013-08-13T17:13:08.000000Z
      handler_name    : Apple Alias Data Handler
      encoder         : H.264
      timecode        : 00:01:48:10
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      creation_time   : 2013-08-13T17:13:09.000000Z
      handler_name    : Apple Alias Data Handler
      timecode        : 00:01:48:10
      encoder         : Lavc57.102.100 aac
frame=   27 fps=0.0 q=-1.0 size=       0kB time=00:00:01.04 bitrate=   0.4kbits/frame=   28 fps= 20 q=-1.0 size=       0kB time=00:00:01.08 bitrate=   0.4kbits/frame=   29 fps= 15 q=-1.0 size=       0kB time=00:00:01.12 bitrate=   0.4kbits/frame=   30 fps= 12 q=-1.0 size=       0kB time=00:00:01.16 bitrate=   0.4kbits/frame=   31 fps=9.7 q=-1.0 size=       0kB time=00:00:01.20 bitrate=   0.3kbits/frame=   32 fps=8.5 q=-1.0 size=     256kB time=00:00:01.24 bitrate=1691.5kbits/frame=   34 fps=7.7 q=-1.0 size=     256kB time=00:00:01.32 bitrate=1589.0kbits/frame=   34 fps=6.7 q=-1.0 size=     256kB time=00:00:01.32 bitrate=1589.0kbits/frame=   35 fps=6.2 q=-1.0 size=     256kB time=00:00:01.36 bitrate=1542.2kbits/frame=   36 fps=5.6 q=-1.0 size=     256kB time=00:00:01.40 bitrate=1498.2kbits/frame=   37 fps=5.3 q=-1.0 size=     256kB time=00:00:01.44 bitrate=1456.6kbits/frame=   38 fps=5.0 q=-1.0 size=     512kB time=00:00:01.48 bitrate=2834.1kbits/frame=   39 fps=4.7 q=-1.0 size=     512kB time=00:00:01.52 bitrate=2759.5kbits/frame=   40 fps=4.6 q=-1.0 size=     512kB time=00:00:01.56 bitrate=2688.8kbits/frame=   41 fps=4.4 q=-1.0 size=     512kB time=00:00:01.60 bitrate=2621.6kbits/frame=   42 fps=4.3 q=-1.0 size=     512kB time=00:00:01.64 bitrate=2557.6kbits/frame=   43 fps=4.1 q=-1.0 size=     512kB time=00:00:01.68 bitrate=2496.7kbits/frame=   44 fps=4.0 q=-1.0 size=     768kB time=00:00:01.72 bitrate=3657.9kbits/frame=   45 fps=3.9 q=-1.0 size=     768kB time=00:00:01.76 bitrate=3574.8kbits/frame=   46 fps=3.8 q=-1.0 size=     768kB time=00:00:01.80 bitrate=3495.3kbits/frame=   47 fps=3.6 q=-1.0 size=     768kB time=00:00:01.84 bitrate=3419.4kbits/frame=   48 fps=3.5 q=-1.0 size=     768kB time=00:00:01.88 bitrate=3346.6kbits/frame=   50 fps=3.5 q=-1.0 size=     768kB time=00:00:01.96 bitrate=3210.0kbits/
video:2209kB audio:22kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.110066%
[aac @ 0x555e298b0820] Qavg: 28052.344

If you still experience problems you need to provide the complete console output and to use a recent ffmpeg derived from the current git master branch. See the FFmpeg Download page for links to recent-ish binaries for Linux, macOS, and Windows if you are unable to compile your own (but I'm unsure if any are compiled to provide support for HTTPS protocol).

comment:2 by robocide, 7 years ago

ffmpeg-20170811-5859b5b-win64-static\ffmpeg-20170811-5859b5b-win64-static\bin\ffmpeg.exe -i "https://s3-430-videomaster-or-2.s3-us-west-2.amazonaws.com/warehouse/archive/btvuk130813ml_stansted3.mov?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20170815T121100Z&X-Amz-SignedHeaders=host&X-Amz-Expires=172799&X-Amz-Credential=AKIAIUKI73MF3K7ZGE4A%2F20170815%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=5f333a7e2794503791b2d69d6770cd7d3872100581663ca53d34ac486e5b73b1" -c:v copy -c:a aac -b:a 192k -strict -2 testi.mp4
ffmpeg version N-86977-g5859b5b Copyright (c) 2000-2017 the FFmpeg developers

built with gcc 7.1.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 73.100 / 55. 73.100
libavcodec 57.102.100 / 57.102.100
libavformat 57. 76.100 / 57. 76.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 98.100 / 6. 98.100
libswscale 4. 7.102 / 4. 7.102
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100

[https @ 0000000000613a40] HTTP error 416 Requested Range Not Satisfiable
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://s3-430-videomaster-or-2.s3-us-west-2.amazonaws.com/warehouse/archive/btvuk130813ml_stansted3.mov?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20170815T121100Z&X-Amz-SignedHeaders=host&X-Amz-Expires=172799&X-Amz-Credential=AKIAIUKI73MF3K7ZGE4A%2F20170815%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Signature=5f333a7e2794503791b2d69d6770cd7d3872100581663ca53d34ac486e5b73b1':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2013-08-13T17:13:08.000000Z
com.apple.quicktime.player.movie.audio.gain: 1.000000
com.apple.quicktime.player.movie.audio.treble: 0.000000
com.apple.quicktime.player.movie.audio.bass: 0.000000
com.apple.quicktime.player.movie.audio.balance: 0.000000
com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
com.apple.quicktime.player.movie.audio.mute:
com.apple.quicktime.player.movie.visual.brightness: 0.000000
com.apple.quicktime.player.movie.visual.color: 1.000000
com.apple.quicktime.player.movie.visual.tint: 0.000000
com.apple.quicktime.player.movie.visual.contrast: 1.000000
com.apple.quicktime.player.version: 7.6.6 (7.6.6)
com.apple.quicktime.version: 7.6.6 (1790) 0x7668000 (Mac OS X, 10.6.8, 10K549)

Duration: 00:00:40.44, start: 0.000000, bitrate: 10303 kb/s

Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 10180 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
Metadata:

creation_time : 2013-08-13T17:13:08.000000Z
handler_name : Apple Alias Data Handler
encoder : H.264
timecode : 00:01:48:10

Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 104 kb/s (default)
Metadata:

creation_time : 2013-08-13T17:13:09.000000Z
handler_name : Apple Alias Data Handler
timecode : 00:01:48:10

Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:

creation_time : 2013-08-13T17:14:20.000000Z
handler_name : Apple Alias Data Handler
timecode : 00:01:48:10

File 'testi.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac (native) -> aac (native))

Press [q] to stop, ? for help
Output #0, mp4, to 'testi.mp4':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
com.apple.quicktime.version: 7.6.6 (1790) 0x7668000 (Mac OS X, 10.6.8, 10K549)
com.apple.quicktime.player.movie.audio.gain: 1.000000
com.apple.quicktime.player.movie.audio.treble: 0.000000
com.apple.quicktime.player.movie.audio.bass: 0.000000
com.apple.quicktime.player.movie.audio.balance: 0.000000
com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
com.apple.quicktime.player.movie.audio.mute:
com.apple.quicktime.player.movie.visual.brightness: 0.000000
com.apple.quicktime.player.movie.visual.color: 1.000000
com.apple.quicktime.player.movie.visual.tint: 0.000000
com.apple.quicktime.player.movie.visual.contrast: 1.000000
com.apple.quicktime.player.version: 7.6.6 (7.6.6)
encoder : Lavf57.76.100
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 10180 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
Metadata:

creation_time : 2013-08-13T17:13:08.000000Z
handler_name : Apple Alias Data Handler
encoder : H.264
timecode : 00:01:48:10

Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:

creation_time : 2013-08-13T17:13:09.000000Z
handler_name : Apple Alias Data Handler
timecode : 00:01:48:10
encoder : Lavc57.102.100 aac

frame= 55 fps=0.5 q=-1.0 size= 1024kB time=00:00:02.16 bitrate=3883.7kbits/s speed=0.0195x

it stucks on this line......
I'm using the latest static build from the website.....

comment:3 by robocide, 7 years ago

Resolution: worksforme
Status: closedreopened

comment:4 by Carl Eugen Hoyos, 7 years ago

Resolution: needs_more_info
Status: reopenedclosed

The stream is 404 here...

Note: See TracTickets for help on using tickets.