[FFmpeg-user] Question

CheeZe AMV's kingkamvs at gmail.com
Tue Feb 18 13:10:49 EET 2020


That makes a lot of sense. I am trying to get the VOD's afterwards and it
still has those missing segments. I live in the UK, London, so that is
pretty far from Japan. I put the log level trace command in and this is the
result.

C:\Users\Dell OptiPlex 790\Desktop\FFMPEG>ffmpeg -loglevel trace -i "
https://pc0
845632d6.dmc.nico/hlsarchive/ht2_nicolive/nicolive-production-pg24538707395151_8
d544bb0f1b22df4c8b2a754bc48bd471203ef831418d31e1f20a34e9c99e743/master.m3u8?ht2_
nicolive=94477233.wogy7gd4lm_q5q866_31093gkh2wblf&start=3169" -c copy
-bsf:a aac
_adtstoasc "test.mp4"
ffmpeg version git-2020-02-06-343ccfc Copyright (c) 2000-2020 the FFmpeg
develop
ers
  built with gcc 9.2.1 (GCC) 20200122
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfi
g --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d
--enable-libb
luray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb
--enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-libshine --e
nable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame
--enable
-libvpx --enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 -
-enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enab
le-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
--en
able-libspeex --enable-libxvid --enable-libaom --enable-libmfx
--enable-ffnvcode
c --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
--enable-dxva2 -
-enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 39.100 / 56. 39.100
  libavcodec     58. 68.100 / 58. 68.100
  libavformat    58. 38.100 / 58. 38.100
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 74.100 /  7. 74.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level)
with argument 'trace'.
Reading option '-i' ... matched as input url with argument '
https://pc0845632d6.
dmc.nico/hlsarchive/ht2_nicolive/nicolive-production-pg24538707395151_8d544bb0f1
b22df4c8b2a754bc48bd471203ef831418d31e1f20a34e9c99e743/master.m3u8?ht2_nicolive=
94477233.wogy7gd4lm_q5q866_31093gkh2wblf&start=3169'.
Reading option '-c' ... matched as option 'c' (codec name) with argument
'copy'.

Reading option '-bsf:a' ... matched as option 'bsf' (A comma-separated list
of b
itstream filters) with argument 'aac_adtstoasc'.
Reading option 'ÔÇ£test.mp4ÔÇØ' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument trace.
Successfully parsed a group of options.
Parsing a group of options: input url
https://pc0845632d6.dmc.nico/hlsarchive/ht
2_nicolive/nicolive-production-pg24538707395151_8d544bb0f1b22df4c8b2a754bc48bd47
1203ef831418d31e1f20a34e9c99e743/master.m3u8?ht2_nicolive=94477233.wogy7gd4lm_q5
q866_31093gkh2wblf&start=3169.
Successfully parsed a group of options.
Opening an input file:
https://pc0845632d6.dmc.nico/hlsarchive/ht2_nicolive/nico
live-production-pg24538707395151_8d544bb0f1b22df4c8b2a754bc48bd471203ef831418d31
e1f20a34e9c99e743/master.m3u8?ht2_nicolive=94477233.wogy7gd4lm_q5q866_31093gkh2w
blf&start=3169.
[NULL @ 0000000000490780] Opening '
https://pc0845632d6.dmc.nico/hlsarchive/ht2_n
icolive/nicolive-production-pg24538707395151_8d544bb0f1b22df4c8b2a754bc48bd47120
3ef831418d31e1f20a34e9c99e743/master.m3u8?ht2_nicolive=94477233.wogy7gd4lm_q5q86
6_31093gkh2wblf&start=3169' for reading
[https @ 0000000000492140] Setting default whitelist
'http,https,tls,rtp,tcp,udp
,crypto,httpproxy'
[tcp @ 0000000000494380] Original list of addresses:
[tcp @ 0000000000494380] Address ip address port 443
[tcp @ 0000000000494380] Interleaved list of addresses:
[tcp @ 0000000000494380] Address ip address port 443
[tcp @ 0000000000494380] Starting connection attempt to ip address port 443
[tcp @ 0000000000494380] Successfully connected to ip address port 443
[https @ 0000000000492140] request: GET
/hlsarchive/ht2_nicolive/nicolive-produc
tion-pg24538707395151_8d544bb0f1b22df4c8b2a754bc48bd471203ef831418d31e1f20a34e9c
99e743/master.m3u8?ht2_nicolive=94477233.wogy7gd4lm_q5q866_31093gkh2wblf&start=3
169 HTTP/1.1
User-Agent: Lavf/58.38.100
Accept: */*
Range: bytes=0-
Connection: close
Host: pc0845632d6.dmc.nico
Icy-MetaData: 1


[https @ 0000000000492140] header='HTTP/1.1 403 Forbidden'
[https @ 0000000000492140] http_code=403
[https @ 0000000000492140] HTTP error 403 Forbidden
https://pc0845632d6.dmc.nico/hlsarchive/ht2_nicolive/nicolive-production-pg24538
707395151_8d544bb0f1b22df4c8b2a754bc48bd471203ef831418d31e1f20a34e9c99e743/maste
r.m3u8?ht2_nicolive=94477233.wogy7gd4lm_q5q866_31093gkh2wblf&start=3169:
Server
returned 403 Forbidden (access denied)

C:\Users\Dell OptiPlex 790\Desktop\FFMPEG>

On Mon, Feb 17, 2020 at 9:19 PM Ted Park <kumowoon1025 at gmail.com> wrote:

> > It is a live TV Streaming site and the VOD remains for 7 days.
>
> Then you’d probably have better luck downloading the VOD episodes when
> they become available, since in a VOD stream, segments don’t “expire” and
> the master playlist stays constant unlike a live “event” type stream.
> Unless you were already doing that? If you were, the problem might be
> something else.
>
> > Download speed: 7.84
> > Upload speed: 0.61
>
> I mean honestly it does seem like it would be unbearable but that’s just
> because I’m spoiled. The download speed is around what you would get with a
> dedicated t2 circuit, I don’t think it’s considered too bad compared to the
> global average and encoding houses take that into account when delivering
> for web streams.
>
> But what’s more relevant is the speed you get when you’re downloading the
> actual stream, I assume the test was done on a different server, the speeds
> you get when you’re connected to the server with the media segments will be
> different. I don’t know what the CDN of niconico is like, but how far you
> are away from Japan might affect it a lot.
>
> Your connection speeds shouldn’t even matter if you download a VOD stream
> (apart from the time it takes), the streaming service might still
> invalidate the URLs after a while, but usually not while you still have an
> open connection. If you can post the output of
> % ffmpeg -loglevel trace -i "m3u8 master playlist url" -c copy -bsf:a
> aac_adtstoasc “example.mp4”
> We’d know more.
> Try to post the output of the command you run when you post to this list
> in general, it includes a lot of relevant information.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list