Downloaded file duration is double the source (YouTube)

Ask for help about FlashGot, no registration needed to post
Post Reply
Username1

Downloaded file duration is double the source (YouTube)

Post by Username1 »

Since there will always be someone who doesn't get it, I am not using this extension to violate copyright laws.

Every time I use FlashGot to download audio/video (usually audio only as an MP4, then to MP3 in iTunes), the duration is twice that of the original. A 3:12 video becomes 6:24, with the second half completely silent. I can set a Stop time in iTunes, but it's time-consuming and not portable. I don't know of any free utility that can effortlessly chop off the second half (the files are never compatible with QuickTime's Trim feature, and VLC is overkill), but that would cover for what looks like a bug in the extension.

Checked the Preferences. Didn't find anything obvious, not that it would make sense to have this behavior enabled by default.

FlashGot 1.5.6.13, Firefox 49, OSX 10
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:49.0) Gecko/20100101 Firefox/49.0
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Downloaded file duration is double the source (YouTube)

Post by therube »

Sample clip (& which), URL, where this happens?

audio only as an MP4, then to MP3 in iTunes
So what, you're "transcoding" from mp4 (aac, I assume) to mp3?

If so, that doesn't make sense (to me).
Why not simply extract the audio that's already there & use that?
That way there is no transcoding, no quality loss.

Or you could download just the audio itself, no video, from YT, be it aac or mp3.
A 3:12 video becomes 6:24
At what point does a 3:12 become 6:24?
As in does the mp4 play back for 3:12?
Is you mp4 -> mp3 doing something wacko?

I don't know of any free utility that can effortlessly chop off the second half

Code: Select all

ffmpeg  -i  toolong.mp3  -c copy  -t 3:12  justright.mp3
That's a lossless operation, so only takes a second.
Anyhow, that's not the point.
What you are seeing shouldn't be happening to begin with.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
Username1

Re: Downloaded file duration is double the source (YouTube)

Post by Username1 »

MP4 and webm are the only audio-only options from YouTube, for me at least. There is no mp3.
As I said, the downloaded file is twice the length. It's a 100% increase, all complete silence after the normal audio ends.

Got ffmpeg installed. Meant to do that ages ago.
Have: MP4 with audio only, no video.
Want: MP3 with the correct length.
I can probably figure it out, but if someone has the appropriate command on hand, that would be helpful.

Of course it shouldn't be happening. It makes no sense, based on what I can see.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:49.0) Gecko/20100101 Firefox/49.0
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Downloaded file duration is double the source (YouTube)

Post by therube »

Sample clip (& which), URL, where this happens?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
Post Reply