Page 1 of 1

Windows VLC player unable to play (.TSV) file

Posted: 04 Oct 2016 14:55
by jm3767
My installation.
Win7 pro 64bit, VLC player v2.2.4 (Weathermax) 64bit running on Intel I7 /950

VLC player has operated without any problems with all video file formats that I had fed it, so in general nothing flawed with the installation.
VLC player will not play a video file(s) that has been recorded on an Aldi/Bauhn TV using the PVR funtion.
It is nominally given a .TSV file extension, but other program report it to be in an MPEG-TS container.

The video plays correctly with other video player programs: 1. ffplay 2. GOM 3. Win mediaplayer.
VLC media player either produces no audio and no video (just a flash of a second or so to the larger video window) for a short video file (10- 40 MB)
and a garbled (mainly gray) screen with advancing timeline on a large( 2Gb / 1hr) video file.


The log files (below) from ffprobe, ffplay, GOm player indicate that the video uses an mpeg2 codec -- fairly standard and which I though should be readily handled by VLC.
ffplay uses the mpeg2video library codec to correctly decode the file. Is my understanding correct that the same (similar?) mpeg2video library is used in VLC?
If this is the case, then it may indicate that there is some sort of problem in VLC player.

Have also tried the latest nightly build and there is no change in behaviour.

Any clues / suggestions?

regards,
Joe



The video file info as displayed by ffprobe

=============================================
>ffprobe Bauhn.TSV
ffprobe version N-81423-g61fac0e Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-li
aca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopenco
soxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpac
ble-zlib
libavutil 55. 29.100 / 55. 29.100
libavcodec 57. 54.100 / 57. 54.100
libavformat 57. 47.101 / 57. 47.101
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 52.100 / 6. 52.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[mpegts @ 0353b540] DTS discontinuity in stream 2: packet 3 with DTS 1565710389, packet 4 with DTS 8590429224
[mpegts @ 0353b540] PES packet size mismatch
[mpegts @ 0353b540] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0353b540] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0353b540] Could not find codec parameters for stream 5 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'Bauhn.TSV':
Duration: 21:41:04.82, start: 95448.717689, bitrate: 1 kb/s
Program 560
Metadata:
service_name : ABC News 24
service_provider: ABC
Stream #0:0[0x90a]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x90b](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s

==============================================================================================

and the log from ffplay

=========================================
>ffplay Bauhn.TSV
ffplay version N-81423-g61fac0e Copyright (c) 2003-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libc
aca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-lib
soxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --ena
ble-zlib
libavutil 55. 29.100 / 55. 29.100
libavcodec 57. 54.100 / 57. 54.100
libavformat 57. 47.101 / 57. 47.101
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 52.100 / 6. 52.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[mpegts @ 05524240] DTS discontinuity in stream 2: packet 3 with DTS 1565710389, packet 4 with DTS 8590429224
[mpegts @ 05524240] PES packet size mismatch
[mpegts @ 05524240] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 05524240] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 05524240] Could not find codec parameters for stream 5 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'Bauhn.TSV':
Duration: 21:41:04.82, start: 95448.717689, bitrate: 1 kb/s
Program 560
Metadata:
service_name : ABC News 24
service_provider: ABC
Stream #0:0[0x90a]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x90b](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
Stream #0:2[0x90c](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:3[0x157d]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:4[0x157c]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:5[0x1388]: Unknown: none ([11][0][0][0] / 0x000B)
Program 561
Metadata:
service_name : ABC
service_provider: ABC
Program 562
Metadata:
service_name : ABC2/KIDS
service_provider: ABC
Program 563
Metadata:
service_name : ABC
service_provider: ABC
Program 564
Metadata:
service_name : ABC ME
service_provider: ABC
Program 566
Metadata:
service_name : Double J
service_provider: ABC
Program 567
Metadata:
service_name : ABC Jazz
service_provider: ABC
No codec could be found with id 94215
95457.60 A-V: -0.017 fd= 6 aq= 34KB vq= 2102KB sq= 0B f=0/0

================================================================================

Gom player reports the format/codecs used as
==========================================================================
General
ID : 561 (0x231)
Complete name : Bauhn.TSV
Format : MPEG-TS
File size : 13.5 MiB
Duration : 12s 320ms
Start time : UTC 2016-10-04 06:44:01
End time : UTC 2016-10-04 06:44:04
Overall bit rate mode : Variable
Overall bit rate : 9 195 Kbps
Network name : ABC Melbourne
Country : AUS (1) / AUS (2) / AUS (3) / AUS (4) / AUS (5) / AUS (6) / AUS (7) / AUS (8)
Timezone : +10:00:00 / +11:00:00 / +11:00:00 / +10:00:00 / +10:30:00 / +08:00:00 / +11:00:00 / +09:30:00

Video
ID : 2314 (0x90A)
Menu ID : 560 (0x230)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=24
Codec ID : 2
Duration : 12s 20ms
Bit rate mode : Variable
Bit rate : 8 482 Kbps
Maximum bit rate : 90.0 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 fps
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.184
Time code of first frame : 16:18:01:14
Time code source : Group of pictures header
Stream size : 12.2 MiB (90%)

Audio
ID : 2315 (0x90B)
Menu ID : 560 (0x230)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 6
Duration : 12s 320ms
Bit rate mode : Constant
Bit rate : 256 Kbps
Maximum bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -1s 48ms
Stream size : 385 KiB (3%)
Language : English

===================================================================



The log file from VLC player

======================================================================================
[02804d2c] logger interface: VLC media player - 2.2.4 Weatherwax
[02804d2c] logger interface: Copyright © 1996-2016 the VideoLAN team
[02804d2c] logger interface:
Warning: if you cannot access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

[02804d2c] logger interface: using logger.
[02804d2c] logger interface debug: opening logfile `C:\Temp\Vlc_log.txt'
[mpeg2video @ 0731b6c0] ac-tex damaged at 7 0
[mpeg2video @ 0731b6c0] skipped MB in I frame at 41 1
[mpeg2video @ 0731b6c0] skipped MB in I frame at 1 2
[mpeg2video @ 0731b6c0] invalid mb type in I Frame at 2 3
[mpeg2video @ 0731b6c0] skipped MB in I frame at 2 4
[mpeg2video @ 0731b6c0] skipped MB in I frame at 9 5
[mpeg2video @ 0731b6c0] ac-tex damaged at 32 6
[mpeg2video @ 0731b6c0] invalid mb type in I Frame at 0 7
[mpeg2video @ 0731b6c0] ac-tex damaged at 17 8
[mpeg2video @ 0731b6c0] Warning MVs not available
[mpeg2video @ 0731b6c0] concealing 3600 DC, 3600 AC, 3600 MV errors in I frame
[mpeg2video @ 0731b6c0] ignoring SEQ_START_CODE after 100
[mpeg2video @ 0731b6c0] ignoring seq ext after 100
[mpeg2video @ 0731b6c0] ignoring GOP_START_CODE after 100
[mpeg2video @ 0731b6c0] ignoring extra picture following a frame-picture
[mpeg2video @ 0731b6c0] Missing picture start code, guessing missing values
[mpeg2video @ 0731b6c0] skipped MB in I frame at 10 0
[mpeg2video @ 0731b6c0] Warning MVs not available
[mpeg2video @ 0731b6c0] concealing 3600 DC, 3600 AC, 3600 MV errors in I frame
[mpeg2video @ 0731b6c0] ac-tex damaged at 7 0
[mpeg2video @ 0731b6c0] Warning MVs not available
[mpeg2video @ 0731b6c0] concealing 3600 DC, 3600 AC, 3600 MV errors in I frame

============================================================================

Re: Windows VLC player unable to play (.TSV) file

Posted: 05 Oct 2016 09:34
by Lotesdelere
Please open Tools -> Messages (set Verbosity to 2) before you start the playback, and then paste the full resulting log here or on Pastebin.com if it's too long.

Also upload a short sample of a problematic file to either http://streams.videolan.org/upload/ or to Zippyshare.com (200 MB max) or to EmbedUpload.com, the latter will upload the file for you to several other hosts (use the default ones) and then post the link to the file here.

If needed cut it with DGsplit and read here about how to do it:
viewtopic.php?f=14&t=57724&p=193335#p193335
50 MB max should be enough.

Re: Windows VLC player unable to play (.TSV) file

Posted: 05 Oct 2016 13:38
by jm3767
I had tried to upload a video file initially, but was not successful, but now have succeeded - (http://streams.videolan.org/upload does not seem to be responding).
Lotesdelere, thanks to your guidance.

I have followed your instructions and a video file (Bauhn_1.ts) which fails to play has been uploaded to Zippyshare.com This file is approx 42Mb
http://www88.zippyshare.com/v/D7vrGc61/file.html

The logfile has also been uploaded to Zippyshare.com
http://www88.zippyshare.com/v/IimamF8d/file.html


Subsequent observation.
The VLC log file appears to be reporting errors in the encoding of the video file and having difficulty in deciding upon the correct codec.
As an experiment, I processed the video file through ffmpeg ---- just using a copy function

ie ffmpeg -i bauhn_1.ts -c: copy all.ts

and the file produces plays properly with VLC player.
This would tend to indicate to me that the original PVR produced file may not be not well formatted / compliant with the standards, but unfortunately VLC player is not as robust or tenacious in dealing with a video file that has encoding/format issues as well as say ffmpeg / ffplay or some of the other players.
VLC player is my strong pref above the others, so would love it to work.


regards,
Joe.

===========================================================================
>ffmpeg -i bauhn_1.ts -c: copy all.ts
ffmpeg version N-81423-g61fac0e Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-l
aca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
soxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-lib
ble-zlib
libavutil 55. 29.100 / 55. 29.100
libavcodec 57. 54.100 / 57. 54.100
libavformat 57. 47.101 / 57. 47.101
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 52.100 / 6. 52.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[mpegts @ 031a7e80] DTS discontinuity in stream 2: packet 4 with DTS 1485343989, packet 5 with
[mpegts @ 031a7e80] PES packet size mismatch
[mpegts @ 031a7e80] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0]
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 031a7e80] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0]
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 031a7e80] Could not find codec parameters for stream 5 (Unknown: none ([11][0][0][0]
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'bauhn_1.ts':
Duration: 21:56:22.92, start: 95448.717689, bitrate: 4 kb/s
Program 560
Metadata:
service_name : ABC News 24
service_provider: ABC
Stream #0:0[0x90a]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1280x72
Stream #0:1[0x90b](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
Stream #0:2[0x90c](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:3[0x157d]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:4[0x157c]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:5[0x1388]: Unknown: none ([11][0][0][0] / 0x000B)
Program 561
Metadata:
service_name : ABC
service_provider: ABC
Program 562
Metadata:
service_name : ABC2/KIDS
service_provider: ABC
Program 563
Metadata:
service_name : ABC
service_provider: ABC
Program 564
Metadata:
service_name : ABC ME
service_provider: ABC
Program 566
Metadata:
service_name : Double J
service_provider: ABC
Program 567
Metadata:
service_name : ABC Jazz
service_provider: ABC
[mpegts @ 05311ba0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use
Last message repeated 1 times
Output #0, mpegts, to 'all.ts':
Metadata:
encoder : Lavf57.47.101
Stream #0:0: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1280x720 [SAR
Stream #0:1(eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 256 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 05311ba0] Timestamps are unset in a packet for stream 0. This is deprecated and will
[mpegts @ 031a7e80] PES packet size mismatchime=00:00:37.82 bitrate=8844.3kbits/s speed=75.6x
frame= 1870 fps=0.0 q=-1.0 Lsize= 42265kB time=00:00:38.22 bitrate=9057.1kbits/s speed=75.7x
video:37750kB audio:1171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:


===========================================