[CinCVS] MPEG Video - Audio sync problem on Debian Etch AMD64

2007-05-16 Thread Pieter Thysebaert
Hello,

I'm using Cinelerra 2.1.0-2svn20070209 on Debian Etch AMD64 from 
http://giss.tv ./ Packages.

When opening an MPEG Video clip (mpeg1video, mp3 audio, converted from
flash video using ffmpeg) of several minutes (the video plays just fine
in Xine) , I have the following problem.
When playing the video, audio and video are in sync at the beginning.
However, as the video progresses, the audio starts to lag (about 1s per
minute of video).
The audio and video tracks are of equal length in the main window and
show up as such. 

Due to the audio lagging, I can not get the last part of the audio to
play - it simply seems missing from the audio track (although the audio
and video tracks show up as being of equal length). Even when I only
send the audio track to the Compositor window, I never hear the last part.

This audio lag (and missing endpiece) also affects rendering to (at
least) MPEG1 video and mp3 audio. The lag is just the same in the
rendered file as in the compositor window. Actually what happens is when
I cut some part of both video and audio tracks, I have part of the video
track and a delayed part of the audio track, which then results in a
no-good output file.

I have googled for mpeg sync problems and have some people with similar
problems, but have not found an effective answer to my problem.

Does anyone know what's going on?

Thanks,
Pieter

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


[CinCVS] newbie - X11-XV output screw up, ?

2006-12-30 Thread Pieter Thysebaert
Hello,

Now that I'm able to edit my mpg video clips on Debian etch I have
noticed the following problem

When rendering to mpeg2 video (I have copied /usr/bin/mpeg2enc to
mpeg2enc.plugin) and mp3 audio (and combining the output files with
mplex), playing this resulting file in the viewer yields messed up
colors. Playing it in xine or vlc on the same X server also gives the
messed up colors. Howeever, the file is OK as playing it on a freshly
started X display yields the desired result.

I am using X11-XV video output.

Is this a known problem?

Also, rendering to theora/vorbis yields the same result in xine. Alas, I
cannot load the rendered file in cinelerra, it crashes with things like

Cinelerra 2.1CV (C) 2006 Heroine Virtual Ltd.
Compiled on Thu Dec 28 02:49:32 CET 2006
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.
signal_entry: got SIGSEGV my pid=12306 execution table size=16:
mwindow.C: load_filenames: 1052
mwindow.C: load_filenames: 1056
mwindow.C: load_filenames: 1134
mwindow.C: load_filenames: 1139
mwindow.C: load_filenames: 1142
mwindow.C: load_filenames: 1144
mwindow.C: load_filenames: 1147
mwindow.C: load_filenames: 1151
FileOGG::open_file 60
mwindow.C: load_filenames: 1153
FileOGG::open_file 60
vrender.C: run: 414
vrender.C: process_buffer: 103
vrender.C: process_buffer: 113
vrender.C: run: 416
vrender.C: run: 555
signal_entry: lock table size=11
0x857c798 BC_Synchronous::next_command BC_Synchronous::run
0x8c529d0 TransportQue::output_lock PlaybackEngine::run
0x8bde5a8 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8bcae20 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8ce13c8 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8b0bcd8 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8cb0ad0 ResourceThread::draw_lock ResourceThread::run
0x8bc9608 TransportQue::output_lock PlaybackEngine::run
0x89f93c8 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8c54d38 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8b74748 BC_WindowBase::event_condition BC_WindowBase::get_event
0x8ce6ed50 IndexThread::output_lock IndexThread::run
BC_Signals::dump_buffers: buffer table size=0
BC_Signals::delete_temps: deleting 0 temp files
SigHandler::signal_handler total files=0
Aborted



Any ideas on the X11-XV output?

Thanx,

Pieter

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


Re: [CinCVS] newbie - X11-XV output screw up, ?

2006-12-30 Thread Pieter Thysebaert
Kevin Brosius wrote:
 On 2006-12-30 12:50, Pieter Thysebaert wrote:
   
 Hello,

 Now that I'm able to edit my mpg video clips on Debian etch I have
 noticed the following problem

 When rendering to mpeg2 video (I have copied /usr/bin/mpeg2enc to
 mpeg2enc.plugin) and mp3 audio (and combining the output files with
 mplex), playing this resulting file in the viewer yields messed up
 colors. Playing it in xine or vlc on the same X server also gives the
 messed up colors. Howeever, the file is OK as playing it on a freshly
 started X display yields the desired result.

 I am using X11-XV video output.
 

 XV is a video overlay provided by your video driver/Xserver.  Does the
 standard X11 output driver in cinelerra work ok?  What video card and
 Xserver/driver are you using?  Especially if you also see it in xine,
 this is most likely a driver/Xserver issue.
   

It probably is.

I'm on X.org 7.0 with an Intel 945GM integrated video chip (Dell laptop...).


Pieter

   


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


[CinCVS] Newbie - problem with simple MPEG clip playback

2006-12-29 Thread Pieter Thysebaert
Hello,

I'm currently running Debian Etch and have installed cinelerra today from
deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./

I also have deb http://www.debian-multimedia.org sid main in my
sources.list (next to the etch entry for the same repository)

The package cinelerra installs fine, but it chokes on MPEG video created
with ffmpeg from youtube FLV files.

Symptoms: pressing play in the viewer just skips the timeline to the
end of the video, while just making a popping sound (using the ALSA
sound driver)

