http://bugs.cinelerra.org/show_bug.cgi?id=265
Summary: ffmpeg no longer reads Cinelerra-created AVI files
Product: Cinelerra
Version: 2.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: Rendering
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I noticed that when I was using the 2.0 release, I could render files as
Microsoft AVI and compress them to other formats easily using ffmpeg.
With the CV branch, this no longer works. Any attempt to read a
Cinelerra-created AVI file in ffmpeg results in an "Error while opening file"
message.
I tracked down the cause of this to a patch from August 2004:
https://init.linpro.no/pipermail/skolelinux.no/cinelerra-commits/2004-August/000706.html
User: baver
Date: 04/08/30 20:07:34
Modified: cinelerra/hvirtual/quicktime quicktime.c
Log:
remove quicktime_set_position for JUNK at the end of avi finalization.
(otherwise data and the idx1 header is
overwritten)
If I reinsert into quicktime.c the two lines deleted by the patch in, ffmpeg
will happily parse the AVI file again.
Also, mplayer complains about the CV AVI files too, but still plays it.
ODML (00dc): [0] 0x00000000001fc428 0x0000 168
Broken chunk? chunksize=0 (id=JUNK)
stream_seek: WARNING! Can't seek to 0x6E100806 !
The original premise of the patch seems to be correct, as I can't find an idx1
header in the 2.0 AVI files , so it does appear to be overwriting it. However,
I don't think removing the quicktime_set_position is the right way to fix the
problem, as the junk header then just seems to overwrite data closer to the
start of the file instead of the end. This seems to be what trips up ffmpeg
(and causes mplayer to complain).
------- 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