The SetRate() function of vtkFFMPEGWriter is not working
"yirui1210" <[email protected]>
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, VTKer I am using vtkFFMPEGWriter to write a video, no matter the frame rate I set, the output video is still 600 frames/sec. The code I used has been attached. Can anybody check the problem for me? Thank you so much. Regards, YiRui _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/vtkusers
[email protected]
(image/jpeg, 4.9 KB) - not displayed
1.png
(application/octet-stream, 4.9 KB) - not displayed
CMakeLists.txt
(application/octet-stream, 303 B)
cmake_minimum_required(VERSION 2.8)
PROJECT(FFMPEG)
find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
add_executable(FFMPEG MACOSX_BUNDLE FFMPEG.cxx)
if(VTK_LIBRARIES)
target_link_libraries(FFMPEG ${VTK_LIBRARIES})
else()
target_link_libraries(FFMPEG vtkHybrid vtkWidgets)
endif()
FFMPEG.cxx
(application/octet-stream, 1 KB) - not displayed