Opened 11 years ago

Closed 11 years ago

#2318 closed defect (fixed)

No still image in hls stream

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: avformat
Version: git-master Keywords: hls aac mjpeg regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Since 6bcbe76, the hls stream from ticket #1733 does not show the still image anymore, related to ticket #1730.

$ ffmpeg -i http://qthttp.apple.com.edgesuite.net/c123pibhargjknawdconwecown/0064/prog_index.m3u8 out.png
ffmpeg version N-50433-g547042a Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  2 2013 13:00:37 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 17.103 / 52. 17.103
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.102 / 54. 63.102
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 41.100 /  3. 41.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Format aac detected only with low score of 25, misdetection possible!
[aac @ 0x29ba6a0] max_analyze_duration 5000000 reached at 5015510 microseconds
[aac @ 0x29ba6a0] Estimating duration from bitrate, this may be inaccurate
Input #0, hls,applehttp, from 'http://qthttp.apple.com.edgesuite.net/c123pibhargjknawdconwecown/0064/prog_index.m3u8':
  Duration: 01:25:32.00, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 4 kb/s
Output #0, image2, to 'out.png':
Output file #0 does not contain any stream
$ ffmpeg -i http://qthttp.apple.com.edgesuite.net/c123pibhargjknawdconwecown/0064/prog_index.m3u8 -vframes 1 out.png
ffmpeg version N-44734-gdde8068 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  2 2013 13:04:04 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 58.100 / 54. 58.100
  libavformat    54. 28.101 / 54. 28.101
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Format aac detected only with low score of 25, misdetection possible!
[aac @ 0x19964c0] max_analyze_duration 5000000 reached at 5015510
[aac @ 0x19964c0] Estimating duration from bitrate, this may be inaccurate
[hls,applehttp @ 0x198b240] max_analyze_duration 5000000 reached at 7281778
Input #0, hls,applehttp, from 'http://qthttp.apple.com.edgesuite.net/c123pibhargjknawdconwecown/0064/prog_index.m3u8':
  Duration: 01:25:32.00, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Audio: aac, 44100 Hz, stereo, s16, 4 kb/s
    Stream #0:1: Video: mjpeg, yuvj420p, 480x320 [SAR 100:100 DAR 3:2], 90k tbr, 90k tbn, 90k tbc
[image2 @ 0x1dc2580] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
Output #0, image2, to 'out.png':
  Metadata:
    encoder         : Lavf54.28.101
    Stream #0:0: Video: png, rgb24, 480x320 [SAR 1:1 DAR 3:2], q=2-31, 200 kb/s, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:1 -> #0:0 (mjpeg -> png)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
video:34kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000%

Change History (1)

comment:1 by Michael Niedermayer, 11 years ago

Reproduced by developer: set
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.