VLC-2 can not play MTS files from my camcorder while vlc-1.1.13 is able to do that. output of VLC messages window with: ps warning: found sync code ps warning: garbage at input, trying to resync... ###above two lines repeat many times main debug: EOF reached main debug: finished input main debug: removing module "avcodec" avcodec debug: ffmpeg codec (MPEG-1/2 Video) stopped main debug: killing decoder fourcc `mpgv', 0 PES in FIFO main debug: removing module "packetizer_mpegvideo" main debug: removing module "avcodec" avcodec debug: ffmpeg codec (MPEG-1/2 Video) stopped main debug: killing decoder fourcc `mpgv', 0 PES in FIFO main debug: removing module "packetizer_mpegvideo" main debug: removing module "ps" main debug: Program doesn't contain anymore ES main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input Windows version of VLC 2 plays them correctly. Files are like following: Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s16, 256 kb/s while vlc tries to load MPEG 1/2 codec. Windows version of VLC shows log from h264 decoder in messages log as it should be. Reproducible: Always Steps to Reproduce: 1. try to play MTS file with h264(?) video stream $ emerge --info media-video/vlc Portage 2.2.0_alpha88 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.2, glibc-2.14.1-r2, 3.2.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.2.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1 Timestamp of tree: Wed, 22 Feb 2012 07:45:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.7-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2, 4.6.2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo sunrise kde emacs science x11 lcd-filtering nirbheek otih dilfridge rion gamerlay-stable systemd qt wtk my-gentoo xanf Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA @FSF-APPROVED skype-eula dlj-1.1 AdobeFlash-10.1 PUEL google-talkplugin googleearth TeamViewer Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/data/distfiles" FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv xattr" FFLAGS="" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="uk_UA.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en eo de ru uk" MAKEOPTS="-j4" PKGDIR="/var/data/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--quiet" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/data/tmp" PORTDIR="/var/data/portage" PORTDIR_OVERLAY="/var/data/repository/sunrise /var/data/repository/kde /var/data/repository/emacs /var/data/repository/science /var/data/repository/x11 /var/data/repository/lcd-filtering /var/data/repository/nirbheek /var/data/repository/otih /var/data/repository/dilfridge /var/data/repository/rion /var/data/repository/gamerlay /var/data/repository/systemd /var/data/repository/qt /var/data/repository/wtk /var/data/repository/my /var/data/repository/xanf" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr apng bash-completion berkdb bluetooth bluray branding bs2b bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups cxx dbus declarative dirac djvu dri dts dvd dvdr emboss encode exif faac fam ffmpeg firefox flac fontconfig fontforge fortran fuse gdbm gdu gif gnuplot gnutls gpm gsm gstreamer gtk gtk3 iconv ieee1394 imagemagick inotify ipv6 java jpeg jpeg2k kde kerberos kipi lame lapack latex lcms ldap libnotify lirc live luatex lzma mad mmx mng modules mp3 mp4 mpeg mpi mudflap multilib ncurses network networkmanager nls nptl nptlonly ogg opengl openmp pam pango pch pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 quicktime radio readline romio rss rtmp samba sdl semantic-desktop session smartcard smp speex spell sqlite sse sse2 sse3 sse4 ssl ssse3 startup-notification svg symlink sysfs system-sqlite systemd taglib tcpd theora threads thumbnail tiff truetype udev unicode usb v4l v4l2 vaapi vim-syntax vorbis vpx x264 xattr xcb xcomposite xetex xinerama xml xmp xorg xscreensaver xulrunner xv xvid yv12 zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 canon ptp2 fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt gpsclock timing" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev evdev synaptics wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en eo de ru uk" LIRC_DEVICES="alsa_usb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="v4l radeon r600 fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ================================================================= Package Settings ================================================================= media-video/vlc-2.0.0 was built with the following: USE="X a52 aac alsa avcodec avformat bluray cdda (consolekit) dbus dirac dts dvd encode ffmpeg flac fontconfig gcrypt gnutls ieee1394 kde libass libnotify libsamplerate libtar lirc live matroska mmx mp3 mpeg (multilib) ncurses ogg opengl png (policykit) postproc pulseaudio qt4 samba sdl sid skins speex sqlite sse svg switcher swscale taglib theora truetype udev v4l vaapi vlm vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bidi -cddb -dc1394 -debug (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2) -egl -fbosd -fluidsynth -gme -gnome -growl -httpd (-ios-vout) -jack -kate -libcaca -libproxy -libtiger -linsys -lua (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -modplug -mtp -musepack (-neon) -omxil -optimisememory -oss -portaudio -projectm -pvr -rtsp -run-as-root -schroedinger -sdl-image -shine -shout -twolame -upnp -vcdx (-waveout) (-win32codecs) (-wingdi) -wma-fixed -xosd -zvbi" LDFLAGS="-Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders/"
can you please attach / upload a sample please ?
sure, please: http://depositfiles.com/files/mtlq0oqko
thanks, so starting from vlc-2.0.0, I removed the mandatory dep on libdvbpsi, which is what vlc needs for reading ts files. you can enable it by building vlc with USE=dvb meanwhile. I now think it was a bad idea, I'll give it a dvbpsi useflag, enabled by default, instead of coupling this with USE=dvb which is rather confusing. I had the same errors with USE=-dvb and now it reads your sample perfectly with USE=dvb enabled.
thanks! Now VLC reads files but decoded video is full of rectangular artifacts...
try disabling hardware acceleration and / or multithreaded decoding first i'd say
(In reply to comment #3) > you can enable it by building vlc with USE=dvb meanwhile. I now think it was a > bad idea, I'll give it a dvbpsi useflag, enabled by default, instead of > coupling this with USE=dvb which is rather confusing. done this -> closing please open a new bug once you are able to identify the cause of these artifacts