Page MenuHome

VSE: mp4/video won't work with mp3/audio
Closed, ResolvedPublic

Description

Win7 64, GTX 770

Blender 2.79 96477be (possibly release as well)
Worked: Blender 2.78

When adding some mp4 files into Blender, the audio track is not loaded correctly. Upon manually adding any audio track, the audio track is placed to the left of the video track (on the above layer).
The audio clip's last frame is set at the render/scene's first frame The audio clip is also scaled smaller+stretched-wide. Right clicking the track to move it, only selects the right-handle, and in order to actually select the clip, you have to select all then deselect everything else.

It occurs in several files I've tried so far but not in 2.78.

**//Note://** Only the video or audio file can be loaded; files added after the first, are made as buggy/damaged tracks.

The video files I'm using are music videos downloaded/ripped from Youtube. Their file sizes are 15-55mb; if necessary, I can upload them to a file host (preferably zippyshare)
but I didn't do it yet in case that's not allowed/needed.

Event Timeline

LazyDodo (LazyDodo) triaged this task as Needs Information from User priority.

Please find non stolen content that exhibits this issue, files that size you can just attach to this ticket no need to use 3rd party hosting. Marking as incomplete until a sample file is provided.

It should be fine to attach videos downloaded from https://www.youtube.com/user/BlenderFoundation/videos, if the issue can be reproduced with them.

-_____________________-

If downloading youtube videos are "stolen content" then beyond a handful, I don't know what files on my computer are not stolen (and downloading the Blender videos would also be stolen then ).

Download Flash & Video (red button) is an extension for Firefox.

Future: Mask Off ---- a song on youtube.
08. Secondary Action - 12 Principles of Animation ---- animated by AlanBeckerTutorials
The Northernmost Town on Earth (Svalbard in 4K) ---- by Veritasium

Those are three different videos available on youtube that doesn't load correctly.

Loading videos in 2.79 is a hit or miss but if it misses, it will miss consistently (and afterwards), yet will load correctly in 2.78.
Loading the Veritasium video actually loads the sound but it loads it with the video strip (or in the background), like a meta-strip containing the video and the audio.

Here's a screenshot just after loading the music video, demonstrating placement+stretch (and one-click selection):

-_____________________-
If downloading youtube videos are "stolen content" then beyond a handful, I don't know what files on my computer are not stolen (and downloading the Blender videos would also be stolen then ).

You can do on your computer whatever you want, i'm not here to judge, however having files publicly available on our server that violate copyright is not something we're super into.

If you could locate some CC0 licensed content that's problematic please do and attach it to this ticket

Bastien Montagne (mont29) closed this task as Invalid.
Bastien Montagne (mont29) claimed this task.

More than a week without reply. Due to the policy of the tracker archiving for until required info/data are provided.

Christopher Anderssarian (Christopher_Anderssarian) raised the priority of this task from Needs Information from User to Needs Triage by Developer.

Okey... can confirm that when downloading both with 3th party software (jDownloader) and directly off of googlevideo.com/videoplayback.... (i.e. no remuxing) 2 of the videos demonstrate issues as shown initially in the bug report. (vevo is blocked from downloading)

The problem doesn't have to do with audio but the fact that when you add these videos to the VSE the frame rate is set to a negative value.

All the videos that cause this are Variable Frame Rate (VFR) but more specifically they all have one thing in common: the frame rates.

08. Secondary Action - 12 Principles of Animation https://www.youtube.com/watch?v=MjBHWw1TbP4

Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS

The Northernmost Town on Earth (Svalbard in 4K) https://www.youtube.com/watch?v=5NhIRwCq428

Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS

#1 This video is the exact frames rates as the ones on YouTube and demonstrates this issue.
I tried to replicate this with some videos on Blender's Youtube Channel but no luck, all the videos I could find were Constant Frame Rate (CFR) so with the videos I had; I got to rendering. After a lot of rendering out different VFR videos it turns out that only a certain combination of frame rates causes this:

Frame rate mode : Variable
Frame rate : 23.976 FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS

#2 This video works just fine even with VFR (Note the frame rates' difference)

Frame rate mode : Variable
Frame rate : 23.976 (23976/1000) FPS
Minimum frame rate : 15.873 FPS
Maximum frame rate : 24.000 FPS

All testing above was in 2.79 release.
And then when I thought I was almost done here I tested a daily build.

In 2.79 9b32248 & 65d40b3 dragging and dropping this video and The Northernmost Town on Earth (Svalbard in 4K) these cause Blender to eat up my ram and freeze up and not respond.

Memory Cache limit is set to: 28000

From my testing only this exact frame rate causes this, no other frame rate would.

If someone could maybe rename this task to something like: VFR video in VSE setting negative frame rate as this has nothing to do with a problem with the audio.

System Information
Windows 7 Ultimate, 64-bit, 32GB, 5960x, Nvidia Quadro FX 1800 (Primary) & GeForce 9800 GTX+ (Secondary)

Bastien Montagne (mont29) triaged this task as Confirmed, Medium priority.Jan 26 2018, 1:19 PM

Bah, plain nasty short integer overflow…