Page 1 of 1

Problem playing .m2ts file in VLC

Posted: 08 May 2010 11:05
by TheKirk
Hi there..

I've used VLC for a long time, and it has always been able to play my video files without any problems..
But now I've stumbled over this video format, which I've never seen before: .m2ts...
I understand, that this is the format used on BluRay discs.. Anyways - I've got two movies (Toy Story 1 and 2) in this format, and for some reason, I can't play the 1st movie in VLC.. :?
The first time I tried to play it, it actually worked.. But I stopped it, and now I can't play it with VLC no more.. :? When I try, nothing happens.. So I try to open it with Windows Media Player and another DVD playing software, and they play the video with no problem... But the wierdest part is, that I am able to play Toy Story 2 (Which is the same video format) in VLC with no problems..
I prefer to watch videos in VLC since it's way better with subtitles than any other software I know of, and besides, it runs more smoothly...

Can anybody point out a solution to my problem?

I don't know if it's relavant, but I use Windows 7 Home Edition..

Thank you!
TheKirk

Re: Problem playing .m2ts file in VLC

Posted: 08 May 2010 18:09
by TheKirk
Oh, and by the way...

The file that actually does play in VLC is not running very smoothly.. Isn't my laptop powerful enough?
These are my specs:

Medion Akoya P6620 Laptop
2,26GHz Intel Core i3-350M
NVIDIA GeForce GT 330M (512 MB)
4 GB DDR3 SDRAM
Windows 7 Home Premium 32bit

Re: Problem playing .m2ts file in VLC

Posted: 08 May 2010 18:47
by VLC_help
VLC doesn't support multicore CPU decoding or GPU decoding in current releases, so playback might be slow with HD video. VLC 1.1.0 will have GPU support.

If you want to find out the reason for problems, open Tools -> Messages... (set Verbosity to 2) before opening the .m2ts file. Messages will complain.

Re: Problem playing .m2ts file in VLC

Posted: 08 May 2010 19:15
by Jean-Baptiste Kempf
Please use VLC 1.1.0. it is faster to decode in CPU and can use GPU to go even faster.

Re: Problem playing .m2ts file in VLC

Posted: 09 May 2010 00:43
by TheKirk
VLC doesn't support multicore CPU decoding or GPU decoding in current releases, so playback might be slow with HD video. VLC 1.1.0 will have GPU support.

If you want to find out the reason for problems, open Tools -> Messages... (set Verbosity to 2) before opening the .m2ts file. Messages will complain.
Sorry, but I don't know what CPU and GPU decoding means..
But I tried to check that log file, whis says this:

Code: Select all

main debug: adding item `Toy Story (1995).lnk' ( C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk ) qt4 debug: Adding a new MRL to recent ones: C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item Toy Story (1995).lnk node null skip 0 main debug: resyncing on Toy Story (1995).lnk main debug: Toy Story (1995).lnk is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'Toy Story (1995).lnk' main debug: thread (input) created at priority 1 (../.././src/input/input.c:230) main debug: thread started main debug: using timeshift granularity of 50 MBytes main debug: using timeshift path 'C:\Users\SEBAST~1\AppData\Local\Temp' main debug: `C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk' gives access `' demux `' path `C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk' main debug: creating demux: access='' demux='' path='C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk' main debug: looking for access_demux module: 3 candidates main debug: TIMER module_need() : 20.000 ms - Total 20.000 ms / 1 intvls (Avg 20.000 ms) main debug: creating access '' path='C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk' main debug: looking for access module: 5 candidates vcd debug: trying .cue file: C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).cue vcd debug: could not find .cue file access_file debug: opening file `C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk' main debug: using access module "access_file" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 991 bytes in 0s - 967773 kbytes/s main debug: looking for stream_filter module: 2 candidates main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating demux: access='' demux='' path='C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk' main debug: looking for demux module: 50 candidates ts warning: TS module discarded (lost sync) lua debug: Trying Lua scripts in C:\Users\Sebastian\AppData\Roaming\vlc\lua\playlist lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\\lua\playlist lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\anevia_streams.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\appletrailers.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\bbc_co_uk.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\break.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\canalplus.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\cue.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\dailymotion.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\france2.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\googlevideo.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\joox.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\koreus.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\lelombrik.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\megavideo.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\metacafe.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\mpora.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\vimeo.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\youtube.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\youtube_homepage.lua lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\\share\lua\playlist avformat debug: couldn't guess format vobsub debug: this doesn't seem to be a vobsub file ps warning: this does not look like an MPEG PS stream, continuing anyway main debug: using demux module "ps" main debug: TIMER module_need() : 65.000 ms - Total 65.000 ms / 1 intvls (Avg 65.000 ms) main debug: looking for a subtitle file in C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\ main debug: `C:\Users\Sebastian\AppData\Roaming\Microsoft\Windows\Recent\Toy Story (1995).lnk' successfully opened ps warning: garbage at input, trying to resync... main debug: EOF reached main debug: removing module "ps" main debug: removing module "stream_filter_record" main debug: removing module "access_file" main debug: thread ended main debug: dead input main debug: thread times: real 0m0.090000s, kernel 0m0.031200s, user 0m0.031200s main debug: TIMER input launching for 'Toy Story (1995).lnk' : 95.000 ms - Total 95.000 ms / 1 intvls (Avg 95.000 ms) main debug: changing item without a request (current 0/1) main debug: nothing to play
There is a lot of information in there, that I don't know what means.. Can you point out what the problem is by looking at this log?
Please use VLC 1.1.0. it is faster to decode in CPU and can use GPU to go even faster.
I'm currently running VLC 1.0.5, which seems to be the latest version.. I've seen you've talked about a VLC 1.1.0-pre2 beta version in some other thread - Can you please give me a link to a download of this version?
Thanks!

Re: Problem playing .m2ts file in VLC

Posted: 09 May 2010 01:04
by TheKirk
UPDATE: I found the VLC 1.1.0-pre3 and downloaded it..
Toy story 1 still wont play - Here's the log file:

Code: Select all

main debug: adding item `Toy Story (1995).m2ts' ( file:///C:/Users/Sebastian/uTorrent%20Downloads/Toy%20Story%20%281995%29/Toy%20Story%20%281995%29.m2ts ) main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item Toy Story (1995).m2ts node null skip 0 main debug: resyncing on Toy Story (1995).m2ts main debug: Toy Story (1995).m2ts is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'Toy Story (1995).m2ts' qt4 debug: Adding a new MRL to recent ones: C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy Story (1995).m2ts main debug: Creating an input for 'Toy Story (1995).m2ts' main debug: thread (input) created at priority 1 (../.././src/input/input.c:214) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\SEBAST~1\AppData\Local\Temp' main debug: `file:///C:/Users/Sebastian/uTorrent%20Downloads/Toy%20Story%20%281995%29/Toy%20Story%20%281995%29.m2ts' gives access `file' demux `' path `C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy Story (1995).m2ts' main debug: creating demux: access='file' demux='' path='C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy Story (1995).m2ts' main debug: looking for access_demux module: 2 candidates main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 37.000 ms - Total 37.000 ms / 1 intvls (Avg 37.000 ms) main debug: creating access 'file' path='C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy Story (1995).m2ts' main debug: looking for access module: 2 candidates qt4 debug: IM: Setting an input filesystem debug: opening file `C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy Story (1995).m2ts' main debug: using access module "filesystem" main debug: TIMER module_need() : 35.000 ms - Total 35.000 ms / 1 intvls (Avg 35.000 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module: 2 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating demux: access='file' demux='' path='C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy Story (1995).m2ts' main debug: looking for demux module: 50 candidates main debug: using demux module "ts" main debug: TIMER module_need() : 14.000 ms - Total 14.000 ms / 1 intvls (Avg 14.000 ms) main debug: looking for a subtitle file in C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\ main debug: autodetected subtitle: C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy.Story.1995.1080p.BluRay.x264-BestHD.srt with priority 3 main debug: `C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy.Story.1995.1080p.BluRay.x264-BestHD.srt' gives access `' demux `' path `C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy.Story.1995.1080p.BluRay.x264-BestHD.srt' main debug: creating demux: access='' demux='subtitle' path='C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy.Story.1995.1080p.BluRay.x264-BestHD.srt' main debug: looking for access_demux module: 4 candidates main debug: no access_demux module matching "any" could be loaded main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: creating access '' path='C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy.Story.1995.1080p.BluRay.x264-BestHD.srt' main debug: looking for access module: 5 candidates vcd debug: trying .cue file: C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy.Story.1995.1080p.BluRay.x264-BestHD.cue vcd debug: could not find .cue file filesystem debug: opening file `C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy.Story.1995.1080p.BluRay.x264-BestHD.srt' main debug: using access module "filesystem" main debug: TIMER module_need() : 11.000 ms - Total 11.000 ms / 1 intvls (Avg 11.000 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module: 2 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating demux: access='' demux='subtitle' path='C:\Users\Sebastian\uTorrent Downloads\Toy Story (1995)\Toy.Story.1995.1080p.BluRay.x264-BestHD.srt' main debug: looking for demux module: 3 candidates main debug: no fetch required for (null) (art currently (null)) vobsub debug: this doesn't seem to be a vobsub file main error: option sub-original-fps does not exist subtitle debug: Movie fps: -1.000000 subtitle debug: autodetecting subtitle format subtitle debug: detected SubRIP format subtitle debug: loading all subtitles... subtitle debug: loaded 1151 subtitles main debug: selecting program id=0 main debug: using demux module "subtitle" main debug: TIMER module_need() : 63.000 ms - Total 63.000 ms / 1 intvls (Avg 63.000 ms) main debug: looking for decoder module: 33 candidates avcodec debug: libavcodec initialized (interface 0x344200) avcodec debug: codec not found (Text subtitles with various tags) subsdec debug: trying configured character encoding: not specified subsdec debug: trying default character encoding: CP1252 subsdec debug: using automatic UTF-8 detection main debug: using decoder module "subsdec" main debug: TIMER module_need() : 40.000 ms - Total 40.000 ms / 1 intvls (Avg 40.000 ms) main debug: thread started main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301) ts debug: DEMUX_SET_GROUP 0 00000000 main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Sebastian\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Users\Sebastian\Desktop\vlc-1.1.0-pre3-win32\vlc-1.1.0-pre3\lua\meta\reader lua debug: Trying Lua playlist script C:\Users\Sebastian\Desktop\vlc-1.1.0-pre3-win32\vlc-1.1.0-pre3\lua\meta\reader\filename.lua main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Sebastian\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Users\Sebastian\Desktop\vlc-1.1.0-pre3-win32\vlc-1.1.0-pre3\lua\meta\reader lua debug: Trying Lua playlist script C:\Users\Sebastian\Desktop\vlc-1.1.0-pre3-win32\vlc-1.1.0-pre3\lua\meta\reader\filename.lua main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms) main debug: `file:///C:/Users/Sebastian/uTorrent%20Downloads/Toy%20Story%20%281995%29/Toy%20Story%20%281995%29.m2ts' successfully opened ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts debug: pid[256] unknown ts debug: pid[31] unknown ts debug: pid[4097] unknown ts debug: pid[4113] unknown ts debug: pid[4352] unknown subsdec debug: invalid UTF-8 sequence: disabling UTF-8 subtitles autodetection ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=0 current_next=1 ts debug: * number=0 pid=31 ts debug: * number=1 pid=256 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=0 pid_pcr=4097 ts debug: * descriptor : registration HDMV ts debug: * descriptor : unknown (0x88) ts debug: * es pid=4113 type=27 dr->i_tag=0x28 ts debug: * es pid=4113 type=27 fcc=h264 ts debug: * es pid=4352 type=129 dr->i_tag=0x5 ts debug: * es pid=4352 type=129 dr->i_tag=0x81 ts debug: * es pid=4352 type=129 dr->i_tag=0xa ts debug: found language: und ts debug: * es pid=4352 type=129 fcc=a52 ts warning: first packet for pid=4113 cc=0xe ts warning: first packet for pid=4352 cc=0x9 main debug: slave 0 EOF main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer ts debug: eof ? main debug: EOF reached main debug: finished input main warning: no vout found, dropping subpicture main warning: can't get output subpicture subsdec warning: can't get spu buffer main debug: thread times: real 1m10.633040s, kernel 0m0.000000s, user 0m0.000000s main debug: removing module "subsdec" main debug: killing decoder fourcc `subt', 1139 PES in FIFO ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[31] seen ts debug: - pid[256] seen ts debug: - pid[4097] seen ts debug: - pid[4113] seen main debug: Program doesn't contain anymore ES ts debug: - pid[4352] seen ts debug: - pid[8191] seen main debug: removing module "ts" main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: removing module "subtitle" main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: Program doesn't contain anymore ES main debug: dead input main debug: thread ended main debug: thread times: real 1m11.313078s, kernel 0m18.844920s, user 0m22.620145s main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'Toy Story (1995).m2ts' : 221.000 ms - Total 221.000 ms / 1 intvls (Avg 221.000 ms)

But! It seems like Toy Story 2 plays a lot less laggy as it does in 1.0.5.. So that's good.. :) I would still like to know, why the 1st movie can't be played in VLC though, when it plays fine in other players...

Re: Problem playing .m2ts file in VLC

Posted: 09 May 2010 10:11
by Jean-Baptiste Kempf
Because of this:
ts warning: lost synchro
Unfortunately, there are no other solutions than you uploading the file to our serveurs or on some sharing website and we try.

Re: Problem playing .m2ts file in VLC

Posted: 09 May 2010 11:13
by TheKirk
...
Unfortunately, there are no other solutions than you uploading the file to our serveurs or on some sharing website and we try.
Do you actually have some public servers where I can upload a 4gb file??

Re: Problem playing .m2ts file in VLC

Posted: 09 May 2010 19:26
by VLC_help
No. But you can binary cut first 50 megs from the file and upload them to somewhere. (like Megaupload)