http://bugs.cinelerra.org/show_bug.cgi?id=507
Summary: x264 fails when rendering to a h264 video; prints "x264
[error]: no ratecontrol method specified" and then
segmentation faults while GUI hangs forever
Product: Cinelerra
Version: 2.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: Rendering
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I am using Ubuntu 8.04 with all the latest updates installed.
cinelerra --version prints:
Cinelerra 2.1CV (C) 2006 Heroine Virtual Ltd.
Compiled on lun giu 30 11:09:09 UTC 2008
This used to work up to roughly May 2008. Then an update caused the problem.
I open a trivial project (e.g. just a png image) and then I try to render it
with container "Quicktime for Windows" and video stream set to "H.264".
The GUI hangs forever. On the xterm it prints:
cinelerra Template.cinelerra.project.080307.xml
Cinelerra 2.1CV (C) 2006 Heroine Virtual Ltd.
Compiled on lun giu 30 11:09:09 UTC 2008
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.
PluginServer::open_plugin: /usr/lib/cinelerra/threshold.so: undefined symbol:
__sync_fetch_and_add_4
Render::run 1
Render::run 2
Render::run 3
Render::run 4
Render::run 5
Render::run 6
Render::run 7
Render::run 8
Render::run 8.1
Render::run 8.2
Render::run 8.3
Render::run 9
Render::run 10
x264 [error]: no ratecontrol method specified
signal_entry: got SIGSEGV my pid=29941 execution table size=16:
vrender.C: process_buffer: 113
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
bchash.C: copy_from: 255
bchash.C: copy_from: 258
bchash.C: copy_from: 267
signal_entry: lock table size=22
0x8cd4918 TransportQue::output_lock PlaybackEngine::run
0x8cd4f60 MainIndexes::input_lock MainIndexes::run 1
0x8c3a270 TransportQue::output_lock PlaybackEngine::run
0x8ed6e08 LoadClient::input_lock LoadClient::run
0x8f3d428 LoadClient::input_lock LoadClient::run
0x8589c70 BC_Synchronous::next_command BC_Synchronous::run
0x8f3f070 LoadClient::input_lock LoadClient::run
0x8d3acd8 ResourceThread::draw_lock ResourceThread::run
0x8d68a28 BC_Repeater::pause_lock BC_Repeater::run
0x8bde498 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8c570e8 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8a305d0 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8b4b6c8 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8c3ba00 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8d6a038 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8cd6d68 BC_WindowBase::event_condition BC_WindowBase::get_event
0x900af78 FileThread::output_lock FileThread::run 1
0x904ab58 LoadClient::input_lock LoadClient::run
0x908c318 LoadClient::input_lock LoadClient::run
0x900b830 FileThread::input_lock FileThread::get_video_buffer
0x900b648 FileThread::file_lock FileThread::run 2 *
0x908c590 LoadClient::input_lock LoadClient::run
BC_Signals::dump_buffers: buffer table size=0
BC_Signals::delete_temps: deleting 0 temp files
SigHandler::signal_handler total files=1
Closing /home/manfred/Desktop/ToDo/cinelerra2/output.m4ah264.mp4
The key lines are:
x264 [error]: no ratecontrol method specified
signal_entry: got SIGSEGV my pid=29941 execution table size=16:
I searched on Google and found that the x264 lib has changed and that the rate
control parameter was optional in the past and is now a required parameter. I
suspect that this causes the problem (that cinelerra does not pass the now
required rate control parameter to x264).
I have the latest Ubunti libx264 installed:
libx264-57 x264 video coding library 1:0.svn20071224-0.0ubuntu1
As I said, this worked in the past.
Reproducible: Always
Steps to Reproduce:
1. create a very simple project (anything to render, e.g. an image)
2. go to File menu, chose "Render"
3. select "Quicktime" as container and H.264 as video stream, and MP4 as audio
stream
4. click "OK" to render
5. it hangs at 0% forever, look at the xterm console to see the error msgs
Actual Results:
GUI hangs. Xterm prints stated error message. No video is rendered. A useless
16-byte output file is created instead of the expected video.
Expected Results:
Video rendered and a valid video file created.
--
Configure bugmail: http://bugs.cinelerra.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra