Unable to produce AVI with sound on Window 7 64-bit system. #30633

Closed
opened 2012-03-22 09:01:08 +01:00 by Matthew Gayton · 13 comments

%%%Greetings all.

I am doing a lip-synch tutorial with Blender 2.62.0 r44136 Release Version;
Intel i7 2600K 3.4 GHz,
Windows 7 Ultimate 64 bit Service Pack 1
ATI Radeon HD 7970 / 3GB GDDR5 memory

In the sequence editor I have an image strip of 85 png frames and a 16 bit 44100 WAV.

Under 'Output' in the 'Render' context if I select AVI (codec or RAW) it will output the png's as an AVI movie (silent) just fine (I assume that both of those options are designed for non-sound output.) However, if I select MPEG, and then under the 'Encoding' section I choose AVI as 'Format' and PCM as 'Audio Codec' the file produced has audio but no video. This is true whether I choose 'None' as a video codec, Mpeg 1, Mpeg 2, HuffYUV, Theora, Flash Video, FFMped, or QTRLE (though the last one does open a black page the correct size of my rendered images there is no animation shown.

Mpeg 4 and H.264 output an AVI with both sound and animation, but the animation blasts by in less than a second while the audio plays normally, so it isn't really useful.

I've also tried with other audio codecs but I really need my output as uncompressed PCM. AAC and AC3 won't encode the audio.

It seems to me that something isn't working, unless I've missed a setting somewhere (always possible!)

Thanks for checking this out for me.

Cheers!

  • Matthew%%%
%%%Greetings all. I am doing a lip-synch tutorial with Blender 2.62.0 r44136 Release Version; Intel i7 2600K 3.4 GHz, Windows 7 Ultimate 64 bit Service Pack 1 ATI Radeon HD 7970 / 3GB GDDR5 memory In the sequence editor I have an image strip of 85 png frames and a 16 bit 44100 WAV. Under 'Output' in the 'Render' context if I select AVI (codec or RAW) it will output the png's as an AVI movie (silent) just fine (I assume that both of those options are designed for non-sound output.) However, if I select MPEG, and then under the 'Encoding' section I choose AVI as 'Format' and PCM as 'Audio Codec' the file produced has audio but no video. This is true whether I choose 'None' as a video codec, Mpeg 1, Mpeg 2, HuffYUV, Theora, Flash Video, FFMped, or QTRLE (though the last one does open a black page the correct size of my rendered images there is no animation shown. Mpeg 4 and H.264 output an AVI with both sound and animation, but the animation blasts by in less than a second while the audio plays normally, so it isn't really useful. I've also tried with other audio codecs but I really need my output as uncompressed PCM. AAC and AC3 won't encode the audio. It seems to me that something isn't working, unless I've missed a setting somewhere (always possible!) Thanks for checking this out for me. Cheers! - Matthew%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%After investigation of this issue found that that's only AC3 and AAC doesn't work, PCM is working fine here. The only issue with PCM is that different applications doesn't some combinations of container format. video and audio codecs. And which is much worse -- different applications doesn't support different combinations, so can not actually recommend something more useful than just manually figure out which combination will work for your usecase. But for me rendered files were always playing fine in blender itself, so it's not actually failure of blender.
About AAC -- we can not actually support it officially. It requires FFmpef be compiled with faac library which makes it incompatible with GPL and library itself can not be redistributed. I'd recommend to disable this codec from the UI.
So the only is is with AC3 codec. From develoepr's POV found issue with sample_fmt setting to incompatible with this codec value. But it's not the only issue. Even with fixed sample_fmt rendered fiel contains noise instead of audio and file is only few kilobytes large (input audio file was several megabytes).
Peter, can you please help figuring out issue AC3 codec here?%%%

%%%After investigation of this issue found that that's only AC3 and AAC doesn't work, PCM is working fine here. The only issue with PCM is that different applications doesn't some combinations of container format. video and audio codecs. And which is much worse -- different applications doesn't support different combinations, so can not actually recommend something more useful than just manually figure out which combination will work for your usecase. But for me rendered files were always playing fine in blender itself, so it's not actually failure of blender. About AAC -- we can not actually support it officially. It requires FFmpef be compiled with faac library which makes it incompatible with GPL and library itself can not be redistributed. I'd recommend to disable this codec from the UI. So the only is is with AC3 codec. From develoepr's POV found issue with sample_fmt setting to incompatible with this codec value. But it's not the only issue. Even with fixed sample_fmt rendered fiel contains noise instead of audio and file is only few kilobytes large (input audio file was several megabytes). Peter, can you please help figuring out issue AC3 codec here?%%%
Author

%%%Thank you for taking a look at it for me.

