Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Some episodes misses some seconds at end #298

Closed
Kartatz opened this issue Jan 3, 2024 · 1 comment
Closed

Some episodes misses some seconds at end #298

Kartatz opened this issue Jan 3, 2024 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@Kartatz
Copy link

Kartatz commented Jan 3, 2024

Describe the bug

I'm facing a weird issue where sometimes the downloaded video misses some seconds at the end.

Here is a video which triggers this issue:

$ ffmpeg -hide_banner -i 'Butei Charter Article 1.mkv'
Input #0, matroska,webm, from 'Butei Charter Article 1.mkv':
  Metadata:
    COMPATIBLE_BRANDS: iso5dashmsix
    MAJOR_BRAND     : iso5
    MINOR_VERSION   : 1
    ENCODER         : Lavf60.20.100
  Duration: 00:24:21.16, start: 0.000000, bitrate: 3386 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
...

As can be seen, the video metadata is reporting a duration of 24:21.16.

When trying to demux the video with ffmpeg:

ffmpeg -hide_banner -i 'Butei Charter Article 1.mkv' -c copy -f null -
...
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[out#0/null @ 0xb400007cc698f2b0] video:575194kB audio:5188kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
size=N/A time=00:16:20.56 bitrate=N/A speed= 312x    

The demuxing process stops at 16:20.56. When I open the media with VLC, it plays just fine until reaching 16:20, at which point the player abruptly closes.

This is kind of rare; it happens with about 1 out of 150 videos downloaded. Re-downloading the media generally fixes the issue.

To Reproduce

Here is the command I used to download this episode:

crunchy-dl archive \
    --audio 'ja-JP'  \
    --audio 'en-US'  \
    --subtitle 'en-US'  \
    --merge 'audio'  \
    --threads '13'  \
    --include-fonts  \
    --output 'Butei Charter Article 1.mkv'  \
    'https://www.crunchyroll.com/watch/GD9UVJ729/butei-charter-article-1'

Client:

  • OS: Arch Linux
  • Version crunchy-cli 3.1.1 (19935df 2023-12-30)
@Kartatz Kartatz added the bug Something isn't working label Jan 3, 2024
@bytedream
Copy link
Member

Duplicate of #271, any further conversation will take place there.
If possible, please run your command with the -v flag and paste the log output a case of missing data occurs again to #271

@bytedream bytedream closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2024
@bytedream bytedream added the duplicate This issue or pull request already exists label Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants