Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitchute/ffmpeg] Muxing fails due to unsupported timecode stream in MP4 file + -map 0 #291

Open
jbruchon opened this issue Dec 26, 2020 · 0 comments

Comments

@jbruchon
Copy link
Contributor

Verbose log

Y:\YouTube Channels\Chass>youtube-dl --cookies "Y:\cookies.txt" --add-metadata --write-description --write-info-json --write-thumbnail --all-subs --sleep-interval 1 -ciw -o "%(title)s.%(ext)s" -v https://www.bitchute.com/video/7KOApju0sI1E/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'Y:\\cookies.txt', '--add-metadata', '--write-description', '--write-info-json', '--write-thumbnail', '--all-subs', '--sleep-interval', '1', '-ciw', '-o', '%(title)s.%(ext)s', '-v', 'https://www.bitchute.com/video/7KOApju0sI1E/']
[debug] Loading archive file None
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dlc version 2020.11.11-2
[debug] Python version 3.9.0 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 4.3.1-2020-11-19-full_build-www.gyan.dev, ffprobe 4.3.1-2020-11-19-full_build-www.gyan.dev
[debug] Proxy map: {}
[BitChute] 7KOApju0sI1E: Downloading webpage
[BitChute] 7KOApju0sI1E: Checking video URL
[debug] Default format spec: bestvideo+bestaudio/best
[info] Video description is already present
[info] Video description metadata is already present
[BitChute] 7KOApju0sI1E: Thumbnail is already present
[debug] Invoking downloader on 'https://z-28b3jxzl1og7.bitchute.com/iAhk3bN20i22/7KOApju0sI1E.mp4'
[download] 4chan threads - _x_ - The Desolate Towns Phenomenon.mp4 has already been downloaded
[download] 100% of 22.94MiB
[ffmpeg] Adding metadata to '4chan threads - _x_ - The Desolate Towns Phenomenon.mp4'
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:4chan threads - _x_ - The Desolate Towns Phenomenon.mp4" -map 0 -c copy -metadata "title=4chan threads - /x/ - The Desolate Towns Phenomenon" -metadata "date=20201218" -metadata "description=https://yuki.la/x/17299706
https://archive.4plebs.org/x/thread/22403433/#q22418409
https://yuki.la/x/25030586
If you wish to donate: https://www.paypal.me/thechasseurchannel
Bitchute: https://www.bitchute.com/channel/Chass/
Ultimate Spooky Greentext Playlist: https://www.youtube.com/playlist?list=PLbDSt84tOm2Nm0D8baMW3CfVaaF03LCjB
Music used:
Won't sleep - Kukomitzu
https://youtu.be/vz3KlzgEFm8?t=6
Stalker – Kukomitzu
https://youtu.be/vz3KlzgEFm8?t=297
♫ Epic Horror Synth Trailer Music ♪♬ - Something Wicked
https://www.youtube.com/watch?v=Zuw_O5MU5CE
[Vaporwave] Stevia Sphere - mint
https://www.youtube.com/watch?v=ykT3wtSCpzE
\"Midnight, the Stars and You\"
https://www.youtube.com/watch?v=-fN-Xjpd-qE
My last roadtrip - Kukomitzu
https://youtu.be/vz3KlzgEFm8?t=597
Outro music:
Gothic 3 - Geldern Night
https://www.youtube.com/watch?v=wCtV4DYZkK0" -metadata "comment=https://yuki.la/x/17299706
https://archive.4plebs.org/x/thread/22403433/#q22418409
https://yuki.la/x/25030586
If you wish to donate: https://www.paypal.me/thechasseurchannel
Bitchute: https://www.bitchute.com/channel/Chass/
Ultimate Spooky Greentext Playlist: https://www.youtube.com/playlist?list=PLbDSt84tOm2Nm0D8baMW3CfVaaF03LCjB
Music used:
Won't sleep - Kukomitzu
https://youtu.be/vz3KlzgEFm8?t=6
Stalker – Kukomitzu
https://youtu.be/vz3KlzgEFm8?t=297
♫ Epic Horror Synth Trailer Music ♪♬ - Something Wicked
https://www.youtube.com/watch?v=Zuw_O5MU5CE
[Vaporwave] Stevia Sphere - mint
https://www.youtube.com/watch?v=ykT3wtSCpzE
\"Midnight, the Stars and You\"
https://www.youtube.com/watch?v=-fN-Xjpd-qE
My last roadtrip - Kukomitzu
https://youtu.be/vz3KlzgEFm8?t=597
Outro music:
Gothic 3 - Geldern Night
https://www.youtube.com/watch?v=wCtV4DYZkK0" -metadata "purl=https://www.bitchute.com/video/7KOApju0sI1E/" -metadata "artist=Chass" "file:4chan threads - _x_ - The Desolate Towns Phenomenon.temp.mp4"
ERROR:   Stream #0:2 -> #0:2 (copy)
Traceback (most recent call last):
  File "youtube_dlc\YoutubeDL.py", line 2159, in post_process
  File "youtube_dlc\postprocessor\ffmpeg.py", line 532, in run
  File "youtube_dlc\postprocessor\ffmpeg.py", line 235, in run_ffmpeg_multiple_files
youtube_dlc.postprocessor.ffmpeg.FFmpegPostProcessorError:   Stream #0:2 -> #0:2 (copy)

Description

Commit d03cfdc introduced -map 0 to the FFmpeg post-processor to copy all streams. Unfortunately, the BitChute MP4 timecode stream I've run into here has an apparently invalid tag and can't be copied. If I type the ffmpeg command without -map 0 it works fine since it simply ignores the extra unsupported stream. The option was added to ensure that extra streams are preserved, but in this particular case, it's causing a muxing failure due to an unsupported extra stream.

pukkandan referenced this issue in yt-dlp/yt-dlp Jan 7, 2021
closes #2, blackjack4494#291

Authored by jbruchon
siikamiika pushed a commit to siikamiika/yt-dlc that referenced this issue Jun 19, 2021
siikamiika pushed a commit to siikamiika/yt-dlc that referenced this issue Jun 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant