Can VLC play m2ts with LPCM audio

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
kkbee19
Blank Cone
Blank Cone
Posts: 27
Joined: 31 May 2011 04:37

Can VLC play m2ts with LPCM audio

Postby kkbee19 » 05 Sep 2011 05:42

Hi
I play a m2ts file.The file have only LPCM audio.
When VLC open it, VLC change state to stop automatically.
Thanks.

Lotesdelere
Cone Master
Cone Master
Posts: 10113
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Can VLC play m2ts with LPCM audio

Postby Lotesdelere » 05 Sep 2011 08:28

Please open Tools -> Messages (set Verbosity to 2) before you start the playback and then paste the full resulting log here or on Pastebin if it's too long.
Also upload a SHORT sample of a problematic file to Multiupload.com, so it will upload the file for you to several other hosts, and then post the link to the file here.

kkbee19
Blank Cone
Blank Cone
Posts: 27
Joined: 31 May 2011 04:37

Re: Can VLC play m2ts with LPCM audio

Postby kkbee19 » 05 Sep 2011 09:27

Hi ,
I got some messages.
Thanks in advance.

main debug: adding item `TestAudio.ts' ( file:///D:/TestAudio.ts )
qt4 debug: Adding a new MRL to recent ones: D:\TestAudio.ts
main debug: Creating an input for 'TestAudio.ts'
main debug: rebuilding array of current - root 播放清單
main debug: rebuild done - 2 items, index 0
main debug: processing request item TestAudio.ts node null skip 0
main debug: resyncing on TestAudio.ts
main debug: TestAudio.ts is at 1
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'TestAudio.ts'
main debug: thread started
main debug: thread (input) created at priority 1 (../.././src/input/input.c:220)
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path 'C:\DOCUME~1\ss~1\LOCALS~1\Temp'
main debug: `file:///D:/TestAudio.ts' gives access `file' demux `' path `D:\TestAudio.ts'
main debug: creating demux: access='file' demux='' path='D:\TestAudio.ts'
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() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating access 'file' path='D:\TestAudio.ts'
main debug: looking for access module: 2 candidates
filesystem debug: opening file `D:\TestAudio.ts'
main debug: using access module "filesystem"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.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() : 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() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating demux: access='file' demux='' path='D:\TestAudio.ts'
main debug: looking for demux module: 52 candidates
ts debug: PATCallBack called
ts debug: new PAT ts_id=1 version=0 current_next=1
ts debug: * number=1 pid=4095
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=0 pid_pcr=256
ts debug: * es pid=256 type=6 *unknown*
filesystem warning: unimplemented query 4097 in control
ts debug: PSINewTableCallBack: table 0x42(66) ext=0x1(1)
ts debug: SDTCallBack called
ts debug: new SDT ts_id=1 version=0 current_next=1 network_id=1
ts debug: * service id=1 eit schedule=0 present=0 running=4 free_ca=0
ts debug: - type=1 provider=FFmpeg name=Service01
main debug: EsOutProgramMeta: number=1
main debug: selecting program id=1
qt4 debug: IM: Setting an input
ts debug: eof ?
main debug: using demux module "ts"
main debug: TIMER module_need() : 71.000 ms - Total 71.000 ms / 1 intvls (Avg 71.000 ms)
main debug: looking for a subtitle file in D:\
ts debug: DEMUX_SET_GROUP 0 00000000
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Documents and Settings\ss\Application Data\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua
main debug: no meta reader 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: `file:///D:/TestAudio.ts' successfully opened
ts debug: eof ?
main debug: EOF reached
ts debug: pid list:
ts debug: - pid[0] seen
ts debug: - pid[17] seen
ts debug: - pid[256] seen
ts debug: - pid[4095] seen
ts debug: - pid[8191] seen
main debug: finished input
main debug: removing module "ts"
main debug: removing module "stream_filter_record"
main debug: meta ok for (null), need to fetch art
main debug: removing module "filesystem"
main debug: thread ended
main debug: dead input
main debug: looking for meta fetcher module: 1 candidate
lua debug: Trying Lua scripts in C:\Documents and Settings\ss\Application Data\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher
main debug: thread times: real 0m0.078115s, kernel 0m0.000000s, user 0m0.078125s
main debug: changing item without a request (current 1/2)
main debug: nothing to play
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.lua
main debug: using meta fetcher module "lua"
main debug: TIMER module_need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: removing module "lua"
main debug: searching art for TestAudio.ts
main debug: looking for art finder module: 2 candidates
lua debug: Trying Lua scripts in C:\Documents and Settings\ss\Application Data\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\04_musicbrainz.lua
main debug: no art finder module matching "any" could be loaded
main debug: TIMER module_need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms)
main debug: art not found for TestAudio.ts
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'TestAudio.ts' : 77.000 ms - Total 77.000 ms / 1 intvls (Avg 77.000 ms)

Rémi Denis-Courmont
Developer
Developer
Posts: 15324
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Can VLC play m2ts with LPCM audio

Postby Rémi Denis-Courmont » 05 Sep 2011 10:12

Yes, VLC can play LPCM-
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

kkbee19
Blank Cone
Blank Cone
Posts: 27
Joined: 31 May 2011 04:37

Re: Can VLC play m2ts with LPCM audio

Postby kkbee19 » 06 Sep 2011 03:11

1.Why I can't play mpeg2-ts file which olny have LPCM audio
I converte this mpeg2-ts by a software using pcm alaw.
2.Can I use ffmpeg to converter ac-3 to LPCM in mp2ts
3.Is pcm alaw the same as LPCM?
I can play mpeg2-ts file which olny have AC-3 audio
I think " ts debug: * es pid=256 type=6 *unknown* ", this maybe the question.

I trace code and I found that pid->es->fmt.i_cat == UNKNOWN_ES and it will go into
if( pid->es->fmt.i_cat == UNKNOWN_ES )
{
msg_Dbg( p_demux, " * es pid=%d type=%d *unknown*",
p_es->i_pid, p_es->i_type );
}
Is there are some errors in my ts file?
ps:VLC can play mp2-ts file which only have video.




Thanks.

Lotesdelere
Cone Master
Cone Master
Posts: 10113
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Can VLC play m2ts with LPCM audio

Postby Lotesdelere » 06 Sep 2011 09:43

As requested before, upload a short sample of a problematic file to either http://streams.videolan.org/upload/ or to Multiupload.com, so it will upload the file for you to several other hosts, and then post the link to the file here.

kkbee19
Blank Cone
Blank Cone
Posts: 27
Joined: 31 May 2011 04:37

Re: Can VLC play m2ts with LPCM audio

Postby kkbee19 » 08 Sep 2011 02:53


kkbee19
Blank Cone
Blank Cone
Posts: 27
Joined: 31 May 2011 04:37

Re: Can VLC play m2ts with LPCM audio

Postby kkbee19 » 19 Oct 2011 03:39

Hi,
Anyone know where the problem is?
Thanks


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 60 guests