[VLCJ] Don't get info of video file !!!
Posted: 26 Sep 2013 08:21
I am trying to get info about codecs of video file.
Can you explain to me terms "Track", "Title", "Chapter", "Track Info", "Track Description".
I run "https://github.com/caprica/vlcj/blob/ma ... oTest.java" with my file "C:\\video.avi"
Output:
Why "profile=-1,level=-1,bitRate=0,language=null,description=null" ....
Method getAspectRatio() also return null...
Can anyone help me ??? Thanks!
Can you explain to me terms "Track", "Title", "Chapter", "Track Info", "Track Description".
I run "https://github.com/caprica/vlcj/blob/ma ... oTest.java" with my file "C:\\video.avi"
Output:
Code: Select all
Track Information: [VideoTrackInfo[codec=0x43435354,codecName=TSCC,originalCodec=0x0,originalCodecName=null,id=0,profile=-1,level=-1,bitRate=0,language=null,description=null][width=800,height=600,sampleAspectRatio=0,sampleAspectRatioBase=0,frameRate=0,frameRateBase=0], UnknownTrackInfo[codec=0x0,codecName=null,originalCodec=0x0,originalCodecName=null,id=-1,profile=1,level=22050,bitRate=0,language=null,description=null]]
Title Descriptions: []
Video Descriptions: [TrackDescription[id=-1,description=Vô hiệu], TrackDescription[id=0,description=Track 1]]
Audio Descriptions: [TrackDescription[id=-1,description=Vô hiệu], TrackDescription[id=1,description=Track 1]]
Method getAspectRatio() also return null...
Can anyone help me ??? Thanks!