Opened 7 years ago
#5949 new enhancement
aviocat does not work for hls streams
| Reported by: | Carl Eugen Hoyos | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | undetermined |
| Version: | git-master | Keywords: | hls |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
I believe there is currently no way to dump the transport stream(s) of a hls stream using FFmpeg.
$ ffmpeg -f lavfi -i testsrc=d=100 -vcodec mpeg1video out.m3u8
The following only dumps the playlist to the output file:
$ aviocat out.m3u8 out
Dumping streams with -f data is currently broken but it also used to only dump the playlist:
$ ffmpeg -f data -i out.m3u8 -map 0 -f data -codec copy out
ffmpeg version n3.0-4-geb46065 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, data, from 'out.m3u8':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Data: none
Output #0, data, to 'out':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Data: none
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Note:
See TracTickets
for help on using tickets.


