ProjectX i els àudios!

Manuals i tutorials.

Moderadors: Petiso, Ayu

Respon
Avatar de l’usuari

Autor del tema
Petiso
Site Admin
Site Admin
Entrades: 15907
Membre des de: dv. oct. 06, 2006 13:13
Status: Desconnectat

ProjectX i els àudios!

#1

Entrada Autor: Petiso » dc. set. 16, 2009 1:25

Un problema que te el projectX, es que ordena els àudios com vol, i per tant hem d'aprendre a ordenar-los nosaltres !

Comencem, al principi del log trobem:

Codi: Selecciona’ls tots

Audio:
PID: 0x8E(cat)(#42)
PID: 0x90(v.o)(#44)
PID: 0x92(a.d)
Això es el ID de cada àudio dins del stream.

En l'exemple, el 0x8E es el català. El 0x90 es el VO, i el 0x92 es el AD. Fins aquí cap problema :-p

NOTA: Aquets ID's canvien segons el canal !!

Ara el projectX ens ha generat 3 fitxers d'àudio. En l'exemple tenim:

Codi: Selecciona’ls tots

09-15_07-15-00_K3300 (cat)_Inspector Gadget.mpa
09-15_07-15-00_K3300 (cat)_Inspector Gadget[1].mpa
09-15_07-15-00_K3300 (cat)_Inspector Gadget[2].mpa
Doncs aquests fitxers NO tenen per que estar ordenats com nosaltres pensem !!

Doncs només cal veure quin ID te cada fitxer al log, per saber quin àudio es cada un (i agafar només el/els que ens interessen i en l'ordre que volem).

En l'exemple, s'ha ficat en colorets on es veu quin ID es cada àudio:
Verd = Català
Blau = VO
Vermell = AD
Tuesday, September 15, 2009 7:35:32 PM CEST
ProjectX 0.90.4.00 (30.03.2006)

-> working with collection 0

-> save normal log file
-> write all video data
-> write all other data
-> patch c.d.flagged infos of pictures
-> add sequence end code
-> set resolution in SDE
-> PVA: strictly specs. for audio streams
-> VOB: determine diff. Cell timelines
-> TS: enhanced search for open packets
-> TS: join file segments (of Dreambox®)
-> TS: generate PMT stream dependent
-> get only enclosed PES/TS packets
-> concatenate different recordings
-> ensure 1st PES-packet start with video
-> generate PCR/SCR from PTS

-> write output files to: 'D:\TDT\Record'
-> 2 cutpoint(s) defined ( (0) use BytePos. for cuts )

-> Input File 0: 'D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget.ts' (1,864,148,592 bytes)
-> Filetype is TS (generic PES Container)
-> demux
-> Service ID 0x324
-> PMT 0x8C refers to these usable streams:
Video:
PID: 0x8D(#11)
Audio:
PID: 0x8E(cat)(#42)
PID: 0x90(v.o)(#44)
PID: 0x92(a.d)
Teletext:
n/a
Subpict.:
n/a

!> missing sync. byte @ 461065748
!> found sync. byte @ 461065864
ok> PID 0x90 has PES-ID 0xC3 (MPEG Audio) (461074888 #49)
ok> PID 0x8D has PES-ID 0xE0 (MPEG Video) (461081280 #83)
ok> PID 0x8E has PES-ID 0xC0 (MPEG Audio) (461109856 #235)
!> PID 0x0 (PAT) (461110608 #239) -> ignored
ok> PID 0x92 has PES-ID 0xC4 (MPEG Audio) (461126588 #324)
!> PID 0x8C (PMT) (461167384 #541) -> ignored
-> cut-in @ GOP# 6 / new vframe 0 / new Timecode 00:00:00.000 (463675492)
-> video basics: 720*576 @ 25fps @ 0.7031 (16:9) @ 15000000bps, vbvBuffer 112
-> starting export of video data @ GOP# 6
!> dropping useless B-Frames @ GOP# 6 / new Timecode 00:00:00.000
GOP# 7, new format in next leading sequenceheader detected: (00:00:00.640)
-> video basics: 720*576 @ 25fps @ 0.6735 (4:3) @ 15000000bps, vbvBuffer 112
-> cut-out @ GOP# 2755 (1153444860)
packs: 3678176 61% 1155226160

-> Video: fr/ ct/ 1p/ cg/ og/ dg -> 33460/ 14/ 0/ 2749/ 0/ 0
-> Video length: 33460 frames @ 00:22:18.400
-> GOP summary: min. 18, max. 36 fields; contains interlaced frames
-> avg. nom. bitrate 3649979bps (min/max: 1662000/6352800)
-> set first sequenceheader bitrate to 6352800bps
---> new File: D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget.m2v

--> MPEG Audio (0xC3) on PID 0x90
-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 09:37:12.165, last packet 09:59:37.845
Video PTS: start 1.GOP 09:37:15.574, end last GOP 09:59:33.974
-> adjusting audio at video-timeline
-> src_audio: MPEG-1, Layer2, 48000Hz, mono, 96kbps, CRC @ 00:00:00.000
audio frames: wri/pre/skip/ins/add 55767/0/0/0/0 @ 00:22:18.408 done...
---> new File: 'D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget.mpa'

--> MPEG Audio (0xC0) on PID 0x8E
-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 09:37:12.213, last packet 09:59:37.677
Video PTS: start 1.GOP 09:37:15.574, end last GOP 09:59:33.974
-> adjusting audio at video-timeline
-> src_audio: MPEG-1, Layer2, 48000Hz, jstereo, 160kbps, CRC @ 00:00:00.000
audio frames: wri/pre/skip/ins/add 55767/0/0/0/0 @ 00:22:18.408 done...
---> new File: 'D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget[1].mpa'

--> MPEG Audio (0xC4) on PID 0x92
-> check CRC of AC-3 / MPEG-Audio L1,2
-> delete CRC in MPEG-Audio Layer1,2
-> add frames
Audio PTS: first packet 09:37:12.237, last packet 09:59:37.797
Video PTS: start 1.GOP 09:37:15.574, end last GOP 09:59:33.974
-> adjusting audio at video-timeline
-> src_audio: MPEG-1, Layer2, 48000Hz, mono, 96kbps, CRC @ 00:00:00.000
audio frames: wri/pre/skip/ins/add 55767/0/0/0/0 @ 00:22:18.408 done...
---> new File: 'D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget[2].mpa'

summary of created media files:
.Video (m2v): 33460 Frames 00:22:18.400 'D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget.m2v'
Audio 0 (mp2): 55767 Frames 00:22:18.408 0/0/0/0 'D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget.mpa'
Audio 1 (mp2): 55767 Frames 00:22:18.408 0/0/0/0 'D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget[1].mpa'
Audio 2 (mp2): 55767 Frames 00:22:18.408 0/0/0/0 'D:\TDT\Record\09-15_07-15-00_K3300 (cat)_Inspector Gadget[2].mpa'
=> 669,531,458 bytes written...
-> we have 5 warnings/errors.
Per tant, tornant el exemple, hauriem d'agafar els seguents audios i amb aquest ordre:

Codi: Selecciona’ls tots

09-15_07-15-00_K3300 (cat)_Inspector Gadget[1].mpa
09-15_07-15-00_K3300 (cat)_Inspector Gadget.mpa


Imatge Imatge

Avatar de l’usuari

Autor del tema
Petiso
Site Admin
Site Admin
Entrades: 15907
Membre des de: dv. oct. 06, 2006 13:13
Status: Desconnectat

Re: ProjectX i els àudios!

#2

Entrada Autor: Petiso » dc. set. 16, 2009 1:32

Aquí teniu els PID's pels diferents cantals de TVC:

TV3

Codi: Selecciona’ls tots

Audio:
PID: 0x70(cat)(#12)
PID: 0x72(v.o)(#14)
PID: 0x73(ac3)(AC-3)(AC-3)[PD]
PID: 0x74(a.d)(#16)
33

Codi: Selecciona’ls tots

Audio:
PID: 0x7A(cat)(#22)
PID: 0x7C(v.o)(#24)
k3/300

Codi: Selecciona’ls tots

Audio:
PID: 0x8E(cat)(#42)
PID: 0x90(v.o)(#44)
PID: 0x92(a.d)
Imatge Imatge

Respon