I am a bit unclear on your response. Are you able to produce an AVI that has both sound and picture that can be used outside of Blender? I have no need to for AC3 or AAC, and even if I render out an AVI with out any sound compression at all I still get sound but no picture. So as far as getting a file out of Blender it seems that I can either have an AVI without sound (which pretty much negates the usefulness of the video sequencer for doing lip-synch) or an AVI file that plays the audio but doesn't show a picture.

PCM worked fine for me too, as far as creating an AVI that had audio that played; the problem was that there was no video to go with it.

I don't think I worded my bug description properly. Sorry.

Cheers!

  • Matthew%%%
%%%Thank you for taking a look at it for me. I am a bit unclear on your response. Are you able to produce an AVI that has both sound and picture that can be used outside of Blender? I have no need to for AC3 or AAC, and even if I render out an AVI with out any sound compression at all I still get sound but no picture. So as far as getting a file out of Blender it seems that I can either have an AVI without sound (which pretty much negates the usefulness of the video sequencer for doing lip-synch) or an AVI file that plays the audio but doesn't show a picture. PCM worked fine for me too, as far as creating an AVI that had audio that played; the problem was that there was no video to go with it. I don't think I worded my bug description properly. Sorry. Cheers! - Matthew%%%
Author

%%%Here is a more concrete example:

In a Blender sequencer window I have loaded my 85 png frames as an image strip and a WAV audio file (16bit 44100).

In my render settings I have output as MPEG, RGB, and under Encoding I have selected AVI with no compression codec at all, and PCM audio. I then render it out to an AVI file. Playing that file in Windows Media Player plays the audio but shows no picture. Pulling that file into Sony Vegas shows it to contain audio information but no video frames at all.

I get exactly the same kind of AVI file from Blender regardless of whether I use no codec or most of the included codecs (and the few that produce video either have no audio or play the video frames at super-high-speed in the first half-second of play while running the audio normally.) The audio is nearly always there, but the video isn't - so I should have titled my bug report 'Unable to produce AVI with video in Windows 7 64 bit'.

Hope that makes more sense.

  • Matthew%%%
%%%Here is a more concrete example: In a Blender sequencer window I have loaded my 85 png frames as an image strip and a WAV audio file (16bit 44100). In my render settings I have output as MPEG, RGB, and under Encoding I have selected AVI with no compression codec at all, and PCM audio. I then render it out to an AVI file. Playing that file in Windows Media Player plays the audio but shows no picture. Pulling that file into Sony Vegas shows it to contain audio information but no video frames at all. I get exactly the same kind of AVI file from Blender regardless of whether I use no codec or most of the included codecs (and the few that produce video either have no audio or play the video frames at super-high-speed in the first half-second of play while running the audio normally.) The audio is nearly always there, but the video isn't - so I should have titled my bug report 'Unable to produce AVI with video in Windows 7 64 bit'. Hope that makes more sense. - Matthew%%%

%%%My tests with image sequences went smoothly here on windows and linux. Having .blend file will help a lot figuring out issue.%%%

%%%My tests with image sequences went smoothly here on windows and linux. Having .blend file will help a lot figuring out issue.%%%
Author

%%%Thanks for checking this up for me. Much appreciated. Attached is the .blend file I am using (though from your reaction to my query I suspect that something that Blender is calling to do the encoding isn't on my system or not set up on my system properly - as I don't think you are getting the same results on your end.)%%%

%%%Thanks for checking this up for me. Much appreciated. Attached is the .blend file I am using (though from your reaction to my query I suspect that something that Blender is calling to do the encoding isn't on my system or not set up on my system properly - as I don't think you are getting the same results on your end.)%%%
Author

%%%Sorry I was unable to upload the audio file as I kept getting a 'missing parameters' error. When I packed the audio file into the .blend file it was 80k over the 5 Meg limit.%%%

%%%Sorry I was unable to upload the audio file as I kept getting a 'missing parameters' error. When I packed the audio file into the .blend file it was 80k over the 5 Meg limit.%%%
Member

%%%This this was ment for Peter Schaile, not Peter Larabell? changing%%%

%%%This this was ment for Peter Schaile, not Peter Larabell? changing%%%

%%%Closed duplicate report http://projects.blender.org/tracker/index.php?func=detail&aid=32053&group_id=9&atid=498

Peter, is there any progress here?%%%

%%%Closed duplicate report http://projects.blender.org/tracker/index.php?func=detail&aid=32053&group_id=9&atid=498 Peter, is there any progress here?%%%

%%%Hi Peter,
any updates? :) %%%

%%%Hi Peter, any updates? :) %%%
%%%Closed duplicate report http://projects.blender.org/tracker/index.php?func=detail&aid=33232&group_id=9&atid=498%%%

%%%AAC/AC3 issues should be solved in svn rev52438. Think we can consider this issue solved.%%%

%%%AAC/AC3 issues should be solved in svn rev52438. Think we can consider this issue solved.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
4 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#30633
No description provided.