Continuous playback of multiple .mts or .m2ts files

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
tobox
New Cone
New Cone
Posts: 3
Joined: 13 Jul 2009 18:33

Continuous playback of multiple .mts or .m2ts files

Postby tobox » 13 Jul 2009 18:40

I have a Panasonic HDC-SD5 camcorder which records the files in a BlueRay-Like directory structure with .mts-files containing the actual videos. The camcorder creates a new file for each scene, so I end up with hundreds of video files.

VLC can play each of those files just fine, but if I want to watch more than one file, the video output window always closes and a new one is opened, causing some delay and the desktop flickering through. Is there a configuration option to not close the video window, or some other workaround?

I observe the same behavior on both linux and windows with VLC 1.0.0. The computer is fast enough to decode and show the videos. It's just the continuous playback that I am looking for.

Regards
Thomas

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Continuous playback of multiple .mts or .m2ts files

Postby Jean-Baptiste Kempf » 13 Jul 2009 19:44

Open the main AVCHD folder in VLC, but not the individual file
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

tobox
New Cone
New Cone
Posts: 3
Joined: 13 Jul 2009 18:33

Re: Continuous playback of multiple .mts or .m2ts files

Postby tobox » 14 Jul 2009 18:57

Playing the avchd folder does not help. First, vlc tries to play some non-video files and then vlc plays the .mts files exactly the same way as if I give them on the command line. The flicker remains. This is how the directory structure looks like:

./avchd/avchdtn/thumb.tdt
./avchd/avchdtn/thumb.tid
./avchd/bdmv/clipinf/00000.cpi
./avchd/bdmv/clipinf/00001.cpi
...
./avchd/bdmv/clipinf/00021.cpi
./avchd/bdmv/clipinf/00022.cpi
./avchd/bdmv/index.bdm
./avchd/bdmv/movieobj.bdm
./avchd/bdmv/playlist/00000.mpl
./avchd/bdmv/playlist/00001.mpl
./avchd/bdmv/playlist/00002.mpl
./avchd/bdmv/stream/00000.mts
./avchd/bdmv/stream/00001.mts
...
./avchd/bdmv/stream/00021.mts
./avchd/bdmv/stream/00022.mts

Is it a problem with the structure? Case sensitivity? Anything else?

Thanks for your help,
Thomas

tobox
New Cone
New Cone
Posts: 3
Joined: 13 Jul 2009 18:33

Re: Continuous playback of multiple .mts or .m2ts files

Postby tobox » 14 Jul 2009 19:06

This is the output on the console on linux (using vlc 0.9.9) when playing two files - maybe the flickering is caused by the TS discontinuity errors?

Code: Select all

tobox@tbx-pc:~/movies/Cuba2/avchd/bdmv/stream$ vlc 00000.mts 00001.mts VLC media player 0.9.9a Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--build=x86_64-linux-gnu' '--disable-maintainer-mode' '--enable-release' '--prefix=/usr' '--config-cache' '--enable-fast-install' '--with-binary-version=3' '--disable-update-check' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-arts' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=iceape-plugin' '--enable-dvb' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--enable-flac' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-mod' '--enable-theora' '--enable-dvdnav' '--enable-gnutls' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--disable-x264' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-dca' '--enable-realrtsp' '--disable-dv' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [00000001] main libvlc debug: translation test: code is "C" [00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 256 [00000494] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:256000 No accelerated IMDCT transform found libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 11) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 11) for PID 256 libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 256 [00000530] a52 decoder: A/52 channels:2 samplerate:48000 bitrate:256000 No accelerated IMDCT transform found


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 67 guests