Hello, i'm French so sorry for the translation in english.
I developped a software to convert videos. ts and I would implement a viewer for previewing tracks from video file to allow the user to select the tracks to be encoded.
do you know how are ordering the tracks in these files?
I need this information to write a script avisynth like this:
[code]LoadCPlugin ("D: \ ffms2.dll")
File = "D: \ video.ts"
V = FFVideoSource (File, track = x)
A = FFAudioSource (File, track = y)
Video AudioDub = (V, A)
Return Video[code]
My software tracks are played with MediaInfo shows me this information:
video stream #0= 0 PID: 600 video MPEG-2V
video stream #1 = PID 610, video MPEG-2V
video stream # 2 = PID 620, video MPEG-2V
video stream # 3 = PID 640, video MPEG-2V
audio stream #0= PID: 601, audio MPA1L2, English
audio stream #1 = PID 611, audio MPA1L2, English
audio stream # 2 = PID 621, audio MPA1L2, English
audio stream # 3 = PID 622, audio MPA1L2, german
audio stream #4 = PID 641, audio MPA1L2, English
In the tests after I made, the first video track that I found is in position x = 5 (base 0) and the first audio track is in position y = 6 (base 0). MediaInfo can not give me the order for all streams in general but by type of video stream (0,1,2,3) and Audio (0,1,2,3,4).
I would like for example what is the value of y to read the german Audio track.
Thank you very much if you can help me....
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 1 of 1
			
		Similar Threads
- 
  bizarre bug - DVD tracks playing in wrong order in DVP5990/92By lhughes in forum DVD & Blu-ray PlayersReplies: 1Last Post: 22nd Aug 2010, 05:23
- 
  How do you change the order of audio tracks?By FallenAngelII in forum DVD RippingReplies: 0Last Post: 29th Mar 2010, 06:22
- 
  updating ripped CDs on HDD - found out of order tracksBy Rudyard in forum ComputerReplies: 3Last Post: 20th Apr 2009, 23:59
- 
  ImgBurn and File OrderBy ctdvd in forum MediaReplies: 4Last Post: 28th Sep 2008, 14:32
- 
  WINAMP tracks do not play in order.By logannsan in forum ComputerReplies: 3Last Post: 6th Sep 2008, 18:54


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote