youtube-dl downloads create .temp.mp4 files when content already exist locally. ffmpeg issue?












1















When I try to download content from twitch.tv who I already had in the working directly, the process create an .temp.mp4 file and it seem to be created by an ffmpeg process.



If the content doesn’t already exist, it download normally.



When using verbose -v I get an error message saying: “[ffmpeg] Fixing malformed AAC bitstream in”



This is the command syntax:



root@hosted:/mnt/disk1/twitch/markilokurasy# youtube-dl -v -i --no-overwrites https://www.twitch.tv/markilokurasy/videos/all


This is the verbose:



[debug] System config: 
[debug] User config:
[debug] Custom config:
[debug] Command-line args: [u'-v', u'-i', u'--no-overwrites', u'https://www.twitch.tv/markilokurasy/videos/all']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.10
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4-0ubuntu0.18.04.1, ffprobe 3.4.4-0ubuntu0.18.04.1
[debug] Proxy map: {}
[twitch:videos:all] markilokurasy: Downloading channel info JSON
[twitch:videos:all] markilokurasy: Downloading all videos JSON page 1
[download] Downloading playlist: MarkiLokurasY
[twitch:videos:all] playlist MarkiLokurasY: Collected 76 video ids (downloading 76 of them)
[download] Downloading video 1 of 76
[twitch:vod] 362193684: Downloading vod info JSON
[twitch:vod] 362193684: Downloading vod access token
[twitch:vod] 362193684: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://vod-secure.twitch.tv/75937e2657f777b6955b_markilokurasy_32122011088_1076251126/chunked/index-muted-UO5C2PH170.m3u8'
[download] SSomos viernessssss _ ig - @markigang-v362193684.mp4 has already been downloaded
[download] 100% of 9.76GiB
[debug] ffmpeg command line: ffprobe -show_streams 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4'
[ffmpeg] Fixing malformed AAC bitstream in "SSomos viernessssss _ ig - @markigang-v362193684.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:SSomos viernessssss _ ig - @markigang-v362193684.temp.mp4'
^C
ERROR: Interrupted by user


What do you suggest to use like tag to avoid this. Please not the .mp4 videos files are plenty playable with audio when I play them after.










share|improve this question




















  • 1





    Not related to ffmpeg. The command is generated by yt-dl. When the target file already exists, what should happen?

    – Gyan
    Jan 23 at 5:54











  • I'm not sure what your actual question is. Do you want to overwrite existing files? What's the problem with having a temporary file created?

    – slhck
    Jan 23 at 12:26


















1















When I try to download content from twitch.tv who I already had in the working directly, the process create an .temp.mp4 file and it seem to be created by an ffmpeg process.



If the content doesn’t already exist, it download normally.



When using verbose -v I get an error message saying: “[ffmpeg] Fixing malformed AAC bitstream in”



This is the command syntax:



root@hosted:/mnt/disk1/twitch/markilokurasy# youtube-dl -v -i --no-overwrites https://www.twitch.tv/markilokurasy/videos/all


This is the verbose:



[debug] System config: 
[debug] User config:
[debug] Custom config:
[debug] Command-line args: [u'-v', u'-i', u'--no-overwrites', u'https://www.twitch.tv/markilokurasy/videos/all']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.10
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4-0ubuntu0.18.04.1, ffprobe 3.4.4-0ubuntu0.18.04.1
[debug] Proxy map: {}
[twitch:videos:all] markilokurasy: Downloading channel info JSON
[twitch:videos:all] markilokurasy: Downloading all videos JSON page 1
[download] Downloading playlist: MarkiLokurasY
[twitch:videos:all] playlist MarkiLokurasY: Collected 76 video ids (downloading 76 of them)
[download] Downloading video 1 of 76
[twitch:vod] 362193684: Downloading vod info JSON
[twitch:vod] 362193684: Downloading vod access token
[twitch:vod] 362193684: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://vod-secure.twitch.tv/75937e2657f777b6955b_markilokurasy_32122011088_1076251126/chunked/index-muted-UO5C2PH170.m3u8'
[download] SSomos viernessssss _ ig - @markigang-v362193684.mp4 has already been downloaded
[download] 100% of 9.76GiB
[debug] ffmpeg command line: ffprobe -show_streams 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4'
[ffmpeg] Fixing malformed AAC bitstream in "SSomos viernessssss _ ig - @markigang-v362193684.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:SSomos viernessssss _ ig - @markigang-v362193684.temp.mp4'
^C
ERROR: Interrupted by user


What do you suggest to use like tag to avoid this. Please not the .mp4 videos files are plenty playable with audio when I play them after.










share|improve this question




















  • 1





    Not related to ffmpeg. The command is generated by yt-dl. When the target file already exists, what should happen?

    – Gyan
    Jan 23 at 5:54











  • I'm not sure what your actual question is. Do you want to overwrite existing files? What's the problem with having a temporary file created?

    – slhck
    Jan 23 at 12:26
















1












1








1








When I try to download content from twitch.tv who I already had in the working directly, the process create an .temp.mp4 file and it seem to be created by an ffmpeg process.



If the content doesn’t already exist, it download normally.



When using verbose -v I get an error message saying: “[ffmpeg] Fixing malformed AAC bitstream in”



This is the command syntax:



root@hosted:/mnt/disk1/twitch/markilokurasy# youtube-dl -v -i --no-overwrites https://www.twitch.tv/markilokurasy/videos/all


This is the verbose:



