[FFmpeg-user] How to tell ‘[ffmpeg/demuxer] dash’that a video clip is not avail. for the time being ?

su su_cj81 at 163.com
Fri Oct 4 17:51:52 EEST 2019


I tried mpv with a mpd file which contain the following segments : 
init.mp4 , wo_keyframe_1.m4s , wo_keyframe_2.m4s , wo_keyframe_3.m4s , ... , wo_keyframe_30.m4s .
These video clips are  in fragmented MP4 format and each of them lasts for 15 seconds.


The mpv sends requests for these video clips in a short time. As long as my media server responses quickly , mpv plays these video clips smoothly.


 However , I donot want to strain the media server with so many requests in a rush . So I program the server to send a 'http-429' response with a Retry-After header when mpv asks for   wo_keyframe_3.m4s .
Unfortunately , the underlying components does not understand what it means . The following is an excerpt from mpv log file : 
...
[   0.703][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_2.m4s', offset 0, playlist 0
[   0.703][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_2.m4s' for reading
[   0.704][v][vd] Decoder format: 800x480 [0:1] yuv420p auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000)
[   0.704][v][vf] Video filter chain:
[   0.704][v][vf]   [in] 800x480 yuv420p bt.601/bt.601-525/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.704][v][vf]   [out] 800x480 yuv420p bt.601/bt.601-525/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.705][i][cplayer] VO: [x11] 800x480 yuv420p
[   0.705][v][cplayer] VO: Description: X11 (slow, old crap)
[   0.719][v][ffmpeg/video] h264: Reinit context to 800x480, pix_fmt: yuv420p
[   0.728][e][ffmpeg/video] h264: co located POCs unavailable
[   0.739][e][ffmpeg/video] h264: mmco: unref short failure
[   0.748][v][vo/x11] Window size: 800x480
[   0.748][v][vo/x11] Video source: 800x480 (1:1)
[   0.748][v][vo/x11] Video display: (0, 0) 800x480 -> (0, 0) 800x480
[   0.748][v][vo/x11] Video scale: 1.000000/1.000000
[   0.748][v][vo/x11] OSD borders: l=0 t=0 r=0 b=0
[   0.748][v][vo/x11] Video borders: l=0 t=0 r=0 b=0
[   0.759][v][ffmpeg] SwScaler: reducing / aligning filtersize 1 -> 8
[   0.759][v][ffmpeg] SwScaler: reducing / aligning filtersize 2 -> 8
[   0.760][v][ffmpeg] SwScaler: reducing / aligning filtersize 1 -> 2
[   0.760][v][ffmpeg] SwScaler: reducing / aligning filtersize 2 -> 2
[   0.760][v][ffmpeg] swscaler: fast bilinear scaler, from yuv420p to bgra using C
[   0.760][v][ffmpeg] swscaler: 800x480 -> 800x480
[   0.760][w][ffmpeg] swscaler: No accelerated colorspace conversion found from yuv420p to bgra.
[   0.760][v][ffmpeg] swscaler: using unscaled yuv420p -> bgra special converter
[   0.778][w][ffmpeg/demuxer] dash: DTS 333540 < 384000 out of order
[   0.786][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_3.m4s', offset 0, playlist 0
[   0.786][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_3.m4s' for reading
[   0.787][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.788][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.788][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_4.m4s', offset 0, playlist 0
[   0.788][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_4.m4s' for reading
[   0.788][v][vo/x11] Window size: 800x480
[   0.788][v][vo/x11] Video source: 800x480 (1:1)
[   0.788][v][vo/x11] Video display: (0, 0) 800x480 -> (0, 0) 800x480
[   0.788][v][vo/x11] Video scale: 1.000000/1.000000
[   0.788][v][vo/x11] OSD borders: l=0 t=0 r=0 b=0
[   0.788][v][vo/x11] Video borders: l=0 t=0 r=0 b=0
[   0.788][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.788][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.788][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_5.m4s', offset 0, playlist 0
[   0.788][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_5.m4s' for reading
[   0.789][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.789][v][ffmpeg] SwScaler: reducing / aligning filtersize 1 -> 8
[   0.789][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.789][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_6.m4s', offset 0, playlist 0
[   0.789][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_6.m4s' for reading
[   0.790][v][ffmpeg] SwScaler: reducing / aligning filtersize 2 -> 8
[   0.790][v][ffmpeg] SwScaler: reducing / aligning filtersize 1 -> 2
[   0.790][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.790][v][ffmpeg] SwScaler: reducing / aligning filtersize 2 -> 2
[   0.790][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.790][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_7.m4s', offset 0, playlist 0
[   0.790][v][ffmpeg] swscaler: fast bilinear scaler, from yuv420p to bgra using C
[   0.790][v][ffmpeg] swscaler: 800x480 -> 800x480
[   0.790][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_7.m4s' for reading
[   0.790][w][ffmpeg] swscaler: No accelerated colorspace conversion found from yuv420p to bgra.
[   0.791][v][ffmpeg] swscaler: using unscaled yuv420p -> bgra special converter
[   0.791][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.791][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.791][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_8.m4s', offset 0, playlist 0
[   0.791][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_8.m4s' for reading
[   0.792][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.792][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.792][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_9.m4s', offset 0, playlist 0
[   0.792][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_9.m4s' for reading
[   0.793][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.793][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.793][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_10.m4s', offset 0, playlist 0
[   0.793][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_10.m4s' for reading
[   0.794][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.794][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.794][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_11.m4s', offset 0, playlist 0
[   0.794][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_11.m4s' for reading
[   0.795][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.795][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.795][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_12.m4s', offset 0, playlist 0
[   0.795][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_12.m4s' for reading
[   0.795][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.796][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.796][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_13.m4s', offset 0, playlist 0
[   0.796][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_13.m4s' for reading
[   0.796][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.797][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.797][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_14.m4s', offset 0, playlist 0
[   0.797][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_14.m4s' for reading
[   0.797][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.797][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.797][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_15.m4s', offset 0, playlist 0
[   0.797][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_15.m4s' for reading
[   0.798][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.798][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.798][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_16.m4s', offset 0, playlist 0
[   0.798][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_16.m4s' for reading
[   0.799][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.799][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.799][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_17.m4s', offset 0, playlist 0
[   0.799][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_17.m4s' for reading
[   0.800][v][osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[   0.800][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.800][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.800][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_18.m4s', offset 0, playlist 0
[   0.800][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_18.m4s' for reading
[   0.800][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.801][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.801][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_19.m4s', offset 0, playlist 0
[   0.801][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_19.m4s' for reading
[   0.801][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.801][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.801][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_20.m4s', offset 0, playlist 0
[   0.801][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_20.m4s' for reading
[   0.802][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.802][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.802][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_21.m4s', offset 0, playlist 0
[   0.802][v][cplayer] first video frame after restart shown
[   0.802][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_21.m4s' for reading
[   0.803][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.803][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.804][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_22.m4s', offset 0, playlist 0
[   0.804][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_22.m4s' for reading
[   0.804][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.804][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.804][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_23.m4s', offset 0, playlist 0
[   0.804][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_23.m4s' for reading
[   0.805][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.805][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.805][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_24.m4s', offset 0, playlist 0
[   0.805][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_24.m4s' for reading
[   0.806][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.806][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.806][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_25.m4s', offset 0, playlist 0
[   0.806][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_25.m4s' for reading
[   0.807][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.807][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.807][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_26.m4s', offset 0, playlist 0
[   0.807][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_26.m4s' for reading
[   0.808][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.808][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.808][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_27.m4s', offset 0, playlist 0
[   0.808][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_27.m4s' for reading
[   0.809][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.809][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.809][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_28.m4s', offset 0, playlist 0
[   0.809][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_28.m4s' for reading
[   0.810][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.810][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.810][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_29.m4s', offset 0, playlist 0
[   0.810][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_29.m4s' for reading
[   0.811][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.811][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.811][v][ffmpeg/demuxer] dash: DASH request for url 'http://127.0.0.1/wo_keyframe_30.m4s', offset 0, playlist 0
[   0.811][v][ffmpeg/demuxer] dash: Opening 'http://127.0.0.1/wo_keyframe_30.m4s' for reading
[   0.811][w][ffmpeg] http: HTTP error 429 Too Many Requests
[   0.812][w][ffmpeg/demuxer] dash: Failed to open fragment of playlist 0
[   0.812][e][ffmpeg/demuxer] dash: Error when loading first fragment, playlist 0
[   0.813][v][lavf] EOF reached.
[   0.813][v][cplayer] playback restart complete
[   0.813][v][vo/x11/x11] Disabling screensaver.
[  15.294][e][ffmpeg/video] h264: Invalid NAL unit size (-570294196 > 19).
[  15.294][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.334][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.334][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.374][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.374][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.414][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.414][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.454][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.454][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.494][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.494][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.534][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.534][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.574][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.574][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.614][w][vd] Error while decoding frame!
[  15.614][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.614][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.614][w][vd] Error while decoding frame!
[  15.614][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.614][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.615][w][vd] Error while decoding frame!
[  15.615][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.615][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.615][w][vd] Error while decoding frame!
[  15.615][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.615][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.616][w][vd] Error while decoding frame!
[  15.616][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.616][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.616][w][vd] Error while decoding frame!
[  15.616][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.616][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.616][w][vd] Error while decoding frame!
[  15.616][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.616][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.616][w][vd] Error while decoding frame!
[  15.616][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.616][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.617][w][vd] Error while decoding frame!
[  15.617][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.617][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.617][w][vd] Error while decoding frame!
[  15.617][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.617][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.617][w][vd] Error while decoding frame!
[  15.617][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.617][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.617][w][vd] Error while decoding frame!
[  15.617][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.617][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.617][w][vd] Error while decoding frame!
[  15.617][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.617][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.618][w][vd] Error while decoding frame!
[  15.618][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.618][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.618][w][vd] Error while decoding frame!
[  15.618][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.618][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.618][w][vd] Error while decoding frame!
[  15.618][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.618][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.618][w][vd] Error while decoding frame!
[  15.618][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.618][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.618][w][vd] Error while decoding frame!
[  15.618][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.618][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.619][w][vd] Error while decoding frame!
[  15.619][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.619][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.619][w][vd] Error while decoding frame!
[  15.619][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.619][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.619][w][vd] Error while decoding frame!
[  15.619][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.619][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.619][w][vd] Error while decoding frame!
[  15.619][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.619][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.619][w][vd] Error while decoding frame!
[  15.619][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.619][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.620][w][vd] Error while decoding frame!
[  15.620][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.620][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.620][w][vd] Error while decoding frame!
[  15.620][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.620][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.620][w][vd] Error while decoding frame!
[  15.620][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.620][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.620][w][vd] Error while decoding frame!
[  15.620][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.620][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.620][w][vd] Error while decoding frame!
[  15.621][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.621][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.621][w][vd] Error while decoding frame!
[  15.621][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.621][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.621][w][vd] Error while decoding frame!
[  15.621][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.621][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.621][w][vd] Error while decoding frame!
[  15.621][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.621][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.621][w][vd] Error while decoding frame!
[  15.621][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.621][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.621][w][vd] Error while decoding frame!
[  15.622][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.622][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.622][w][vd] Error while decoding frame!
[  15.622][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.622][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.622][w][vd] Error while decoding frame!
[  15.622][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.622][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.622][w][vd] Error while decoding frame!
[  15.622][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.622][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.622][w][vd] Error while decoding frame!
[  15.622][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.622][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.622][w][vd] Error while decoding frame!
[  15.622][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.622][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.623][w][vd] Error while decoding frame!
[  15.623][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.623][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.623][w][vd] Error while decoding frame!
[  15.623][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.623][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.623][w][vd] Error while decoding frame!
[  15.623][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.623][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.623][w][vd] Error while decoding frame!
[  15.623][e][ffmpeg/video] h264: Invalid NAL unit size (554697824 > 2).
[  15.623][e][ffmpeg/video] h264: Error splitting the input into NAL units.
[  15.624][w][vd] Error while decoding frame!
...


 Is it possible to slow download the fetching process while keeping the decoder busy ? The mpv/ffmpeg version is : 
mpv 0.27.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       55.78.100
   libavcodec      57.107.100
   libavformat     57.83.100
   libswscale      4.8.100
   libavfilter     6.107.100
   libswresample   2.9.100
ffmpeg version: 3.4.6-0ubuntu0.18.04.1


Regards !


Chengji Su





More information about the ffmpeg-user mailing list