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

Error when ffmpeg merging downloads into mp4 #12329

Closed
ghost opened this issue Mar 2, 2017 · 1 comment
Closed

Error when ffmpeg merging downloads into mp4 #12329

ghost opened this issue Mar 2, 2017 · 1 comment

Comments

@ghost
Copy link

@ghost ghost commented Mar 2, 2017

Archlinux 4.9.11 using youtube-dl 2017.02.28

At first I'm using youtube-dl's AUR package, and get an 'AtomicParsley error'
Googled it and 'pacman -S atomicparsley' solved it, then I get 'Last message repeated 1 times' error.
I have tried other youtube videos and everything goes right.
After that I removed the AUR package and download the latest version on github.
Still get this error.

$ /usr/local/bin/youtube-dl https://www.youtube.com/watch?v=LMGMdSMAfYE --verbose
[debug] System config: []
[debug] User config: ['--ignore-errors', '--geo-bypass', '--skip-unavailable-fragments', '--hls-prefer-ffmpeg', '--external-downloader', 'aria2c', '--continue', '--no-overwrites', '--write-thumbnail', '--no-warnings', '--no-check-certificate', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36', '--referer', 'https://www.youtube.com', '--youtube-skip-dash-manifest', '--merge-output-format', 'mp4', '--format', 'bestvideo+bestaudio/bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best', '--yes-playlist', '--no-resize-buffer', '--no-cache-dir', '--prefer-insecure', '--prefer-ffmpeg', '--output', '/home/hibiki/youtube/%(title)s-%(id)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=LMGMdSMAfYE', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.02.28
[debug] Python version 3.6.0 - Linux-4.9.11-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.2.4, ffprobe 3.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] LMGMdSMAfYE: Downloading webpage
[youtube] LMGMdSMAfYE: Downloading video info webpage
[youtube] LMGMdSMAfYE: Extracting video information
[youtube] LMGMdSMAfYE: Thumbnail is already present
[debug] Invoking downloader on 'http://r13---sn-i3b7knel.googlevideo.com/videoplayback?key=yt6&source=youtube&pl=24&mime=video%2Fwebm&beids=%5B9452306%5D&signature=9914A005E1579DB352374F1E0F16B7D0C523008E.0B7CD4A2AE700B613C43876DDCF411FEB7F15713&itag=247&gir=yes&sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Csource%2Cupn%2Cexpire&mn=sn-i3b7knel&ipbits=0&mm=31&id=o-AOJPZkl3U9L55LVZu3azOP2p_oWdUnbrTzLhZrcVEgf1&mv=u&dur=1883.400&mt=1488466650&ms=au&ip=14.136.211.86&clen=182167207&lmt=1482659042544723&expire=1488488470&upn=Kt7mpxrJ4-I&ratebypass=yes'
[download] /home/hibiki/youtube/【艦これ】残響ノ鎮魂歌【響のオリジナル曲】<キネマ106>-LMGMdSMAfYE.f247.webm has already been downloaded
[download] 100% of 173.73MiB
[debug] Invoking downloader on 'http://r13---sn-i3b7knel.googlevideo.com/videoplayback?key=yt6&source=youtube&pl=24&mime=audio%2Fwebm&beids=%5B9452306%5D&signature=A04E168A9B3A54EBFF96BA000EBA106B69521257.7BC76E0FBA953A72B79D47953BD4D141ACBFBBC4&itag=251&gir=yes&sparams=clen%2Cdur%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Csource%2Cupn%2Cexpire&mn=sn-i3b7knel&ipbits=0&mm=31&id=o-AOJPZkl3U9L55LVZu3azOP2p_oWdUnbrTzLhZrcVEgf1&mv=u&dur=1883.481&mt=1488466650&ms=au&ip=14.136.211.86&clen=31451764&lmt=1482655135021461&expire=1488488470&upn=Kt7mpxrJ4-I&ratebypass=yes'
[download] /home/hibiki/youtube/【艦これ】残響ノ鎮魂歌【響のオリジナル曲】<キネマ106>-LMGMdSMAfYE.f251.webm has already been downloaded
[download] 100% of 29.99MiB
[ffmpeg] Merging formats into "/home/hibiki/youtube/【艦これ】残響ノ鎮魂歌【響のオリジナル曲】<キネマ106>-LMGMdSMAfYE.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:/home/hibiki/youtube/【艦これ】残響ノ鎮魂歌【響のオリジナル曲】<キネマ106>-LMGMdSMAfYE.f247.webm' -i 'file:/home/hibiki/youtube/【艦これ】残響ノ鎮魂歌【響のオリジナル曲】<キネマ106>-LMGMdSMAfYE.f251.webm' -c copy -map 0:v:0 -map 1:a:0 'file:/home/hibiki/youtube/【艦これ】残響ノ鎮魂歌【響のオリジナル曲】<キネマ106>-LMGMdSMAfYE.temp.mp4'
ERROR:     Last message repeated 1 times
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1929, in post_process
    files_to_delete, info = pp.run(info)
  File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 444, in run
    self.run_ffmpeg_multiple_files(info['__files_to_merge'], temp_filename, args)
  File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 192, in run_ffmpeg_multiple_files
    raise FFmpegPostProcessorError(msg)
youtube_dl.postprocessor.ffmpeg.FFmpegPostProcessorError:     Last message repeated 1 times
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Mar 2, 2017

--merge-output-format mp4

You can't use opus in mp4.

@yan12125 yan12125 closed this Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.