[FFmpeg-trac] #7976(avformat:new): ffplay mpd file segfaults in refresh_manifest()
FFmpeg
trac at avcodec.org
Tue Jul 2 20:42:09 EEST 2019
#7976: ffplay mpd file segfaults in refresh_manifest()
-------------------------------------+-------------------------------------
Reporter: clem | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: dash crash | Blocked By:
SIGSEGV |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by clem):
Replying to [comment:2 stevenliu]:
> Hi can you leave the mpd link here, let me test it.
Sorry, I don't have a public source, I was just re-muxing a rtsp stream
generated with ffmpeg.
The crash is related to the window expiration. With the rtsp source using
90 frame gops, the segfault happened after ~48s, which is the window size
(3*16=48). Reducing the gop size to 60 frames, it would crash after 30s.
Here is the ffmpeg command to generate the mpd:
{{{
ffmpeg \
-nostats -hide_banner \
-buffer_size 1572864 \
-i rtsp://192.168.100.100/video1 \
-probesize 32 \
-c:v copy \
-an \
-copyts \
-fflags nobuffer \
-flags +global_header+low_delay \
-seg_duration 0.5 \
-window_size 16 \
-extra_window_size 2 \
-use_template 0 \
-use_timeline 0 \
-init_seg_name 'live-init-stream$RepresentationID$.m4s' \
-media_seg_name
'live-$RepresentationID$-$Number%06d$-$Time%09d$.m4s' \
-hls_playlist 1 \
-streaming 1 \
-dash_segment_type mp4 \
-f dash test.mpd
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7976#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list