ffmpeg -i says about the file
Input #0, mpeg, from 'brent.mpg':
  Duration: 00:03:53.6, start: 0.50, bitrate: 570 kb/s
  Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240, 104857 kb/s,
25.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 22050 Hz, mono, 56 kb/s

Cinelerra media info lists 2 audio channels 22050 Hz (bits: unknown),
320x240 video 25fps

This mpg file was created from a flv file using ffmpeg by issuing the
command

ffmpeg -i brent.flv -ab 56 -ar 22050 -b 500 -s 320x240 brent.mpg


I have similar problems with other mpg files created from flv files; i'm
using an ffmpeg version on my Debian sarge box:
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --libdir=${prefix}/lib
--incdir=${prefix}/include/ffmpeg --enable-shared --enable-mp3lame
--enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis
--enable-pthreads --enable-faac --enable-xvid --enable-dts
--enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-a52
--enable-theora --enable-libgsm --enable-x264 --enable-a52bin
  libavutil version: 49.0.0
  libavcodec version: 51.7.0
  libavformat version: 50.3.0
  built on Mar 18 2006 07:27:38, gcc: 3.3.5 (Debian 1:3.3.5-13)


The same clips can be played in MainActor demo version 5.5.37 (without
sound though).


So I suppose my questions come down to:

1. Is a normal working cinelerra from kiberpipa supposed to support the
mpg files I'm trying to feed it?
2. Has anyone tried to run cinelerra on debian etch with minimal sid
packages?
3. Maybe some more packages from Debian multimedia on my system need to
be upgraded from etch to sid?


Thanx,

Pieter

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


Re: [CinCVS] Newbie - problem with simple MPEG clip playback

2006-12-29 Thread Pieter Thysebaert
Nicolas Maufrais wrote:
 Hello,

 Could you put somewhere on the internet the mpeg file brent.mpg, or
 brent.flv? That way we could have a look at it.

 Nicolas.

   

Thx for your quick response;

for starters, I have found my mistake: the flv video contains mp3
audio (single track 22050 Hz).
When encoding to brent.mpg, audio was encoded as mp2 mono and
mis-recognized in cinelerra as having two tracks.

When I gave the additional option -acodec mp3 to ffmpeg, I have created
a brent2.mpg file which is now correctly recognized by cinelerra as
having a single audio track; playback now seems to work as normal.

When I go back to work in January, I might upload the files (asymmetric
broadband at home), but the only difference in ffmpeg encoding I used
is the -acodec mp3 switch. Interestingly though, ffmpeg -i on both files
still reads

Input #0, mpeg, from 'brent.mpg':  -- without -acodec
mp3 switch
  Duration: 00:03:53.6, start: 0.50, bitrate: 570 kb/s
  Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240, 104857 kb/s,
25.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 22050 Hz, mono, 56 kb/s

Input #0, mpeg, from 'brent2.mpg' -- with -acodec mp3
switch:
  Duration: 00:03:53.7, start: 0.50, bitrate: 570 kb/s
  Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240, 104857 kb/s,
25.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 22050 Hz, mono, 56 kb/s


Which looks the same to me, although the file sizes are different (by a
little) and only the latter file works ok in cinelerra.

Pieter


 On Fri, Dec 29, 2006 at 06:23:28PM +0100, Pieter Thysebaert wrote:
   
 Hello,

 I'm currently running Debian Etch and have installed cinelerra today from
 deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./

 I also have deb http://www.debian-multimedia.org sid main in my
 sources.list (next to the etch entry for the same repository)

 The package cinelerra installs fine, but it chokes on MPEG video created
 with ffmpeg from youtube FLV files.

 Symptoms: pressing play in the viewer just skips the timeline to the
 end of the video, while just making a popping sound (using the ALSA
 sound driver)

 ffmpeg -i says about the file
 Input #0, mpeg, from 'brent.mpg':
   Duration: 00:03:53.6, start: 0.50, bitrate: 570 kb/s
   Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240, 104857 kb/s,
 25.00 fps(r)
   Stream #0.1[0x1c0]: Audio: mp2, 22050 Hz, mono, 56 kb/s

 Cinelerra media info lists 2 audio channels 22050 Hz (bits: unknown),
 320x240 video 25fps

 This mpg file was created from a flv file using ffmpeg by issuing the
 command

 ffmpeg -i brent.flv -ab 56 -ar 22050 -b 500 -s 320x240 brent.mpg


 I have similar problems with other mpg files created from flv files; i'm
 using an ffmpeg version on my Debian sarge box:
 FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:  --prefix=/usr --libdir=${prefix}/lib
 --incdir=${prefix}/include/ffmpeg --enable-shared --enable-mp3lame
 --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis
 --enable-pthreads --enable-faac --enable-xvid --enable-dts
 --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-a52
 --enable-theora --enable-libgsm --enable-x264 --enable-a52bin
   libavutil version: 49.0.0
   libavcodec version: 51.7.0
   libavformat version: 50.3.0
   built on Mar 18 2006 07:27:38, gcc: 3.3.5 (Debian 1:3.3.5-13)


 The same clips can be played in MainActor demo version 5.5.37 (without
 sound though).


 So I suppose my questions come down to:

 1. Is a normal working cinelerra from kiberpipa supposed to support the
 mpg files I'm trying to feed it?
 2. Has anyone tried to run cinelerra on debian etch with minimal sid
 packages?
 3. Maybe some more packages from Debian multimedia on my system need to
 be upgraded from etch to sid?


 Thanx,

 Pieter

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

 

   


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