VSE: mp4/video won't work with mp3/audio #53003

Closed
opened 5 years ago by Ebone · 17 comments
Ebone commented 5 years ago

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.

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.
Ebone commented 5 years ago
Poster

Changed status to: 'Open'

Changed status to: 'Open'
Ebone commented 5 years ago
Poster

Added subscriber: @Ebone

Added subscriber: @Ebone
Collaborator

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Collaborator

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.

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.
brecht commented 5 years ago
Owner

Added subscriber: @brecht

Added subscriber: @brecht
brecht commented 5 years ago
Owner

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

It should be fine to attach videos downloaded from https://www.youtube.com/user/BlenderFoundation/videos, if the issue can be reproduced with them.
Ebone commented 5 years ago
Poster
  • _____________________-

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): fmo.jpg

- _____________________- 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): ![fmo.jpg](https://archive.blender.org/developer/F964016/fmo.jpg)
Collaborator

In #53003#464431, @Ebone wrote:
-_____________________-

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

> In #53003#464431, @Ebone wrote: > -_____________________- > > 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
mont29 commented 5 years ago
Owner

Added subscriber: @mont29

Added subscriber: @mont29
mont29 commented 5 years ago
Owner

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
mont29 closed this issue 5 years ago
mont29 self-assigned this 5 years ago
mont29 commented 5 years ago
Owner

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

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

Added subscriber: @ChristopherAnderssarian

Added subscriber: @ChristopherAnderssarian

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
ChristopherAnderssarian reopened this issue 5 years ago

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.

  1. 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

videoplayback.PNG

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:

VFR-Vfr Test 4-5 (NegFrame).PNG

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

VFR-Vfr Test 4-5 (NegFrame).blend

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

Vfr Test 4-4.PNG

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

Vfr Test 4-4.blend

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 [ https:*www.youtube.com/watch?v=5NhIRwCq428 | The Northernmost Town on Earth (Svalbard in 4K) these cause Blender to eat up my ram and freeze up and not respond.

2.79.2.png

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)

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 ![videoplayback.PNG](https://archive.blender.org/developer/F1986081/videoplayback.PNG) `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](https://developer.blender.org/F1985734) 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 ](https://www.youtube.com/user/BlenderFoundation/videos) 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: ![VFR-Vfr Test 4-5 (NegFrame).PNG](https://archive.blender.org/developer/F1986072/VFR-Vfr_Test_4-5__NegFrame_.PNG) `Frame rate mode : Variable` `Frame rate : 23.976 FPS` `Minimum frame rate : 23.974 FPS` `Maximum frame rate : 23.981 FPS` [VFR-Vfr Test 4-5 (NegFrame).blend](https://archive.blender.org/developer/F1986333/VFR-Vfr_Test_4-5__NegFrame_.blend) # 2 [This video](https://developer.blender.org/F1985998) works just fine even with VFR (Note the frame rates' difference) ![Vfr Test 4-4.PNG](https://archive.blender.org/developer/F1986127/Vfr_Test_4-4.PNG) `Frame rate mode : Variable` `Frame rate : 23.976 (23976/1000) FPS` `Minimum frame rate : 15.873 FPS` `Maximum frame rate : 24.000 FPS` [Vfr Test 4-4.blend](https://archive.blender.org/developer/F1986383/Vfr_Test_4-4.blend) All testing above was in 2.79 release. And then when [I thought I was almost done here](https://www.youtube.com/watch?v=IYPvpZNfqsQ&t=54s) I tested a daily build. In 2.79 9b32248 & 65d40b3 dragging and dropping [this video]] and [[ https:*www.youtube.com/watch?v=5NhIRwCq428 | The Northernmost Town on Earth (Svalbard in 4K) ](https:*developer.blender.org/F1985734) these cause Blender to eat up my ram and freeze up and not respond. ![2.79.2.png](https://archive.blender.org/developer/F1986320/2.79.2.png) 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)
mont29 commented 5 years ago
Owner

Bah, plain nasty short integer overflow…

Bah, plain nasty short integer overflow…
Collaborator

This issue was referenced by c528b9b777

This issue was referenced by c528b9b7777322c2b714aaa0bec40a1f3997ad06
mont29 commented 5 years ago
Owner

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
mont29 closed this issue 5 years ago
Sign in to join this conversation.
No Label
Interest/Alembic
Interest/Animation & Rigging
Interest/Asset Browser
Interest/Asset Browser Project Overview
Interest/Audio
Interest/Automated Testing
Interest/Blender Asset Bundle
Interest/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
Interest/Eevee & Viewport
Interest/Freestyle
Interest/Geometry Nodes
Interest/Grease Pencil
Interest/ID Management
Interest/Images & Movies
Interest/Import/Export
Interest/Line Art
Interest/Masking
Interest/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
Interest/Python API
Interest/Render & Cycles
Interest/Render Pipeline
Interest/Sculpt, Paint & Texture
Interest/Text Editor
Interest/Translations
Interest/Triaging
Interest/Undo
Interest/USD
Interest/User Interface
Interest/UV Editing
Interest/VFX & Video
Interest/Video Sequencer
Interest/Virtual Reality
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
Module › Animation & Rigging
Module › Core
Module › Development Management
Module › Eevee & Viewport
Module › Grease Pencil
Module › Modeling
Module › Nodes & Physics
Module › Pipeline, Assets & IO
Module › Platforms, Builds, Tests & Devices
Module › Python API
Module › Render & Cycles
Module › Sculpt, Paint & Texture
Module › Triaging
Module › User Interface
Module › VFX & Video
Platform/FreeBSD
Platform/Linux
Platform/macOS
Platform/Windows
Priority › High
Priority › Low
Priority › Normal
Priority › Unbreak Now!
Status › Archived
Status › Confirmed
Status › Duplicate
Status › Needs Information from Developers
Status › Needs Information from User
Status › Needs Triage
Status › Resolved
Type › Bug
Type › Design
Type › Known Issue
Type › Patch
Type › Report
Type › To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#53003
Loading…
There is no content yet.