Das Orakel
09.01.2004, 12:19
Ich habe ein großes Problem mit einer MPEG2-Datei, die mit PowerVCR II aufgenommen wurde. Die Datei ist 6 GB groß und soll geschnitten und anschließend auf DVD gebrannt werden. Beim Abspielen mit dem MediaPlayer sind Bild und Ton synchron, auch zum Ende des Films hin.
Bevor ich die Datei mit MPEG2Schnitt schneide, muss die MPEG2-Datei demuxxed werden. TMPGEnc erzeugt keine synchronen Dateien, aber das war auch nicht zu erwarten.
Also habe ich PVAStrumento ausprobiert. Leider ist auch dort Bild und Ton nicht synchron. Irgendwo zwischendurch scheinen Video-Frames zu fehlen, da das Bild vor dem Ton kommt. Die Unterschiede liegen zum Ende hin im Bereich mehrerer Sekunden. Ich habe die Audio-Datei auch schon so resampled, dass es am Ende passt, dann passt es aber in der Mitte nicht.
Ich habe verschiedene Einstellungen probiert: Beautify MPEG1 audio an oder aus, Drop GOP frames larger than xxx Bytes an oder aus usw.
Hier das Log von PVAStrumento 2.1.0 RC4 (RC5 ballert den Speicher zu und wird nicht fertig, aber der Fehler ist ja bekannt):
***
*** PVAStrumento 2.1.0 RC4 build 71
*** running at 01-08-2004 20:57
***
Stream info for
M:\pvcrwork\file.mpg
Found 1 video stream.
Found 1 MPEG audio stream.
VIDEO #1
Resolution 720 x 576 (full D1)
Aspect ratio is 4:3
Frame rate 25.00 fps
Nominal bitrate 4000000 bps
First PTS: 00:00:00.236
MPEG AUDIO #1
MPEG1, Layer 2
stereo, sampled at 44.1 kHz.
Bitrate 224 kbps
Each frame contains 26.1 ms audio (731 bytes)
First PTS: 00:00:00.001
<<DEMUXING>>
Input: M:\pvcrwork\file.mpg
Options
.. fixing startup delay.
.. fixing stream synch.
.. keeping track of audio offset accumulation.
.. strict checking of audio framing.
.. dropping GOPs longer than 980 KB
.. splitting on change of audio format.
.. splitting on number of audio tracks.
.. creating new GOP timecodes.
Closing starting GOP.
Aiming for sync at 00:00:00.236
Cutting audio.
Audio stream 1 now starts at 00:00:00.235
Video stream 1 now starts at 00:00:00.236
New MPEG video : F:\Temp\file.mpv
[Creating MPEG2Schnitt .idd file F:\Temp\file.idd]
New MPEG audio : F:\Temp\file.mpa
[Creating MPEG2Schnitt .idd file F:\Temp\file.mpa.idd]
ALERT> Audio 1: 1 audio frames missing at 00:00:06.477
ALERT> Audio 1: PTS discontinuity at 00:00:06.477
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:00:06.501
Cutting video.
Closing starting GOP.
Aiming for sync at 00:00:06.997
Cutting audio.
Audio stream 1 now starts at 00:00:07.006
Video stream 1 now starts at 00:00:06.997
ALERT> Audio 1: 1 audio frames missing at 00:07:38.935
ALERT> Audio 1: 1 audio frames missing at 00:09:42.699
ALERT> Audio 1: 1 audio frames missing at 00:15:37.352
ALERT> Audio 1: 2 audio frames missing at 00:15:50.872
ALERT> Audio 1: PTS discontinuity at 00:15:50.872
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:15:50.897
Cutting video.
Closing starting GOP.
Aiming for sync at 00:15:51.393
Cutting audio.
Audio stream 1 now starts at 00:15:51.396
Video stream 1 now starts at 00:15:51.393
ALERT> Audio 1: 2 audio frames missing at 00:18:57.560
ALERT> Audio 1: PTS discontinuity at 00:18:57.560
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:18:57.585
Cutting video.
Closing starting GOP.
Aiming for sync at 00:18:58.080
Cutting audio.
Audio stream 1 now starts at 00:18:58.081
Video stream 1 now starts at 00:18:58.080
ALERT> Audio 1: 1 audio frames missing at 00:19:34.561
ALERT> Audio 1: PTS discontinuity at 00:19:34.561
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:19:34.561
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 00:19:34.561
Audio 1 starts at 00:19:34.558
ALERT> Audio 1: 1 audio frames missing at 00:29:57.025
ALERT> Audio 1: 1 audio frames missing at 00:30:57.867
ALERT> Audio 1: 1 audio frames missing at 00:39:08.286
ALERT> Audio 1: PTS discontinuity at 00:39:08.286
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:39:08.534
Cutting video.
Closing starting GOP.
Aiming for sync at 00:39:08.805
Cutting audio.
Audio stream 1 now starts at 00:39:08.795
Video stream 1 now starts at 00:39:08.805
ALERT> Audio 1: 1 audio frames missing at 00:40:01.847
ALERT> Audio 1: 1 audio frames missing at 00:43:14.775
ALERT> Audio 1: 1 audio frames missing at 00:44:04.736
ALERT> Audio 1: 1 audio frames missing at 00:47:05.704
ALERT> Audio 1: 1 audio frames missing at 00:48:10.226
ALERT> Audio 1: 1 audio frames missing at 00:48:47.667
ALERT> Audio 1: 1 audio frames missing at 00:49:02.228
ALERT> Audio 1: 2 audio frames missing at 01:00:05.292
ALERT> Audio 1: PTS discontinuity at 01:00:05.292
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:00:05.307
Cutting video.
Audio stream 1: PTS DISCONTINUITY
Closing starting GOP.
Aiming for sync at 01:00:05.617
Cutting video.
Closing starting GOP.
Aiming for sync at 01:00:05.812
Cutting audio.
Audio stream 1 now starts at 01:00:05.800
Video stream 1 now starts at 01:00:05.812
ALERT> Audio 1: 1 audio frames missing at 01:03:34.860
ALERT> Audio 1: 1 audio frames missing at 01:06:28.067
ALERT> Audio 1: 12 audio frames missing at 01:06:28.587
ALERT> Audio 1: PTS discontinuity at 01:06:28.587
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:06:28.589
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 01:06:28.587
Audio 1 starts at 01:06:28.589
ALERT> Audio 1: 1 audio frames missing at 01:06:49.907
ALERT> Audio 1: 2 audio frames missing at 01:08:51.633
ALERT> Audio 1: PTS discontinuity at 01:08:51.633
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:08:51.652
Cutting video.
Audio stream 1: PTS DISCONTINUITY
Closing starting GOP.
Aiming for sync at 01:08:52.119
Cutting video.
Closing starting GOP.
Aiming for sync at 01:08:52.153
Cutting audio.
Audio stream 1 now starts at 01:08:52.145
Video stream 1 now starts at 01:08:52.153
ALERT> Audio 1: 1 audio frames missing at 01:15:00.326
ALERT> Audio 1: 1 audio frames missing at 01:18:20.534
ALERT> Audio 1: PTS discontinuity at 01:18:20.534
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:18:20.544
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 01:18:20.534
Audio 1 starts at 01:18:20.544
ALERT> Audio 1: 1 audio frames missing at 01:32:42.206
ALERT> Audio 1: 1 audio frames missing at 01:33:25.367
ALERT> Audio 1: 1 audio frames missing at 01:36:02.934
ALERT> Audio 1: 1 audio frames missing at 01:36:54.936
ALERT> Audio 1: 2 audio frames missing at 01:38:40.500
ALERT> Audio 1: PTS discontinuity at 01:38:40.500
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:38:40.523
Cutting video.
Audio stream 1: PTS DISCONTINUITY
Closing starting GOP.
Aiming for sync at 01:38:40.547
Cutting video.
Closing starting GOP.
Aiming for sync at 01:38:41.020
Cutting audio.
Audio stream 1 now starts at 01:38:41.017
Video stream 1 now starts at 01:38:41.020
ALERT> Audio 1: 1 audio frames missing at 01:39:15.860
ALERT> Audio 1: 1 audio frames missing at 01:40:19.824
ALERT> Audio 1: 1 audio frames missing at 01:50:49.047
ALERT> Audio 1: PTS discontinuity at 01:50:49.047
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:50:49.049
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 01:50:49.047
Audio 1 starts at 01:50:49.049
ALERT> Audio 1: 1 audio frames missing at 01:51:25.448
ALERT> Audio 1: 1 audio frames missing at 01:53:20.372
ALERT> Audio 1: 1 audio frames missing at 01:54:56.056
ALERT> Audio 1: 1 audio frames missing at 01:55:00.216
ALERT> Audio 1: 1 audio frames missing at 02:05:51.801
ALERT> Audio 1: 1 audio frames missing at 02:07:44.645
ALERT> Audio 1: 1 audio frames missing at 02:16:41.305
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:04.706.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:05.226.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:05.746.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:06.266.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:06.786.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:07.306.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:07.826.
ALERT> Audio 1: 1 audio frames missing at 02:21:59.037
ALERT> Audio 1: 2 audio frames missing at 02:22:12.557
ALERT> Audio 1: PTS discontinuity at 02:22:12.557
Re-syncing.
Closing starting GOP.
Aiming for sync at 02:22:12.581
Cutting video.
Closing starting GOP.
Aiming for sync at 02:22:13.077
Cutting audio.
Audio stream 1 now starts at 02:22:13.077
Video stream 1 now starts at 02:22:13.077
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:24:27.243.
ALERT>
ALERT>
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:24:29.322.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:24:29.843.
ALERT> Audio 1: 1 audio frames missing at 02:26:32.567
ALERT> Audio 1: 2 audio frames missing at 02:29:54.855
ALERT> Audio 1: PTS discontinuity at 02:29:54.855
Re-syncing.
Closing starting GOP.
Aiming for sync at 02:29:54.869
Cutting video.
Closing starting GOP.
Aiming for sync at 02:29:55.375
Cutting audio.
Audio stream 1 now starts at 02:29:55.370
Video stream 1 now starts at 02:29:55.375
ALERT> Audio 1: 1 audio frames missing at 02:32:34.501
ALERT> Audio 1: 1 audio frames missing at 02:36:16.549
ALERT> Audio 1: PTS discontinuity at 02:36:16.549
Re-syncing.
Closing starting GOP.
Aiming for sync at 02:36:16.637
Cutting video.
Closing starting GOP.
Aiming for sync at 02:36:17.069
Cutting audio.
Audio stream 1 now starts at 02:36:17.055
Video stream 1 now starts at 02:36:17.069
ALERT> Audio 1: 1 audio frames missing at 02:40:15.758
ALERT> Audio 1: 1 audio frames missing at 02:40:50.079
ALERT> Audio 1: 1 audio frames missing at 02:45:18.410
ALERT> Audio 1: 1 audio frames missing at 02:46:51.493
ALERT> Audio 1: 1 audio frames missing at 02:47:13.854
ALERT> Audio 1: PTS discontinuity at 02:47:13.854
Re-syncing.
Closing starting GOP.
Aiming for sync at 02:47:14.217
Cutting video.
Closing starting GOP.
Aiming for sync at 02:47:14.374
Cutting audio.
Audio stream 1 now starts at 02:47:14.347
Video stream 1 now starts at 02:47:14.374
ALERT> Audio 1: 1 audio frames missing at 02:48:05.336
ALERT> Audio 1: 1 audio frames missing at 02:48:33.417
ALERT> Audio 1: 1 audio frames missing at 02:50:26.781
ALERT> Audio 1: 1 audio frames missing at 02:52:10.265
ALERT> Audio 1: 1 audio frames missing at 02:53:07.467
ALERT> Audio 1: 1 audio frames missing at 02:53:34.508
ALERT> Audio 1: 1 audio frames missing at 02:54:17.670
ALERT> Audio 1: 1 audio frames missing at 02:56:31.315
ALERT>
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:59:45.282.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:59:45.802.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:59:46.322.
ALERT> Audio 1: 1 audio frames missing at 03:03:29.411
ALERT> Audio 1: 1 audio frames missing at 03:04:23.493
ALERT> Audio 1: 1 audio frames missing at 03:04:47.413
ALERT> Audio 1: 1 audio frames missing at 03:05:52.416
ALERT> Audio 1: 1 audio frames missing at 03:09:14.183
ALERT> Audio 1: 1 audio frames missing at 03:10:17.626
ALERT> Audio 1: PTS discontinuity at 03:10:17.626
Re-syncing.
Closing starting GOP.
Aiming for sync at 03:10:17.643
Cutting video.
Closing starting GOP.
Aiming for sync at 03:10:18.146
Cutting audio.
Audio stream 1 now starts at 03:10:18.113
Video stream 1 now starts at 03:10:18.146
ALERT> Audio 1: 1 audio frames missing at 03:21:11.291
ALERT> Audio 1: 1 audio frames missing at 03:21:23.251
ALERT> Audio 1: 1 audio frames missing at 03:21:36.252
ALERT> Audio 1: 1 audio frames missing at 03:21:54.972
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:15.378.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:15.898.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:16.417.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:16.937.
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:17.977.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:18.498.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:25:09.979.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:25:10.500.
ALERT>
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:25:12.060.
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:25:13.100.
Number of audio tracks has changed. Splitting.
Last fileset:
5595108508 total bytes written
Video 1: 314574 frames, 03:29:42.960
Audio 1: 481838 frames, 03:29:42.855
Closing starting GOP.
Aiming for sync at 03:29:59.631
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 03:29:59.631
New MPEG video : F:\Temp\file_01.mpv
[Creating MPEG2Schnitt .idd file F:\Temp\file_01.idd]
ALERT> Dropping.
Re-syncing.
Last fileset:
221876 total bytes written
Video 1: 13 frames, 00:00:00.520
(Autosaving log to F:\Temp\file.txt)
Also zum nächsten Programm, ProjectX. ProjectX erzeugt meist eine komplette Videodatei mit einer Audiodatei, die nur den Anfang enthält. Einmal habe ich es auch hinbekommen, dass ProjectX die komplette Audiospur erzeugt, diese war dann aber wieder asynchron zur erzeugten Videospur. Leider weiß ich auch nicht mehr, mit welcher Einstellung ich die Audiospur komplett hatte. Ich habe mit diversen Optionen herumgespielt und sowohl den kompletten Film demuxxed als auch probiert, den Film gleich so zu schneiden, wie ich ihn brauche. Hier mal ein Log (nach 1,044 sec hört die Audiospur auf).
ProjectX 0.81.6 (30.11.2003)
=== session infos ===
=> working with collection 0
-> write output files to :
F:\Temp\
-> 2 cutpoint(s) defined (use BytePos. for cuts)
=> File 0: M:\pvcrwork\file.mpg (6730711040 bytes)
=> File is MPEG-2 PS/SS (Video/Audio PES)
=> demux
-> found PES-ID 0xE0 (MPEG Video)
-> found PES-ID 0xC0 (MPEG Audio)
-> cut-in @ new vframe 0 / new Timecode 00:00:00.000
-> video basics: 720*576 @ 25fps @ 0.6735 (4:3) @ 4000000bps, vbvBuffer 244
video: fr/ct/1p/cg/og/dg 192855/0/0/14835/0/0
videolength: 192855f @ 02:08:34.200
avg. nom. bitrate 3333125bps (min/max: 456400/25593600)
set first sequence_header bitrate to 9800000bps
===> new File: F:\Temp\file.mpv
--> MPEG Audio (0xC0)
!> 1 PTS's discarded in stream
Audio PTS: first packet 00:11:04.448, last packet 02:19:46.923
Video PTS: start 1.GOP 00:11:08.503, end last GOP 02:19:43.312
-> adjusting audio at video-timeline
!> missing syncword @ 0
!> found syncword @ 436
-> skipped sourceframe(s) @ 00:00:00.000
=> src_audio: MPEG-1,Layer2,44100Hz,stereo,224kbps,noCRC @ 00:00:00.000
-> skipped sourceframe(s) @ 00:00:00.026
-> skipped sourceframe(s) @ 00:00:01.044
-> skipped sourceframe(s) @ 00:00:01.044
-> skipped sourceframe(s) @ 00:00:01.044
[... 2227mal die gleiche Zeile ...]
-> skipped sourceframe(s) @ 00:00:01.044
audio frames: wri/pre/skip/ins/add 40/0/2233/0/0 @ 00:00:01.044 done..
===> new File: F:\Temp\file.mp2
summary of created media files:
.Video: 192855 Frames 02:08:34.200 F:\Temp\file.mpv
Audio 0: 40 Frames 00:00:01.044 0/2233/0/0 F:\Temp\file.mp2
=> 3214078826 bytes written...
Getestet, ob Bild und Ton synchron sind, habe ich auf verschiedene Weisen:
1. Mit MPEG2Schnitt .mpv und .mp2 laden und abspielen.
2. Mit BeSweet .mp2 nach .wav umwandeln und dann mit VirtualDub-MPEG2 die .mpv-Datei laden und die .wav-Datei einbinden und abspielen.
3. Mit TMPGEnc .mpv und .mp2 muxen und mit dem MediaPlayer abspielen.
Ich bin ratlos. Was nun?
Bevor ich die Datei mit MPEG2Schnitt schneide, muss die MPEG2-Datei demuxxed werden. TMPGEnc erzeugt keine synchronen Dateien, aber das war auch nicht zu erwarten.
Also habe ich PVAStrumento ausprobiert. Leider ist auch dort Bild und Ton nicht synchron. Irgendwo zwischendurch scheinen Video-Frames zu fehlen, da das Bild vor dem Ton kommt. Die Unterschiede liegen zum Ende hin im Bereich mehrerer Sekunden. Ich habe die Audio-Datei auch schon so resampled, dass es am Ende passt, dann passt es aber in der Mitte nicht.
Ich habe verschiedene Einstellungen probiert: Beautify MPEG1 audio an oder aus, Drop GOP frames larger than xxx Bytes an oder aus usw.
Hier das Log von PVAStrumento 2.1.0 RC4 (RC5 ballert den Speicher zu und wird nicht fertig, aber der Fehler ist ja bekannt):
***
*** PVAStrumento 2.1.0 RC4 build 71
*** running at 01-08-2004 20:57
***
Stream info for
M:\pvcrwork\file.mpg
Found 1 video stream.
Found 1 MPEG audio stream.
VIDEO #1
Resolution 720 x 576 (full D1)
Aspect ratio is 4:3
Frame rate 25.00 fps
Nominal bitrate 4000000 bps
First PTS: 00:00:00.236
MPEG AUDIO #1
MPEG1, Layer 2
stereo, sampled at 44.1 kHz.
Bitrate 224 kbps
Each frame contains 26.1 ms audio (731 bytes)
First PTS: 00:00:00.001
<<DEMUXING>>
Input: M:\pvcrwork\file.mpg
Options
.. fixing startup delay.
.. fixing stream synch.
.. keeping track of audio offset accumulation.
.. strict checking of audio framing.
.. dropping GOPs longer than 980 KB
.. splitting on change of audio format.
.. splitting on number of audio tracks.
.. creating new GOP timecodes.
Closing starting GOP.
Aiming for sync at 00:00:00.236
Cutting audio.
Audio stream 1 now starts at 00:00:00.235
Video stream 1 now starts at 00:00:00.236
New MPEG video : F:\Temp\file.mpv
[Creating MPEG2Schnitt .idd file F:\Temp\file.idd]
New MPEG audio : F:\Temp\file.mpa
[Creating MPEG2Schnitt .idd file F:\Temp\file.mpa.idd]
ALERT> Audio 1: 1 audio frames missing at 00:00:06.477
ALERT> Audio 1: PTS discontinuity at 00:00:06.477
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:00:06.501
Cutting video.
Closing starting GOP.
Aiming for sync at 00:00:06.997
Cutting audio.
Audio stream 1 now starts at 00:00:07.006
Video stream 1 now starts at 00:00:06.997
ALERT> Audio 1: 1 audio frames missing at 00:07:38.935
ALERT> Audio 1: 1 audio frames missing at 00:09:42.699
ALERT> Audio 1: 1 audio frames missing at 00:15:37.352
ALERT> Audio 1: 2 audio frames missing at 00:15:50.872
ALERT> Audio 1: PTS discontinuity at 00:15:50.872
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:15:50.897
Cutting video.
Closing starting GOP.
Aiming for sync at 00:15:51.393
Cutting audio.
Audio stream 1 now starts at 00:15:51.396
Video stream 1 now starts at 00:15:51.393
ALERT> Audio 1: 2 audio frames missing at 00:18:57.560
ALERT> Audio 1: PTS discontinuity at 00:18:57.560
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:18:57.585
Cutting video.
Closing starting GOP.
Aiming for sync at 00:18:58.080
Cutting audio.
Audio stream 1 now starts at 00:18:58.081
Video stream 1 now starts at 00:18:58.080
ALERT> Audio 1: 1 audio frames missing at 00:19:34.561
ALERT> Audio 1: PTS discontinuity at 00:19:34.561
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:19:34.561
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 00:19:34.561
Audio 1 starts at 00:19:34.558
ALERT> Audio 1: 1 audio frames missing at 00:29:57.025
ALERT> Audio 1: 1 audio frames missing at 00:30:57.867
ALERT> Audio 1: 1 audio frames missing at 00:39:08.286
ALERT> Audio 1: PTS discontinuity at 00:39:08.286
Re-syncing.
Closing starting GOP.
Aiming for sync at 00:39:08.534
Cutting video.
Closing starting GOP.
Aiming for sync at 00:39:08.805
Cutting audio.
Audio stream 1 now starts at 00:39:08.795
Video stream 1 now starts at 00:39:08.805
ALERT> Audio 1: 1 audio frames missing at 00:40:01.847
ALERT> Audio 1: 1 audio frames missing at 00:43:14.775
ALERT> Audio 1: 1 audio frames missing at 00:44:04.736
ALERT> Audio 1: 1 audio frames missing at 00:47:05.704
ALERT> Audio 1: 1 audio frames missing at 00:48:10.226
ALERT> Audio 1: 1 audio frames missing at 00:48:47.667
ALERT> Audio 1: 1 audio frames missing at 00:49:02.228
ALERT> Audio 1: 2 audio frames missing at 01:00:05.292
ALERT> Audio 1: PTS discontinuity at 01:00:05.292
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:00:05.307
Cutting video.
Audio stream 1: PTS DISCONTINUITY
Closing starting GOP.
Aiming for sync at 01:00:05.617
Cutting video.
Closing starting GOP.
Aiming for sync at 01:00:05.812
Cutting audio.
Audio stream 1 now starts at 01:00:05.800
Video stream 1 now starts at 01:00:05.812
ALERT> Audio 1: 1 audio frames missing at 01:03:34.860
ALERT> Audio 1: 1 audio frames missing at 01:06:28.067
ALERT> Audio 1: 12 audio frames missing at 01:06:28.587
ALERT> Audio 1: PTS discontinuity at 01:06:28.587
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:06:28.589
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 01:06:28.587
Audio 1 starts at 01:06:28.589
ALERT> Audio 1: 1 audio frames missing at 01:06:49.907
ALERT> Audio 1: 2 audio frames missing at 01:08:51.633
ALERT> Audio 1: PTS discontinuity at 01:08:51.633
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:08:51.652
Cutting video.
Audio stream 1: PTS DISCONTINUITY
Closing starting GOP.
Aiming for sync at 01:08:52.119
Cutting video.
Closing starting GOP.
Aiming for sync at 01:08:52.153
Cutting audio.
Audio stream 1 now starts at 01:08:52.145
Video stream 1 now starts at 01:08:52.153
ALERT> Audio 1: 1 audio frames missing at 01:15:00.326
ALERT> Audio 1: 1 audio frames missing at 01:18:20.534
ALERT> Audio 1: PTS discontinuity at 01:18:20.534
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:18:20.544
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 01:18:20.534
Audio 1 starts at 01:18:20.544
ALERT> Audio 1: 1 audio frames missing at 01:32:42.206
ALERT> Audio 1: 1 audio frames missing at 01:33:25.367
ALERT> Audio 1: 1 audio frames missing at 01:36:02.934
ALERT> Audio 1: 1 audio frames missing at 01:36:54.936
ALERT> Audio 1: 2 audio frames missing at 01:38:40.500
ALERT> Audio 1: PTS discontinuity at 01:38:40.500
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:38:40.523
Cutting video.
Audio stream 1: PTS DISCONTINUITY
Closing starting GOP.
Aiming for sync at 01:38:40.547
Cutting video.
Closing starting GOP.
Aiming for sync at 01:38:41.020
Cutting audio.
Audio stream 1 now starts at 01:38:41.017
Video stream 1 now starts at 01:38:41.020
ALERT> Audio 1: 1 audio frames missing at 01:39:15.860
ALERT> Audio 1: 1 audio frames missing at 01:40:19.824
ALERT> Audio 1: 1 audio frames missing at 01:50:49.047
ALERT> Audio 1: PTS discontinuity at 01:50:49.047
Re-syncing.
Closing starting GOP.
Aiming for sync at 01:50:49.049
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 01:50:49.047
Audio 1 starts at 01:50:49.049
ALERT> Audio 1: 1 audio frames missing at 01:51:25.448
ALERT> Audio 1: 1 audio frames missing at 01:53:20.372
ALERT> Audio 1: 1 audio frames missing at 01:54:56.056
ALERT> Audio 1: 1 audio frames missing at 01:55:00.216
ALERT> Audio 1: 1 audio frames missing at 02:05:51.801
ALERT> Audio 1: 1 audio frames missing at 02:07:44.645
ALERT> Audio 1: 1 audio frames missing at 02:16:41.305
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:04.706.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:05.226.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:05.746.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:06.266.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:06.786.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:07.306.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:17:07.826.
ALERT> Audio 1: 1 audio frames missing at 02:21:59.037
ALERT> Audio 1: 2 audio frames missing at 02:22:12.557
ALERT> Audio 1: PTS discontinuity at 02:22:12.557
Re-syncing.
Closing starting GOP.
Aiming for sync at 02:22:12.581
Cutting video.
Closing starting GOP.
Aiming for sync at 02:22:13.077
Cutting audio.
Audio stream 1 now starts at 02:22:13.077
Video stream 1 now starts at 02:22:13.077
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:24:27.243.
ALERT>
ALERT>
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:24:29.322.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:24:29.843.
ALERT> Audio 1: 1 audio frames missing at 02:26:32.567
ALERT> Audio 1: 2 audio frames missing at 02:29:54.855
ALERT> Audio 1: PTS discontinuity at 02:29:54.855
Re-syncing.
Closing starting GOP.
Aiming for sync at 02:29:54.869
Cutting video.
Closing starting GOP.
Aiming for sync at 02:29:55.375
Cutting audio.
Audio stream 1 now starts at 02:29:55.370
Video stream 1 now starts at 02:29:55.375
ALERT> Audio 1: 1 audio frames missing at 02:32:34.501
ALERT> Audio 1: 1 audio frames missing at 02:36:16.549
ALERT> Audio 1: PTS discontinuity at 02:36:16.549
Re-syncing.
Closing starting GOP.
Aiming for sync at 02:36:16.637
Cutting video.
Closing starting GOP.
Aiming for sync at 02:36:17.069
Cutting audio.
Audio stream 1 now starts at 02:36:17.055
Video stream 1 now starts at 02:36:17.069
ALERT> Audio 1: 1 audio frames missing at 02:40:15.758
ALERT> Audio 1: 1 audio frames missing at 02:40:50.079
ALERT> Audio 1: 1 audio frames missing at 02:45:18.410
ALERT> Audio 1: 1 audio frames missing at 02:46:51.493
ALERT> Audio 1: 1 audio frames missing at 02:47:13.854
ALERT> Audio 1: PTS discontinuity at 02:47:13.854
Re-syncing.
Closing starting GOP.
Aiming for sync at 02:47:14.217
Cutting video.
Closing starting GOP.
Aiming for sync at 02:47:14.374
Cutting audio.
Audio stream 1 now starts at 02:47:14.347
Video stream 1 now starts at 02:47:14.374
ALERT> Audio 1: 1 audio frames missing at 02:48:05.336
ALERT> Audio 1: 1 audio frames missing at 02:48:33.417
ALERT> Audio 1: 1 audio frames missing at 02:50:26.781
ALERT> Audio 1: 1 audio frames missing at 02:52:10.265
ALERT> Audio 1: 1 audio frames missing at 02:53:07.467
ALERT> Audio 1: 1 audio frames missing at 02:53:34.508
ALERT> Audio 1: 1 audio frames missing at 02:54:17.670
ALERT> Audio 1: 1 audio frames missing at 02:56:31.315
ALERT>
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:59:45.282.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:59:45.802.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 02:59:46.322.
ALERT> Audio 1: 1 audio frames missing at 03:03:29.411
ALERT> Audio 1: 1 audio frames missing at 03:04:23.493
ALERT> Audio 1: 1 audio frames missing at 03:04:47.413
ALERT> Audio 1: 1 audio frames missing at 03:05:52.416
ALERT> Audio 1: 1 audio frames missing at 03:09:14.183
ALERT> Audio 1: 1 audio frames missing at 03:10:17.626
ALERT> Audio 1: PTS discontinuity at 03:10:17.626
Re-syncing.
Closing starting GOP.
Aiming for sync at 03:10:17.643
Cutting video.
Closing starting GOP.
Aiming for sync at 03:10:18.146
Cutting audio.
Audio stream 1 now starts at 03:10:18.113
Video stream 1 now starts at 03:10:18.146
ALERT> Audio 1: 1 audio frames missing at 03:21:11.291
ALERT> Audio 1: 1 audio frames missing at 03:21:23.251
ALERT> Audio 1: 1 audio frames missing at 03:21:36.252
ALERT> Audio 1: 1 audio frames missing at 03:21:54.972
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:15.378.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:15.898.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:16.417.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:16.937.
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:17.977.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:24:18.498.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:25:09.979.
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:25:10.500.
ALERT>
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:25:12.060.
ALERT>
ALERT> Maximum GOP size (980000 Bytes) exceeded at 03:25:13.100.
Number of audio tracks has changed. Splitting.
Last fileset:
5595108508 total bytes written
Video 1: 314574 frames, 03:29:42.960
Audio 1: 481838 frames, 03:29:42.855
Closing starting GOP.
Aiming for sync at 03:29:59.631
Streamstart seems to be in (reasonable) sync:
Video 1 starts at 03:29:59.631
New MPEG video : F:\Temp\file_01.mpv
[Creating MPEG2Schnitt .idd file F:\Temp\file_01.idd]
ALERT> Dropping.
Re-syncing.
Last fileset:
221876 total bytes written
Video 1: 13 frames, 00:00:00.520
(Autosaving log to F:\Temp\file.txt)
Also zum nächsten Programm, ProjectX. ProjectX erzeugt meist eine komplette Videodatei mit einer Audiodatei, die nur den Anfang enthält. Einmal habe ich es auch hinbekommen, dass ProjectX die komplette Audiospur erzeugt, diese war dann aber wieder asynchron zur erzeugten Videospur. Leider weiß ich auch nicht mehr, mit welcher Einstellung ich die Audiospur komplett hatte. Ich habe mit diversen Optionen herumgespielt und sowohl den kompletten Film demuxxed als auch probiert, den Film gleich so zu schneiden, wie ich ihn brauche. Hier mal ein Log (nach 1,044 sec hört die Audiospur auf).
ProjectX 0.81.6 (30.11.2003)
=== session infos ===
=> working with collection 0
-> write output files to :
F:\Temp\
-> 2 cutpoint(s) defined (use BytePos. for cuts)
=> File 0: M:\pvcrwork\file.mpg (6730711040 bytes)
=> File is MPEG-2 PS/SS (Video/Audio PES)
=> demux
-> found PES-ID 0xE0 (MPEG Video)
-> found PES-ID 0xC0 (MPEG Audio)
-> cut-in @ new vframe 0 / new Timecode 00:00:00.000
-> video basics: 720*576 @ 25fps @ 0.6735 (4:3) @ 4000000bps, vbvBuffer 244
video: fr/ct/1p/cg/og/dg 192855/0/0/14835/0/0
videolength: 192855f @ 02:08:34.200
avg. nom. bitrate 3333125bps (min/max: 456400/25593600)
set first sequence_header bitrate to 9800000bps
===> new File: F:\Temp\file.mpv
--> MPEG Audio (0xC0)
!> 1 PTS's discarded in stream
Audio PTS: first packet 00:11:04.448, last packet 02:19:46.923
Video PTS: start 1.GOP 00:11:08.503, end last GOP 02:19:43.312
-> adjusting audio at video-timeline
!> missing syncword @ 0
!> found syncword @ 436
-> skipped sourceframe(s) @ 00:00:00.000
=> src_audio: MPEG-1,Layer2,44100Hz,stereo,224kbps,noCRC @ 00:00:00.000
-> skipped sourceframe(s) @ 00:00:00.026
-> skipped sourceframe(s) @ 00:00:01.044
-> skipped sourceframe(s) @ 00:00:01.044
-> skipped sourceframe(s) @ 00:00:01.044
[... 2227mal die gleiche Zeile ...]
-> skipped sourceframe(s) @ 00:00:01.044
audio frames: wri/pre/skip/ins/add 40/0/2233/0/0 @ 00:00:01.044 done..
===> new File: F:\Temp\file.mp2
summary of created media files:
.Video: 192855 Frames 02:08:34.200 F:\Temp\file.mpv
Audio 0: 40 Frames 00:00:01.044 0/2233/0/0 F:\Temp\file.mp2
=> 3214078826 bytes written...
Getestet, ob Bild und Ton synchron sind, habe ich auf verschiedene Weisen:
1. Mit MPEG2Schnitt .mpv und .mp2 laden und abspielen.
2. Mit BeSweet .mp2 nach .wav umwandeln und dann mit VirtualDub-MPEG2 die .mpv-Datei laden und die .wav-Datei einbinden und abspielen.
3. Mit TMPGEnc .mpv und .mp2 muxen und mit dem MediaPlayer abspielen.
Ich bin ratlos. Was nun?