h264 mkv to .ts conversion problems.
Posted: 01 Apr 2008 18:45
Hi.
I've a freebox and some HD mkv (h264 + AC3 streams).
I know that freebox could only play h264 streams if they are in a .ts file.
So i've done that:
But. During the vlc conversion, I can see these warnings:
When I play the .ts file with mplayer, I can see these errors :
The file plays fine, but there is a lot of poor frames, with a lot of macro-blocks. It alternates, very good HD frames, and very bad and malformed frames. It's like the file is not good.
I've tested the conversion with a lot of different HD mkv movies (which have 100% good frames when I play them), and it's the same.
On my freebox, it's like with mplayer, a lot of bad formed frames.
It's a problem with the vlc conversion, but where ?
Thanks for your help.
PS:
Gentoo 2.6.23-hardened-r8
Vlc compiled with these USEs flags:
X a52 aalib alsa cdda cddb daap dvb dvd fbcon flac gnome httpd libcaca live matroska mp3 mpeg ncurses ogg opengl optimisememory png rtsp stream svg theora truetype v4l vcd vorbis win32codecs wxwindows x264 xinerama xml xv
vlc-0.8.6e-r1
media-video/ffmpeg-0.4.9_p20070616 (with these USEs: X a52 aac encode imlib ogg theora truetype v4l vorbis x264 xvid zlib)
I've a freebox and some HD mkv (h264 + AC3 streams).
I know that freebox could only play h264 streams if they are in a .ts file.
So i've done that:
Code: Select all
vlc -v2 File.mkv --sout file/ts://File.ts
Code: Select all
[00000294] mux_ts private warning: packet with too strange dts (dts=1207067960982460,old=1207067961023460,pcr=1207067961023460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207067976080460,old=1207067976122460,pcr=1207067976122460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207067977164460,old=1207067977206460,pcr=1207067977206460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207068016787460,old=1207068016829460,pcr=1207068016829460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207068017872460,old=1207068017914460,pcr=1207068017914460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207068018372460,old=1207068018414460,pcr=1207068018414460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207068018831460,old=1207068018873460,pcr=1207068018873460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207068019165460,old=1207068019206460,pcr=1207068019206460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207068022043460,old=1207068022084460,pcr=1207068022084460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207068022335460,old=1207068022376460,pcr=1207068022376460)
[00000294] mux_ts private warning: packet with too strange dts (dts=1207068022585460,old=1207068022627460,pcr=1207068022627460)
[...]
Code: Select all
[h264 @ 0x8811f40]warning: first frame is no keyframe
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[h264 @ 0x8811f40]reference picture missing during reorder
[...]
I've tested the conversion with a lot of different HD mkv movies (which have 100% good frames when I play them), and it's the same.
On my freebox, it's like with mplayer, a lot of bad formed frames.
It's a problem with the vlc conversion, but where ?
Thanks for your help.
PS:
Gentoo 2.6.23-hardened-r8
Vlc compiled with these USEs flags:
X a52 aalib alsa cdda cddb daap dvb dvd fbcon flac gnome httpd libcaca live matroska mp3 mpeg ncurses ogg opengl optimisememory png rtsp stream svg theora truetype v4l vcd vorbis win32codecs wxwindows x264 xinerama xml xv
vlc-0.8.6e-r1
media-video/ffmpeg-0.4.9_p20070616 (with these USEs: X a52 aac encode imlib ogg theora truetype v4l vorbis x264 xvid zlib)