Re: [CinCV] AVCHD editing in cinelerra?

2008-06-29 Thread U.G. Cinelerra

Herman Robak wrote:

sorry for asking, but how good is the support for AVCHD video editing in
cinelerra just now? 



 Pretty absent.  The handling of h.264 is buggy, to put it nicely.
  

Bummer... I thought and hoped it's becaus of my setup here...


lt-cinelerra: h264.c:4016: decode_ref_pic_marking: Assertion
`h->long_ref_count + h->short_ref_count <= h->sps.ref_frame_count' failed.
Aborted

How can I prevent this? I don't wanna convert the whole HD footage to
thousands of png-frames to be able to edit it. 



 Nor would I.  Decoding PNGs is too slow for HD, and your hard disk 
can hardly move that much data in real time.  Even a HD JPEG sequence 
is pretty heavy, unless you have awesome hardware.
  


I dumped it with mplayer in yuv4mpeg or something, but it came to about 
2.9gig for about
40 seconds footage. That's not very handy and I don't wanna think about 
editign an hour or more...


Are there any patches or a way I can 'simply' remultiplex the 
av file before feeding it into cinelerra to prevent it?



 I doubt this is just a muxing problem.  My suggested workaround 
would be recoding into MPEG2 at the same resolution, which Cinelerra 
supports quite well.  You still need a hefty computer, though.
  
Do you have an Idea how I could convert it without any *viewable* 
quality loss to mpeg2? It should be much smaller than

1gig per 10 secs though...
BTW: Somewhere I read about a faulti codec in most of the avchd 
camcorders which leads into wrong filesizes which, for example,

makes mplayer and cinelerra crash because they come kind of 'out of sync'.
The outputted console errors aim to the same direction I think and since 
the manufacuterers commonly ignore their faults it's the software whicht

has to become more fault-tolerant;-)

 When HDV arrived a few years ago, Cinelerra happened to support it. 
Not quite so with AVCHD.  AVCHD is even less ideal for editing than 
long-GOP HDV (1080i HDV), so Cinelerra should have some user friendly 
proxy editing support.
  
The Problem is, nearly every new HD cam on the marked records in AVCHD 
or a similar way (MP4 + some sort of compressed audio) so I
think it's mandatory for cinelerra to support it in a convinient way, 
without converting before editing.



Cheers,

Uli


___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] AVCHD editing in cinelerra?

2008-06-29 Thread U.G. Cinelerra

Hi,

sorry for asking, but how good is the support for AVCHD video editing in
cinelerra just now? I plan to
buy a  Samsung SC-HMX10 or a Panasonic HDC-SD5 camcorder and  got some
footage from them on a SD card
from the local dealer.
It seems if it's 'normal' MP4 (h.264) with AAC as audio - at least for
the samsung, the panasonic records in ac-3 I think.

Nevertheless, after inserting a samsung mp4/aac file into cinelerra,
after a few seconds it crashes with some kind of
weired h.264 errors and a simple 'aborted' at the end (which is
somewhere in the middle of the file...)


Like this:


Cinelerra 2.1CV  SVN 1058M  (C) 2006 Heroine Virtual Ltd.
Internal ffmpeg
Compiled on So 29. Jun 00:48:06 CEST 2008


[h264 @ 0x7fa84d59bfd0]AVC: Consumed only 238410 bytes instead of 238418
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]AVC: Consumed only 238410 bytes instead of 238418
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]AVC: Consumed only 46480 bytes instead of 46492
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 22

[...]

[h264 @ 0x7fa84d59bfd0]decode_slice_header error
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 0
[h264 @ 0x7fa84d59bfd0]Unknown NAL code: 30
[h264 @ 0x7fa84d59bfd0]concealing 8160 DC, 8160 AC, 8160 MV errors
[h264 @ 0x7fa84d59bfd0]AVC: Consumed only 55401 bytes instead of 55412
lt-cinelerra: h264.c:4016: decode_ref_pic_marking: Assertion
`h->long_ref_count + h->short_ref_count <= h->sps.ref_frame_count' failed.
Aborted


How can I prevent this? I don't wanna convert the whole HD footage to
thousands of png-frames to be able to edit it. Are there any patches or a
way I can 'simply' remultiplex the av file before feeding it into
cinelerra to prevent it?


BTW: Before that, I used for my normal DV editing a rather old version
of cinelerra (I think September 2007 or so) which had a quiet
simila effekt but crashes way earlier than the CSV version does.


Thanks a lot for your help!


Cheers,

Uli







___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra