Page 1 of 1

Playing .ts files

Posted: 13 Nov 2012 21:35
by xdzgor
Hi - I have some .ts files generated on my PC with a "terractec" usb/tv device. I can play these files fine in the "terractec home cinema basic" application. But when I try to play them in VLC, there is no audio, only video. Can VLC play .ts files - do I need a special "audio codec" or something?
Thanks.

Re: Playing .ts files

Posted: 13 Nov 2012 22:04
by edwardw
To help you, we need messages, to completely understand what your problems is.
To fix this, please be sure before you start the playback to:
  1. Open: Tools -> Messages.
  2. Set Verbosity to 2
  3. Start playback to reproduce your issue
  4. Save text in a file or copy into clipboard
  5. Then paste the full resulting log here between [​code]and[​/code] (or use Pastebin.com if it's too long)
Also don't forget to name your Operating System and provide the VLC media player version.

Re: Playing .ts files

Posted: 13 Nov 2012 22:17
by xdzgor
Hi, and thanks.

I have Windows 7 Professional Service Pack 1; and VLC media player 2.0.4 Twoflower.

main debug: adding item `Hos Clement - DR1 2012-11-13 22-13-11.ts' ( file:///E:/tv%20recordings/Hos%20Clement%20-%20DR1%202012-11-13%2022-13-11.ts )
main debug: rebuilding array of current - root Playlist
qt4 debug: Adding a new MRL to recent ones: file:///E:/tv%20recordings/Hos%20Clement%20-%20DR1%202012-11-13%2022-13-11.ts
main debug: rebuild done - 1 items, index -1
main debug: processing request item: Hos Clement - DR1 2012-11-13 22-13-11.ts, node: null, skip: 0
main debug: resyncing on Hos Clement - DR1 2012-11-13 22-13-11.ts
main debug: Hos Clement - DR1 2012-11-13 22-13-11.ts is at 0
main debug: starting playback of the new playlist item
main debug: resyncing on Hos Clement - DR1 2012-11-13 22-13-11.ts
main debug: Hos Clement - DR1 2012-11-13 22-13-11.ts is at 0
main debug: creating new input thread
main debug: Creating an input for 'Hos Clement - DR1 2012-11-13 22-13-11.ts'
main debug: Creating an input for 'Hos Clement - DR1 2012-11-13 22-13-11.ts'
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Peter\AppData\Local\Temp'
main debug: `file:///E:/tv%20recordings/Hos%20Clement%20-%20DR1%202012-11-13%2022-13-11.ts' gives access `file' demux `' path `/E:/tv%20recordings/Hos%20Clement%20-%20DR1%202012-11-13%2022-13-11.ts'
main debug: creating demux: access='file' demux='' location='/E:/tv%20recordings/Hos%20Clement%20-%20DR1%202012-11-13%2022-13-11.ts' file='E:\tv recordings\Hos Clement - DR1 2012-11-13 22-13-11.ts'
main debug: looking for access_demux module: 3 candidates
main debug: no access_demux module matching "file" could be loaded
main debug: TIMER module_need() : 0.290 ms - Total 0.290 ms / 1 intvls (Avg 0.290 ms)
main debug: creating access 'file' location='/E:/tv%20recordings/Hos%20Clement%20-%20DR1%202012-11-13%2022-13-11.ts', path='E:\tv recordings\Hos Clement - DR1 2012-11-13 22-13-11.ts'
main debug: looking for access module: 3 candidates
filesystem debug: opening file `E:\tv recordings\Hos Clement - DR1 2012-11-13 22-13-11.ts'
main debug: using access module "filesystem"
main debug: TIMER module_need() : 0.391 ms - Total 0.391 ms / 1 intvls (Avg 0.391 ms)
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 30303 KiB/s
main debug: looking for stream_filter module: 4 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.176 ms - Total 0.176 ms / 1 intvls (Avg 0.176 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.108 ms - Total 0.108 ms / 1 intvls (Avg 0.108 ms)
main debug: creating demux: access='file' demux='' location='/E:/tv%20recordings/Hos%20Clement%20-%20DR1%202012-11-13%2022-13-11.ts' file='E:\tv recordings\Hos Clement - DR1 2012-11-13 22-13-11.ts'
main debug: looking for demux module: 55 candidates
qt4 debug: IM: Setting an input
ts warning: lost synchro
ts debug: skipping 94 bytes of garbage
ts warning: lost synchro
ts debug: skipping 94 bytes of garbage
ts warning: lost synchro
ts debug: skipping 94 bytes of garbage
ts warning: lost synchro
ts debug: skipping 94 bytes of garbage
ts warning: lost synchro
ts debug: skipping 94 bytes of garbage
ts debug: pid[255] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=1 version=0 current_next=1
ts debug: * number=1 pid=254
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=1 pid_pcr=111
ts debug: * es pid=111 type=27 fcc=h264
main debug: selecting program id=1
ts debug: * es pid=121 type=28 *unknown*
ts debug: * es pid=135 type=6 dr->i_tag=0x59
ts debug: * es pid=135 type=6 fcc=dvbs
ts debug: * es pid=136 type=6 dr->i_tag=0x59
ts debug: * es pid=136 type=6 fcc=dvbs
ts debug: * es pid=231 type=6 dr->i_tag=0x56
ts debug: * ttxt type=Teletext: program schedule lan=000 page=100
ts debug: * es pid=231 type=6 fcc=telx
filesystem warning: unimplemented query 4097 in control
main debug: using demux module "ts"
main debug: TIMER module_need() : 293.348 ms - Total 293.348 ms / 1 intvls (Avg 293.348 ms)
main debug: looking for a subtitle file in E:\tv recordings\
main debug: looking for decoder module: 32 candidates
main debug: meta ok for (null), need to fetch art
main debug: looking for meta fetcher module: 1 candidate
lua debug: Trying Lua scripts in C:\Users\Peter\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in E:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.lua
main debug: using meta fetcher module "lua"
main debug: TIMER module_need() : 19.378 ms - Total 19.378 ms / 1 intvls (Avg 19.378 ms)
main debug: removing module "lua"
main debug: searching art for Hos Clement - DR1 2012-11-13 22-13-11.ts
main debug: looking for art finder module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\Peter\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.lua
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.lua
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.lua
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\04_musicbrainz.lua
main debug: no art finder module matching "any" could be loaded
main debug: TIMER module_need() : 374.698 ms - Total 374.698 ms / 1 intvls (Avg 374.698 ms)
main debug: art not found for Hos Clement - DR1 2012-11-13 22-13-11.ts
avcodec debug: libavcodec initialized (interface 0x361e00)
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 758.062 ms - Total 758.062 ms / 1 intvls (Avg 758.062 ms)
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "packetizer_h264"
main debug: TIMER module_need() : 79.928 ms - Total 79.928 ms / 1 intvls (Avg 79.928 ms)
ts debug: DEMUX_SET_GROUP 0 00000000
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\Peter\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in E:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.lua
lua debug: Trying Lua playlist script E:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 4.982 ms - Total 4.982 ms / 1 intvls (Avg 4.982 ms)
main debug: `file:///E:/tv%20recordings/Hos%20Clement%20-%20DR1%202012-11-13%2022-13-11.ts' successfully opened
ts warning: first packet for pid=111 cc=0xe
ts warning: first packet for pid=231 cc=0x3
ts warning: first packet for pid=121 cc=0xf
main debug: Buffering 0%
main debug: Buffering 11%
ts warning: first packet for pid=135 cc=0xd
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 22%
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
ts warning: first packet for pid=136 cc=0xd
main debug: Buffering 34%
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 45%
main debug: Buffering 56%
main debug: Buffering 69%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 80%
packetizer_h264 warning: waiting for SPS/PPS
main debug: Buffering 91%
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 warning: waiting for SPS/PPS
main debug: Stream buffering done (309 ms in 5 ms)
main debug: Decoder buffering done in 0 ms
packetizer_h264 warning: waiting for SPS/PPS
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
packetizer_h264 debug: Seen SEI recovery point, 0 recovery frames
packetizer_h264 debug: Recovery from SEI recovery point complete
main debug: looking for text renderer module: 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 51.124 ms - Total 51.124 ms / 1 intvls (Avg 51.124 ms)
main debug: looking for video filter2 module: 18 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 79.471 ms - Total 79.471 ms / 1 intvls (Avg 79.471 ms)
main debug: looking for video filter2 module: 18 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 96.353 ms - Total 96.353 ms / 1 intvls (Avg 96.353 ms)
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module: 6 candidates
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 2 candidates
qt4 debug: requesting video...
qt4 debug: Video was requested 0, 0
main debug: using vout window hwnd module "qt4"
main debug: TIMER module_need() : 35.257 ms - Total 35.257 ms / 1 intvls (Avg 35.257 ms)
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: NVIDIA GeForce GTX 460 4318 3618 161
main debug: VoutDisplayEvent 'resize' 1296x758 window
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
main debug: using vout display module "direct3d"
main debug: TIMER module_need() : 134.312 ms - Total 134.312 ms / 1 intvls (Avg 134.312 ms)
main debug: original format sz 1280x720, of (0,0), vsz 1280x720, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: VoutDisplayEvent 'resize' 1280x720 window
main debug: looking for text renderer module: 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 0.647 ms - Total 0.647 ms / 1 intvls (Avg 0.647 ms)
avcodec debug: using direct rendering
main debug: End of video preroll
direct3d debug: Created 874x38 texture for OSD
main debug: Post-processing available
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
ts debug: eof ?
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: finished input
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "packetizer_h264"
main debug: removing module "ts"
ts debug: pid list:
ts debug: - pid[0] seen
ts debug: - pid[111] seen
ts debug: - pid[121] seen
ts debug: - pid[135] seen
ts debug: - pid[136] seen
main debug: Program doesn't contain anymore ES
ts debug: - pid[231] seen
ts debug: - pid[254] seen
ts debug: - pid[255] seen
ts debug: - pid[8191] seen
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
main debug: destroying useless vout
main debug: removing module "direct3d"
direct3d debug: Direct3D scene released successfully
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
qt4 debug: releasing video...
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'Hos Clement - DR1 2012-11-13 22-13-11.ts' : 1139.760 ms - Total 1139.760 ms / 1 intvls (Avg 1139.760 ms)
qt4 debug: Video is not needed anymore
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"

Re: Playing .ts files

Posted: 15 Nov 2012 16:07
by Lotesdelere
Please upload a short sample of a problematic file to either http://streams.videolan.org/upload/ or to EmbedUpload.com, the latter will upload the file for you to several other hosts and then post the link to the file here.

Re: Playing .ts files

Posted: 15 Nov 2012 18:12
by xdzgor
Unfortunately I get this reply from http://streams.videolan.org/upload/:
1
Warning: copy() [function.copy]: Filename cannot be empty in /Library/WebServer/Documents/upload/upload.php on line 48
Your upload has completed. You may close the window now.

Thank you for helping out VideoLAN

Re: Playing .ts files

Posted: 15 Nov 2012 20:48
by xdzgor

Re: Playing .ts files

Posted: 15 Nov 2012 23:39
by Jean-Baptiste Kempf
What was the name of the file?

Re: Playing .ts files

Posted: 16 Nov 2012 00:01
by xdzgor
Hannibal - Roms fjende (1_2) - DR K 2012-11-15 17-55-30.ts

Re: Playing .ts files

Posted: 16 Nov 2012 11:35
by Lotesdelere
The audio is AAC-LC LATM. But LATM muxing mode shouldn't be the problem as I have some other samples with AAC LATM which are playing fine with VLC. However AAC LC is quite unsual for a broadcast, all of the LATM samples I have are using AAC HE(v2).

No open source player I've tried could play the audio of this file, the only player that works is Arcsoft.

You should create a new ticket on the VLC Trac with your messages log and the links to your file and to this thread.

Re: Playing .ts files

Posted: 16 Nov 2012 11:44
by Jean-Baptiste Kempf
You should create a new ticket on the VLC Trac with your messages log and the links to your file and to this thread.
Please do.

Re: Playing .ts files

Posted: 16 Nov 2012 18:11
by xdzgor
Thanks, I have posted on the VLC Trac (ticket 7769).