2013-04-06, 21:46
I have found where PTV hangs, at least on my files.
I turned on debugging and started the latest version of PTV and it hung at 2 on channel 1. Looking at the log showed the 3rd file was a flv. The xbmc.log was showing many FLVParser entries. To test this I loaded the 1-23 version, let it populate the channels, then checked if any flv's were in the playlist and there were none. The version from 1-23 apparently does not parse flv files.
The scrapers parse these files and xbmc plays them without issue. Here is the mediainfo for the flv that hung in my above test.
I hope this helps.
EDIT:
Just found more stuff in the log that might help.
There are lots of these entries, this one was related to the file above.
I turned on debugging and started the latest version of PTV and it hung at 2 on channel 1. Looking at the log showed the 3rd file was a flv. The xbmc.log was showing many FLVParser entries. To test this I loaded the 1-23 version, let it populate the channels, then checked if any flv's were in the playlist and there were none. The version from 1-23 apparently does not parse flv files.
The scrapers parse these files and xbmc plays them without issue. Here is the mediainfo for the flv that hung in my above test.
Code:
General
Complete name : U:ichangedthisline.flv
Format : Flash Video
File size : 117 MiB
Duration : 23mn 37s
Overall bit rate : 692 Kbps
Tagging application : Yet Another Metadata Injector for FLV - Version 1.5
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 7
Duration : 23mn 37s
Bit rate : 614 Kbps
Width : 854 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.062
Stream size : 105 MiB (90%)
Writing library : x264 core 107
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=0.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=abr / mbtree=0 / bitrate=614 / ratetol=6.5 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.41 / pb_ratio=1.25 / aq=1:1.00
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 2
Codec ID/Hint : MP3
Duration : 23mn 37s
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Delay relative to video : 84ms
Stream size : 11.4 MiB (10%)
Writing library : LAMEUUULAME3.98.4
EDIT:
Just found more stuff in the log that might help.
Code:
04:41:42 T:2763691072 DEBUG: script.pseudotv-ChannelList: runActions 2 on channel 1
04:41:42 T:2763691072 DEBUG: script.pseudotv-VideoParser: getVideoLength smb://FREENAS/ichangedthisline.flv
04:41:42 T:2763691072 DEBUG: FLVParser: determineLength smb://FREENAS/ichangedthisline.flv
04:41:42 T:2763691072 DEBUG: script.pseudotv-FileAccess: trying to open smb://FREENAS/ichangedthisline.flv
04:41:42 T:2763691072 DEBUG: script.pseudotv-FileAccess: Opening for reading
04:41:42 T:2763691072 DEBUG: CSmbFile::Open - opened ichangedthisline.flv, fd=10000
04:41:42 T:2763691072 DEBUG: script.pseudotv-VFSFile: Opening smb://FREENAS/ichangedthisline.flv
04:41:42 T:2763691072 DEBUG: FLVParser: detected tag type 8
04:41:45 T:2675881024 DEBUG: Previous line repeats 234 times.
04:41:45 T:2675881024 DEBUG: Thread Jobworker 2675881024 terminating (autodelete)
04:41:45 T:2763691072 DEBUG: FLVParser: detected tag type 8
04:41:45 T:2650657856 DEBUG: Previous line repeats 2 times.
04:41:45 T:2650657856 DEBUG: Thread Jobworker 2650657856 terminating (autodelete)
04:41:45 T:2763691072 DEBUG: FLVParser: detected tag type 8
04:41:45 T:2780468288 DEBUG: Previous line repeats 38 times.
04:41:45 T:2780468288 DEBUG: script.pseudotv-FileLock: refreshLocks
04:41:45 T:2763691072 DEBUG: FLVParser: detected tag type 8
04:41:49 T:2650657856 DEBUG: Previous line repeats 361 times.