[MPlayer-users] matroska: video freezes where files were concatened by mkvmerge

Thomas Bourdon thomas.bourdon+mplayer at halpanet.org
Mon Aug 1 18:38:44 CEST 2011


Hi,

1. My cam create mpeg-ts files with h264+ac3+pgs tracks
2. I don't want to keep mpeg-ts container so I convert to matroska with these commands :
  a. ffmpeg -i 00001.MTS -vcodec copy -acodec copy -scodec dvdsub -f matroska 00001.mkv  # I need to convert pgssub to vobsub because a raw copy doesn't work.
  b. mencoder 00001.mkv -ovc frameno -nosound -o /dev/null -sid 0 -vobsubout 00001  # I need to re-extract the vobsub track with mencoder because ffmpeg
doesn't create a sub track I can use with mkvtoolnix (no CodecPrivate).
  c. mkvmerge -o file1.mkv 00001.mkv 00001.idx  # I create my final file1.mkv (1: video track 2: audio track 3: vobsub track).
  d. running same commands for 00002.MTS
  e. mkvmerge -o final.mkv file1.mkv + file2.mkv  # I want to concatenate all my two mkv files to one single file.
3. Then I can read final.mkv with subtitles (which display date) with mplayer.

But sometimes I have a problem. The video freezes for about 5 seconds where
mkvmerge concatenate files. If the final.mkv has no vobsub track, mplayer works fine. So the problem
seems to be a bug from mplayer when reading vobsub.
I can play the same final.mkv with ffplay without problem.


Report:

# uname -a
Linux homer 3.0.0-libre-tom #1 SMP Fri Jul 22 15:11:35 CEST 2011 x86_64
Pentium(R) Dual-Core  CPU      E6300  @ 2.80GHz GenuineIntel GNU/Linux

# ls -l /lib64/libc[.-]*
-rwxr-xr-x 1 root root 1953423 mars  24 08:50 /lib64/libc-2.13.so*
lrwxrwxrwx 1 root root      12 avril 29 10:10 /lib64/libc.so.6 -> libc-2.13.so*

# gcc -v                 
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/4.5.2/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-4.5.2/configure --prefix=/usr --libdir=/usr/lib64
--mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap
--enable-languages=ada,c,c++,fortran,java,objc,lto --enable-threads=posix
--enable-checking=release --with-system-zlib
--with-python-dir=/lib64/python2.6/site-packages --disable-libunwind-exceptions
--enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose
--disable-multilib --target=x86_64-slackware-linux
--build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.5.2 (GCC)

# ld -v
GNU ld (Linux/GNU Binutils) 2.21.51.0.6.20110118

# as --version
GNU assembler (Linux/GNU Binutils) 2.21.51.0.6.20110118
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-slackware-linux'.

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Pentium(R) Dual-Core  CPU      E6300  @ 2.80GHz
stepping        : 10
cpu MHz         : 2793.140
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dts tpr_shadow vnmi
flexpriority
bogomips        : 5586.28
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Pentium(R) Dual-Core  CPU      E6300  @ 2.80GHz
stepping        : 10
cpu MHz         : 2793.140
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dts tpr_shadow vnmi
flexpriority
bogomips        : 5585.69
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Pentium(R) Dual-Core  CPU      E6300  @ 2.80GHz
stepping        : 10
cpu MHz         : 2793.140
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dts tpr_shadow vnmi
flexpriority
bogomips        : 5586.28
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Pentium(R) Dual-Core  CPU      E6300  @ 2.80GHz
stepping        : 10
cpu MHz         : 2793.140
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm dts tpr_shadow vnmi
flexpriority
bogomips        : 5585.69
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


Sorry to not send a part of the video file. It's private.


Thanks.



-- 
Thomas Bourdon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.log.gz
Type: application/x-gunzip
Size: 8101 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20110801/cd528f03/attachment.bin>


More information about the MPlayer-users mailing list