Mailing List archive

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

[linux-dvb] mplex parameter fine tuning ?



Hi,

when using mplex from 0.8.2 drivers (should I use a new mplex ?) to transform the vdr recordings to SVCD I get a lot of PTS/DTS underflow errors and the warning that this video may not play back correctly. (Right it does not ;-)
So I thought of tuning the SVCD parameters in mplex.cpp because of the higher bitrates and stuff - but so far without too much luck.
Can anyone tell me why this underflow error occurs and what to change to avoid them ?
I know that the bitrate is much too high for SVCD but does this necessary create this error ?

With the parameters as follows I achieved a mpg with 2324 byte packs, which at least was burned by Nero to a SVCD - but it had much broken pictures - so I guess one parameter must be wrong for such SVCDs ??

        sectors_delay = 0;
        video_delay_ms = 180;
        audio_delay_ms = 180;
        audio1_delay_ms = 180;
        sector_size = 2324;
        packets_per_pack = 1;
        init_audio_buffer_size = 4;
        init_audio1_buffer_size = 4;
        init_video_buffer_size = 230;
        always_sys_header = FALSE;
        mplex_type = MPEG_MPEG2;
        mplex_pulldown_flag = PULLDOWN_AUTO;
        vcd_audio_pad = FALSE;
        user_mux_rate = 0;
        align_sequence_headers = 0;
        put_private2 = 0;
        frame_timestamps = TIMESTAMPS_ALL;
        VBR_multiplex = TRUE;
        use_computed_bitrate = COMPBITRATE_MAX;
        write_pec = 1;
        mux_SVCD_scan_offsets = 1;
        max_file_size = 0;
        mux_start_time = 0;
        mux_stop_time = 0;
        reset_clocks = 1;
        write_end_codes = 1;
        set_broken_link = 1;

As you can obviously see I did some kind of mix between MPEG2 and SVCD parameters, which btw worked fine under Windows bbmpeg 1.24 beta 12 
So any idea how to fine tune the parameters for (X)SVCD ???

Thank you in advance for any help!
Regards, Martin.




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



Home | Main Index | Thread Index