Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: Audio/Video Sync after remultiplexing



"Marcus O.C. Metzler" wrote:
> 
> Axel Gruber writes:
>  > If anyone knows another Multiplexer for Linux pleas contact me by Mail.
>  > (i have tryed MPLEXLO, MPLEXHI, MPLEX(from LEO), VCDMULTIPLEX, STREAMPLEX)
>  >
> 
> OK, I worked on the remux program this week and I got it so far that
> ZDF and ARD are much better now. There is still the occasional video
> buffer underrun, but audio works fine and synching also seems to be
> ok. I will check the new sources into the public CVS as soon as
> possible. You can use it with : remux <filename> PESsize buffersize*x
> or like this :    remux PESsize buffersize*x  < <filename>
> E.g. remux zdf.mpg 2048 1 >/dev/video, also works, so there is no long
> wait for remuxing. I haven't tested vary large files yet, because I
> haven't recorded any.
> 
> If you vary the PESsize you get different results, also depending on
> the original file. The buffer multiplier is not that influential, was
> just for testing. It's not perfect yet, but better than nothing.

I just fetched a clean copy of the current CVS source and tried to compile it
by doing

  cd driver
  make
  cd ../libdvb
  make
  cd ../apps
  make

as suggested in the INSTALL file.

What happened was that I get an error message from 'make'
in the 'apps' directory:

----------------------------------------------------------------------
In file included from av_pes2any/av_pes2any.hh:39,
                 from gdvb.cc:26:
av_pes2any/av_pes2anyc.h:42: ringbuffy.h: No such file or directory
----------------------------------------------------------------------

After changing this line in apps/gVideo/av_pes2any/av_pes2anyc.h:

----------------------------------------------------------------------
42c42
< #include <ringbuffy.h>
---
> #include "../ringbuffy.h"
----------------------------------------------------------------------

it compiled (am I doing something wrong here or do you have some settings
that are not in the Makefile?).

I then searched for the file named 'remux', but there was none.
Looking into the apps/gVideo/av_pes2any directory I saw that the make
hadn't done anything there, so I called it explicitly in that directory,
which gave me the following error messages:

----------------------------------------------------------------------
gcc     -c -g -Wall  -I../../../driver -I../  av_pes2anyc.c
av_pes2anyc.c: In function `vring_peek':
av_pes2anyc.c:3753: warning: implicit declaration of function `ring_peek'
av_pes2anyc.c: In function `remux':
av_pes2anyc.c:4227: warning: int format, long int arg (arg 4)
av_pes2anyc.c:4227: warning: int format, long int arg (arg 6)
av_pes2anyc.c:4237: warning: int format, long int arg (arg 5)
g++ av_pes2any.o main.o av_pes2anyc.o ../ringbuffy.o  -lpthread -o av_pes2any
av_pes2anyc.o: In function `vring_peek':
/home/kls/vdr/DVB.new3/apps/gVideo/av_pes2any/av_pes2anyc.c:3753: undefined reference to `ring_peek'
av_pes2anyc.o: In function `aring_peek':
/home/kls/vdr/DVB.new3/apps/gVideo/av_pes2any/av_pes2anyc.c:3764: undefined reference to `ring_peek'
collect2: ld returned 1 exit status
make: *** [av_pes2any] Error 1
----------------------------------------------------------------------

Again I have to ask if I'm doing something wrong here or wheter there
is still a difference between your current source and the CVS copy.

Greetings
Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with unsubscribe as subject.



Home | Main Index | Thread Index