Mailing List archive

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

[linux-dvb] Re: VDR files to VOB



Hi Antonio

Did you find a solution to your problem ?

Antonio wrote
> I tryed to find a procedure to convert a VDR file (PES) to a VOB:
> 1) demux to audio and video with mplex or PVAStrumento;
> 2) mux in an ordinary MPEG2(PS) file, recognized bya DVD authoring software, by TMPEGenc or vux directly it into a VOB.
> In every case I found an A/V sync problem, due to step 1, I coudn't fix: mplex produces a different speed of audio and video; PVAStrumento produces bad sound for the first 1-3 seconds and good audio and sync for the following.
> Does anybody know a better procedure?
> I read on linuxdvb FAQ that there is a module parameter in the driver to choose between  recording formats (included PS), but in latest version of the driver there is no trace of this parameter or a function call to set recording format to PS (actually there is no trace of PS format handling).
> Am I right? If yes, why this feature has been removed?

I'm trying to use either

  $ dvbstream -f 11954 -p H -s 27500 -o  510 520 | pes2ts2 520 510 |ts_ps 510 520

or

  $ dvbstream -f 11954 -p H -s 27500 -o -ps 510 520 >test.vob

or pesdump and pes2ts and ts2ps.

In all cases I end up with a MPEG-2 file which the following programs
has serious problems with (sync problems, crashes etc.)

	a) FlaskMPEG
	b) VirtualDub
	c) transcode
	e) xmovie (libmpeg3 from Virtual Heroine)

When using dvbstream to directly creating a vob file, xmovie complains as shown
---------------------------------------------------------------
xmovie pmm2_ps.vob
XMovie (c) 2001 Heroine Virtual
mpeg3_III_get_side_info: big_values too large!
mpeg3_III_get_side_info: big_values too large!
mpeg3audio_new: layer 1 not supported
mpeg3_III_get_side_info: big_values too large!
mpeg3audio_III_dequantize_sample: Can't rewind stream 1494 bits!
mpeg3audio_new: layer 1 not supported
mpeg3_III_get_side_info: big_values too large!
Blocktype == 0 and window-switching == 1 not allowed.
Blocktype == 0 and window-switching == 1 not allowed.
----------------------------------------------------------------

This results in a lot of squares in the picture and audio is mostly
clipping and chipping sounds. FlaskMPEG has the same problems but
also dies.

Transcode reports this (and dies). Obviously something is seriously wrong with
timing.

  $  transcode -i pmm2_ps.vob -y mpeg -o pmm.mpg 2>&1
transcode v0.6.0pre4-20020324 (C) 2001-2002 Thomas Östreich
[transcode] auto-probing source pmm2_ps.vob (ok)
[transcode] V: import format    | MPEG    (V=null|A=mp3)
[transcode] V: AV demux/sync    | (mode=0) disabled
[transcode] V: import frame     | disabled
[transcode] V: encoding fps     | 25.000
[transcode] A: import format    | 0x50    MPEG layer-2 [48000,16,1]  128 kbps
[transcode] A: export format    | 0x50    MPEG layer-2 [48000,16,1]  128 kbps
[transcode] A: bytes per frame  | 3840 (3840.000000)
[transcode] A: adjustment       | 0@1000
[transcode] A: AV shift         | 10 (A) 0 (V)
[import_mp3.so] v0.1.1 (10/10/01) (audio) MPEG
[import_null.so] v0.2.0 (01/19/02) (video) null | (audio) null
[export_mpeg.so] v1.2.0 (03/23/02) (video) MPEG 1/2 | (audio) MPEG 1 Layer II
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i pmm2_ps.vob -x mp3 -d 0 | tcdecode -x mp3 -d 0

INFO: using reference profile (MPEG1)
INFO: profile type is (PAL)
INFO: motion-comp. with SSE/MMX acceleration !
INFO: dct with MMX acceleration (intel)!
INFO: prediction with SSE-acceleration!
(decode_mp3.c) channels=1, samplerate=48000 Hz, bitrate=128 kbps, (1152)
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
bitstream problem: resyncing...
filling buffer ... done
bitstream problem: resyncing..., 899.28 fps, ( 0| 0| 9)
bitstream problem: resyncing..., 1523.46 fps, ( 0| 0| 5)
bitstream problem: resyncing..., 1525.87 fps, ( 2| 0| 8)
Floating point exception


Suggestions are welcome.

--PMM


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



Home | Main Index | Thread Index