ffmpeg/tests/ref/seek
Michael Niedermayer 4abc411b97 nutenc: choose for non audio streams a timebase with finer resolution.
While a 25 fps stream can in general store frame durations in 1/25
units, this is not true for the timestamps. For example a 25fps
and a 25000/1001 fps stream when they are stored together might have
a matching 0 timestamp point but when for example a chapter from
this is cut the new start is no longer aligned. The issue gets
MUCH worse when the streams are lower fps, like 1 or 2 fps.

This commit thus makes the muxer choose a multiple of the
framerate as timebase that is at least about 20 micro seconds precise

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-02 01:09:12 +02:00
..
adpcm_ima_qt_aiff fate: convert codec-regression.sh to makefile rules 2012-05-29 08:35:41 +01:00
adpcm_ima_wav_wav fate: convert codec-regression.sh to makefile rules 2012-05-29 08:35:41 +01:00
adpcm_ms_wav regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
adpcm_swf_flv regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
adpcm_yamaha_wav fate: convert codec-regression.sh to makefile rules 2012-05-29 08:35:41 +01:00
alac_mov fate: convert codec-regression.sh to makefile rules 2012-05-29 08:35:41 +01:00
asv1_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
asv2_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
dnxhd_720p_dnxhd rawdec: set timebase to 1/fps. 2012-02-26 07:30:21 +01:00
dnxhd_720p_rd_dnxhd rawdec: set timebase to 1/fps. 2012-02-26 07:30:21 +01:00
dnxhd_1080i_mov regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
dv_50_dv Merge commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725' 2012-05-30 01:40:54 +02:00
dv_411_dv Merge commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725' 2012-05-30 01:40:54 +02:00
dv_dv Make DV (sub) demuxer set proper pkt->pos values. 2011-05-02 18:38:01 +02:00
ffv1_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
flac_flac Replace vendor string in Ogg and FLAC muxers. 2011-11-02 10:43:39 +01:00
flashsv_flv regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
flv_flv mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
h261_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
h263_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
h263p_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
huffyuv_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
image_bmp regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
image_jpg regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
image_pcx regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
image_pgm regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
image_ppm regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
image_sgi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
image_tga regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
image_tiff regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
jpegls_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
lavf_aif regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
lavf_al regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
lavf_asf asfenc: avoid negative timestamps 2012-09-28 02:40:53 +02:00
lavf_au regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
lavf_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_dv FATE: avoid channel mixing in lavf-dv_fmt 2012-04-24 15:55:45 -04:00
lavf_ffm mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_flv mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_gif ffmpeg: deprecate loop_input and loop_output options 2011-07-08 19:58:19 +02:00
lavf_gxf mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_mkv mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_mmf fate: update mmf seek checksum, change caused by av_get_packet() useage 2012-05-02 01:55:04 +02:00
lavf_mov mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_mpg mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_mxf mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_mxf_d10 mxfdec: hybrid demuxing/seeking solution 2012-01-22 14:40:53 +01:00
lavf_nut nutenc: choose for non audio streams a timebase with finer resolution. 2012-10-02 01:09:12 +02:00
lavf_ogg fate: update ogg seektest after all the bug fixes 2012-05-04 14:40:22 +02:00
lavf_rm mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_swf regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
lavf_ts mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_ul regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
lavf_voc vocenc: fix sample rate rounding direction 2012-06-25 03:30:12 +02:00
lavf_wav riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header 2011-10-14 13:28:58 +02:00
lavf_wtv mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
lavf_y4m regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
ljpeg_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
mjpeg_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mp2_mp2 lavf: move generic index generation code to a later point 2012-07-26 03:04:49 +02:00
mpeg1_mpeg1video mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg1b_mpeg1video mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg2_422_mpeg2video mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg2_idct_int_mpeg2video Merge commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725' 2012-05-30 01:40:54 +02:00
mpeg2_ilace_mpeg2video mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg2_ivlc_qprd_mpeg2video Merge commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725' 2012-05-30 01:40:54 +02:00
mpeg2_thread_ivlc_mpeg2video mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg2_thread_mpeg2video mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg4_adap_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg4_adv_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
mpeg4_error_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg4_mp4 mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg4_nr_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg4_qpel_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg4_qprd_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg4_rc_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
mpeg4_thread_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
msmpeg4_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
msmpeg4v2_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
pbmpipe_pbm regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_alaw_wav pcmenc: set correct bitrate value 2012-05-17 02:34:57 +01:00
pcm_f32be_au regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_f32le_wav regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_f64be_au regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_f64le_wav regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_mulaw_wav pcmenc: set correct bitrate value 2012-05-17 02:34:57 +01:00
pcm_s8_mov regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_s16be_mov regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_s16le_wav riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header 2011-10-14 13:28:58 +02:00
pcm_s24be_mov regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_s24le_wav regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_s32be_mov regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_s32le_wav regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
pcm_u8_wav riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header 2011-10-14 13:28:58 +02:00
pgmpipe_pgm regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
ppmpipe_ppm regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
rgb_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
roqvideo_roq fate: convert codec-regression.sh to makefile rules 2012-05-29 08:35:41 +01:00
rv10_rm mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
rv20_rm mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
snow_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
snow_ll_avi fate: convert codec-regression.sh to makefile rules 2012-05-29 08:35:41 +01:00
svq1_mov regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00
wmv1_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
wmv2_avi mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd 2012-09-27 19:43:31 +02:00
yuv_avi regtest: rename seektest ref files using alphanumeric chars only 2010-07-20 10:09:54 +00:00