[debug] System config: 
[debug] User config:
[debug] Custom config:
[debug] Command-line args: [u'-v', u'-i', u'--no-overwrites', u'https://www.twitch.tv/markilokurasy/videos/all']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.10
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4-0ubuntu0.18.04.1, ffprobe 3.4.4-0ubuntu0.18.04.1
[debug] Proxy map: {}
[twitch:videos:all] markilokurasy: Downloading channel info JSON
[twitch:videos:all] markilokurasy: Downloading all videos JSON page 1
[download] Downloading playlist: MarkiLokurasY
[twitch:videos:all] playlist MarkiLokurasY: Collected 76 video ids (downloading 76 of them)
[download] Downloading video 1 of 76
[twitch:vod] 362193684: Downloading vod info JSON
[twitch:vod] 362193684: Downloading vod access token
[twitch:vod] 362193684: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://vod-secure.twitch.tv/75937e2657f777b6955b_markilokurasy_32122011088_1076251126/chunked/index-muted-UO5C2PH170.m3u8'
[download] SSomos viernessssss _ ig - @markigang-v362193684.mp4 has already been downloaded
[download] 100% of 9.76GiB
[debug] ffmpeg command line: ffprobe -show_streams 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4'
[ffmpeg] Fixing malformed AAC bitstream in "SSomos viernessssss _ ig - @markigang-v362193684.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:SSomos viernessssss _ ig - @markigang-v362193684.temp.mp4'
^C
ERROR: Interrupted by user


What do you suggest to use like tag to avoid this. Please not the .mp4 videos files are plenty playable with audio when I play them after.










share|improve this question
















When I try to download content from twitch.tv who I already had in the working directly, the process create an .temp.mp4 file and it seem to be created by an ffmpeg process.



If the content doesn’t already exist, it download normally.



When using verbose -v I get an error message saying: “[ffmpeg] Fixing malformed AAC bitstream in”



This is the command syntax:



root@hosted:/mnt/disk1/twitch/markilokurasy# youtube-dl -v -i --no-overwrites https://www.twitch.tv/markilokurasy/videos/all


This is the verbose:



[debug] System config: 
[debug] User config:
[debug] Custom config:
[debug] Command-line args: [u'-v', u'-i', u'--no-overwrites', u'https://www.twitch.tv/markilokurasy/videos/all']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.01.10
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-29-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4-0ubuntu0.18.04.1, ffprobe 3.4.4-0ubuntu0.18.04.1
[debug] Proxy map: {}
[twitch:videos:all] markilokurasy: Downloading channel info JSON
[twitch:videos:all] markilokurasy: Downloading all videos JSON page 1
[download] Downloading playlist: MarkiLokurasY
[twitch:videos:all] playlist MarkiLokurasY: Collected 76 video ids (downloading 76 of them)
[download] Downloading video 1 of 76
[twitch:vod] 362193684: Downloading vod info JSON
[twitch:vod] 362193684: Downloading vod access token
[twitch:vod] 362193684: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://vod-secure.twitch.tv/75937e2657f777b6955b_markilokurasy_32122011088_1076251126/chunked/index-muted-UO5C2PH170.m3u8'
[download] SSomos viernessssss _ ig - @markigang-v362193684.mp4 has already been downloaded
[download] 100% of 9.76GiB
[debug] ffmpeg command line: ffprobe -show_streams 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4'
[ffmpeg] Fixing malformed AAC bitstream in "SSomos viernessssss _ ig - @markigang-v362193684.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:SSomos viernessssss _ ig - @markigang-v362193684.mp4' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:SSomos viernessssss _ ig - @markigang-v362193684.temp.mp4'
^C
ERROR: Interrupted by user


What do you suggest to use like tag to avoid this. Please not the .mp4 videos files are plenty playable with audio when I play them after.







video ffmpeg download video-conversion






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 23 at 12:25









slhck

162k47448470




162k47448470










asked Jan 22 at 20:30









Guillaume SoucyGuillaume Soucy

61




61








  • 1





    Not related to ffmpeg. The command is generated by yt-dl. When the target file already exists, what should happen?

    – Gyan
    Jan 23 at 5:54











  • I'm not sure what your actual question is. Do you want to overwrite existing files? What's the problem with having a temporary file created?

    – slhck
    Jan 23 at 12:26
















  • 1





    Not related to ffmpeg. The command is generated by yt-dl. When the target file already exists, what should happen?

    – Gyan
    Jan 23 at 5:54











  • I'm not sure what your actual question is. Do you want to overwrite existing files? What's the problem with having a temporary file created?

    – slhck
    Jan 23 at 12:26










1




1





Not related to ffmpeg. The command is generated by yt-dl. When the target file already exists, what should happen?

– Gyan
Jan 23 at 5:54





Not related to ffmpeg. The command is generated by yt-dl. When the target file already exists, what should happen?

– Gyan
Jan 23 at 5:54













I'm not sure what your actual question is. Do you want to overwrite existing files? What's the problem with having a temporary file created?

– slhck
Jan 23 at 12:26







I'm not sure what your actual question is. Do you want to overwrite existing files? What's the problem with having a temporary file created?

– slhck
Jan 23 at 12:26












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1397160%2fyoutube-dl-downloads-create-temp-mp4-files-when-content-already-exist-locally%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1397160%2fyoutube-dl-downloads-create-temp-mp4-files-when-content-already-exist-locally%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Puebla de Zaragoza

Musa