MantisBT - ParaView
View Issue Details
0011923ParaViewBugpublic2011-03-03 11:462015-01-11 08:35
Madhura Phadke 
Utkarsh Ayachit 
normaltrivialalways
closedfixed 
UbuntuUbuntu10.04
 
4.03.98.0 
TBD
11923_fix_ffmpeg_fps_issues
incorrect functionality
0011923: Paraview 3.10 RC bits: unable to save animation
I switched to Paraview 3.10.0 RC1 (downloaded from the website) and I get the following error when saving animation as a .avi file:

Generic Warning: In /home/kitware/Projects/ParaView-3.10/source/VTK/IO/vtkFFMPEGWriter.cxx, line 211

Could not open codec.

ERROR: In /home/kitware/Projects/ParaView-3.10/source/VTK/IO/vtkFFMPEGWriter.cxx, line 514

vtkFFMPEGWriter (0x12e902d0): Error initializing video stream.

I noticed this error only when I give frame rate >1. I am able to save animation successfully if I give frame rate as 1fps.
I am using Ubuntu 10.04, and I tried out saving animation of camera in orbit around the contour of a wavelet.
On Paraview 3.10 RC:
1. Create a source, and animate camera along the orbit.
2. Save animation using File Menu.
3. Select the options:
     -Save as .avi file
     -frame rate as 20 fps
Reply from David Partyka to my email:
-------
I can recreate this bug with my own binary but also discovered it seems to work if the frame rate is a power of 2 (2,4,8,16,32,..). I have a feeling something is going wrong possibly computing bit rates etc when initializing ffmpeg. Do you mind also reporting a bug on ParaView.org/Bug.
-------
No tags attached.
Issue History
2011-03-03 11:46Madhura PhadkeNew Issue
2011-03-11 18:34Alan ScottNote Added: 0025762
2011-03-11 18:34Alan ScottNote Added: 0025763
2011-03-11 18:34Alan ScottTarget Version => 3.10.1
2011-03-11 18:34Alan ScottDescription Updatedbug_revision_view_page.php?rev_id=251#r251
2011-03-31 11:24Utkarsh AyachitTarget Version3.10.1 => 3.12
2012-02-29 09:41phsiaoNote Added: 0028328
2012-10-19 02:42Joe BorgNote Added: 0029434
2012-10-24 11:07Utkarsh AyachitProject => TBD
2012-10-24 11:07Utkarsh AyachitType => incorrect functionality
2012-10-24 11:07Utkarsh AyachitTarget Version => 4.0
2012-10-24 17:59Utkarsh AyachitTopic Name => 11923_fix_ffmpeg_fps_issues
2012-10-24 17:59Utkarsh AyachitNote Added: 0029507
2012-10-24 17:59Utkarsh AyachitStatusbacklog => gatekeeper review
2012-10-24 17:59Utkarsh AyachitFixed in Version => git-next
2012-10-24 17:59Utkarsh AyachitResolutionopen => fixed
2012-10-24 17:59Utkarsh AyachitAssigned To => Utkarsh Ayachit
2012-10-29 10:50Utkarsh AyachitFixed in Versiongit-next => git-master
2012-10-29 10:50Utkarsh AyachitStatusgatekeeper review => customer review
2012-10-29 10:50Utkarsh AyachitNote Added: 0029543
2012-10-29 17:04Utkarsh AyachitFixed in Versiongit-master => 3.98.0
2013-01-11 14:11Alan ScottNote Added: 0030101
2013-01-11 14:11Alan ScottStatuscustomer review => closed
2015-01-09 13:47Dave DeMarleSource_changeset_attached => VTK master 3e4819c9
2015-01-09 13:48Dave DeMarleSource_changeset_attached => VTK master ecc05794
2015-01-09 13:48Utkarsh AyachitSource_changeset_attached => VTK master 7973caf8
2015-01-09 13:49Utkarsh AyachitSource_changeset_attached => VTK master d9a0cdf3
2015-01-09 13:49Utkarsh AyachitSource_changeset_attached => VTK master 7850deb7
2015-01-11 08:35Utkarsh AyachitSource_changeset_attached => ParaView master 60101e96
2015-01-11 08:35Utkarsh AyachitSource_changeset_attached => ParaView master 6b6be702

Notes
(0025762)
Alan Scott   
2011-03-11 18:34   
This is still present in 3.10.0 release.
(0025763)
Alan Scott   
2011-03-11 18:34   
Targeting 3.10.1.
(0028328)
phsiao   
2012-02-29 09:41   
This is still present in 3.14.0 release.

System Info:
Mac OS X 10.6.8
CMake 2.8.7
Qt 4.6.3
ffmpeg 0.6.1 and 0.6.5
(0029434)
Joe Borg   
2012-10-19 02:42   
I have the same issue on Linux and OSX
(0029507)
Utkarsh Ayachit   
2012-10-24 17:59   
commit 7850deb7e5f17ab76de2a2ac07ef40d7b7234adf
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Wed Oct 24 17:56:07 2012 -0400

    BUG 0011923. Fix computation of bit-rate-tolerance.
    
    Bit rate tolerance was being computed incorrectly when FrameRate > 1. There is
    no need to specify any bit-rate tolerance, so we simply use the default values,
    unless overridden by the user.
    
    Change-Id: If76321cc2689d64c6be98d23e561801f1d0bf41b
(0029543)
Utkarsh Ayachit   
2012-10-29 10:50   
merged into master, if applicable.
(0030101)
Alan Scott   
2013-01-11 14:11   
I am pretty sure this is fixed. If it is still an issue, please reopen the bug with details how to replicate it (such as what dataset/source to use).

Tested with can.exo, changed fps to 2 in save animation. Worked.

Tested Windows, local server, master.