Latency problem using RTSP/HTTP stream in video texturing in BGE #41603

Closed
opened 2014-08-27 18:16:06 +02:00 by Audrey Fontanet · 9 comments

The attached file latency_videoTexture_debug.blend with a plane and a cone highlights a latency problem when texturing the plane with a rtsp or http stream.

If you play the video of the http link with your Internet navigator and, in the same time, you play the BGE scene, you will notice that, in the blend file, the video is displayed with an increasing delay. (The video end up aroung 6s later).

The bug does not appear with file inputs ou webcam.

My hunch is that there is a problem in FFMPEG default settings with RTSP/HTTP in blender.

The attached file [latency_videoTexture_debug.blend](https://archive.blender.org/developer/F107031/latency_videoTexture_debug.blend) with a plane and a cone highlights a latency problem when texturing the plane with a rtsp or http stream. If you play the video of the http link with your Internet navigator and, in the same time, you play the BGE scene, you will notice that, in the blend file, the video is displayed with an increasing delay. (The video end up aroung 6s later). The bug does not appear with file inputs ou webcam. My hunch is that there is a problem in FFMPEG default settings with RTSP/HTTP in blender.

Changed status to: 'Open'

Changed status to: 'Open'
Jean-Marc Vezien was assigned by Audrey Fontanet 2014-08-27 18:16:06 +02:00

Added subscriber: @afnt

Added subscriber: @afnt

Tried to change default FFMPEG settings (buffer size, numbre of buffer frames) in code, no change. Need expert in FFMEG-based streaming in Blender.

Tried to change default FFMPEG settings (buffer size, numbre of buffer frames) in code, no change. Need expert in FFMEG-based streaming in Blender.

Note: the delay is not stable (as in constant time due to buffering): it increases steadily as the streams goes on.
play speed problem ? bad framerate on output ?

Note: the delay is not stable (as in constant time due to buffering): it increases steadily as the streams goes on. play speed problem ? bad framerate on output ?
Member

Added subscriber: @JorgeBernalMartinez

Added subscriber: @JorgeBernalMartinez
Member

I just tryed the blend (modified to include a working link http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4) and I can not redo your issue.

For me, both videos were playing without any latency issue.

Maybe, it is related to the external player or the OS.

My OS is OpenSuse linux 13.1 and the player Kmplayer

I just tryed the blend (modified to include a working link http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4) and I can not redo your issue. For me, both videos were playing without any latency issue. Maybe, it is related to the external player or the OS. My OS is OpenSuse linux 13.1 and the player Kmplayer
Member

I triage the report as normal but if we don't have any user/developer confirming the bug in the next 2 months I will close the report.

I triage the report as normal but if we don't have any user/developer confirming the bug in the next 2 months I will close the report.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

Closing as no answer in last months.

Closing as no answer in last months.
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
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
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
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
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
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 Info 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
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#41603
No description provided.