Re: [CinCV] Video/Audi sync problem. Can anyone please help?

2012-11-17 Thread Basil Chupin

On 16/11/12 22:09, Raffaella Traniello wrote:

Ciao!


But what is most puzzling is that - and I repeat this once again - I
created 4 parts of a series which are perfectly in sync, whether I
play them in Cinelerra or any of the players, but this last one just
won't sync once it hits Cinlelerra. Well, sorry, not quite correct: I
can get it to sync in Cinelerra using the Nudge facility but when I
render the file this nudge setting is absent and I get a mouth moving
with the sound coming after the mouth has moved on to better things
:-) .


This is puzzling indeed.
You treat all the 4 parts identically but the 4th one reacts differently.


Thanks for the reply, Raffaella.

See my response to Herman for the possible/probable reason/s for the 
sync problem.


I have seen this odd behaviour only with MPEG2 files in Cinelerra and 
I've never found a solution.


Which format/codec are the files you load in Cinelerra?


What I do is convert the captured digital dvb TV files which are *.mpg 
to *.avi to edit in Cinelerra . While Cinelerra does accept these *.mpg 
files they are pixilated etc in Cinelerra so I first convert them.


I have processed and therefore deleted the original files (only kept the 
converted avi files) but the files I am pretty sure had these details:


Input #0, mpeg, from 'Boardwalk_Empire-1.mpg':
  Duration: 01:16:54.02, start: 27349.094089, bitrate: 3774 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 
64:45 DAR 16:9], 1 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc

Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s

BC

--
Using openSUSE 12.2 x86_64 KDE 4.9.3 & kernel 3.6.6-1 on a system with-
AMD FX 8-core 3.6/4.2GHz processor
16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM
Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU


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


Re: [CinCV] Video/Audi sync problem. Can anyone please help?

2012-11-17 Thread Basil Chupin

On 15/11/12 23:53, Herman Robak wrote:
På Thu, 15 Nov 2012 05:07:42 +0100, skrev Basil Chupin 
:



On 15/11/12 02:59, Herman Robak wrote:

[pruned]

You sound like someone who knows something so can you explain this, 
please :-) .


Uh-oh...


:-)

You are being too modest. You know heaps more than anyone here I suspect.

[pruned]


When exactly does the audio start - is it when the audio level meter 
appears on the right-hand side of the Compositor window or when the 
actual *sound* is heard (to match the appearance of the synthesiser)?


When the sound is heard, obviously.


Which is what I thought and which is what I used to set the Audio Default.

With the audio problem I was having I thought it best just to make sure 
that what I did was correct.


Before going on, sorry for not replying earlier but I was doing some 
editing on Cinelerra just to confirm what I will write now


I solved the problem with the audio sync. What had happened was that 
some files on my system were updated and Cinelerra was also updated at 
the same time. This, added to the fact that I am new to Cinelerra and 
therefore still finding my feet, resulted in some setting or something, 
somewhere, being changed. What I have been doing over the past couple of 
days was to go back to "basics" and reset all the preferences and did 
some editing to see if the sync is now holding. Everything is fine now.


However, what I also found is that occasionally the audio would go out 
of sync after some point even though it was fine for most of the file 
prior to that point. Pinpointing the reason took a bit of time. What was 
causing the problem was that a few frames were somehow corrupted[*] and 
as a result threw the audio and video out of sync subsequent to these 
corrupted frames. Once I found the cause, I used the Video Effect "Delay 
Video" [by 0.7 seconds in my case] from that point to the end of the 
file - and the video/audio were in sync again.


A most valuable learning experience was had over the past few days :-) .

[*] When playing back the file at normal speed these frames were not 
even noticeable - but the video/audio mismatch was certainly noticeable.


[pruned]

BC

--
Using openSUSE 12.2 x86_64 KDE 4.9.3 & kernel 3.6.6-1 on a system with-
AMD FX 8-core 3.6/4.2GHz processor
16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM
Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU



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