Nabend, ich habe mal wieder mit Asynchronem Bild/Ton zu kämpfen.
Erstmal poste ich die Infos vom Source File (verwendetes Tool Media Info):
@Video:
Modus der Gesamtbitrate : konstantGesamte Bitrate : 5 982 Kbpsmaximale Gesamtbitrate : 6 433 KbpsKommentar : Created with Encode360
Format : WMV2Codec-ID : WMV2Codec-ID/Info : Windows Media Video 8Beschreibung zum Codec : Windows Media Video V8Dauer : 2h 3minBitraten-Modus : konstantBitrate : 6 000 KbpsBreite : 1 280 PixelHöhe : 720 PixelBildseitenverhältnis : 16:9Bildwiederholungsrate : 23,976 FPSAuflösung : 24 bitsBits/(Pixel*Frame) : 0.272Stream-Größe : 5,18 GiB
@Audio:
Format : WMAFormat-Profil : ProCodec-ID : 162Codec-ID/Info : Windows Media AudioBeschreibung zum Codec : Windows Media Audio 10 Professional - 384 kbps, 48 kHz, 5.1 channel 24 bit (A/V) 1-pass CBRDauer : 2h 3minBitraten-Modus : konstantBitrate : 384 KbpsKanäle : 6 KanäleSamplingrate : 48,0 KHzAuflösung : 24 bits
Ergebnis: Beides läuft im Quellfile synchron.
So: Aus dem Video eine Mkv Basteln ging mit Avi Synth Script+MeGUI relativ einfach. Mein Ergebnis sieht dann so aus:
Format : MatroskaDateigröße : 6,91 GiBDauer : 2h 3minGesamte Bitrate : 8 003 KbpsKodierendes Programm : x264verwendete Encoder-Bibliothek : Haali Matroska Writer b0
bzw.:
Format : AVCFormat/Info : Advanced Video CodecFormat-Profil : High@L4.1Format-Einstellungen für CABAC : JaFormat-Einstellungen für ReFrame : 2 framesMuxing-Modus : Container profile=Unknown@4.1Codec-ID : V_MPEG4/ISO/AVCDauer : 2h 3minBitrate : 7 844 Kbpsnominale Bitrate : 8 000 KbpsBreite : 1 280 PixelHöhe : 720 PixelBildseitenverhältnis : 16:9Bildwiederholungsrate : 23,976 FPSAuflösung : 24 bitsColorimetrie : 4:2:0Scantyp : progressivBits/(Pixel*Frame) : 0.355Stream-Größe : 6,77 GiB (98%)verwendete Encoder-Bibliothek : x264 core 68 r1183M f21daffKodierungseinstellungen : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy_rd=0.0:0.0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=8000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Soweit so gut. Beim Audio gab es allerdings extreme Probleme.
Öffne ich die WMV mit Virtual Dub 1.9.7 (incl. ein paar Plugins) wird kein Bild angezeigt, sondern es steht missing codec im Bildfenster.
Gehe ich auf File --> Save as Wav erhalte ich ein abspielbares Wavefile.
Genauer:
Format : WMAFormat-Profil : ProCodec-ID : 162Codec-ID/Info : Windows Media AudioDauer : 2h 3minBitrate : 384 KbpsKanäle : 6 KanäleSamplingrate : 48,0 KHzAuflösung : 24 bits
was für mich auch erst mal ganz annehmbar aussieht. Dachte ich zumindest!
Ich habe diverse Programme getestet, doch keine wollte die Wav Datei mit dem Wma3 Codec umwandeln. Selbst SUPER bricht mit einer Error Message ab. (auch im Stream Copy Mode).
Jetz kommt das erste kuriose: Gebe ich Super das original WMV File zu fressen, erstellt er mir ohne Murks eine abspielbare Ac3 Datei. Diese sieht dann so aus:
Format : AC-3Format/Info : Audio Coding 3Dauer : 2h 3minBitraten-Modus : konstantBitrate : 448 KbpsKanäle : 6 KanäleKanal-Positionen : Front: L C R, Surround: L R, LFESamplingrate : 48,0 KHzStream-Größe : 396 MiB (100%)
So und wenn ich das Ganze nun mit SUPER oder MeGUI muxxe, oder z.B. mit dem ts muxxer muxxe, habe ich als Ergebnis ein Asynchrones MKV bzw. ts File.
Der Delay beträgt bereits am Anfang einige Sekunen.
Hier mal das Beispiel des asynchronen ts Files:
video:
ID : 4113 (0x1011)Menü-ID : 1 (0x1)Format : AVCFormat/Info : Advanced Video CodecFormat-Profil : High@L4.1Format-Einstellungen für CABAC : JaFormat-Einstellungen für ReFrame : 2 framesDauer : 2h 3minBitrate : 7 649 Kbpsnominale Bitrate : 8 000 KbpsBreite : 1 280 PixelHöhe : 720 PixelBildseitenverhältnis : 16:9Bildwiederholungsrate : 23,976 FPSAuflösung : 24 bitsColorimetrie : 4:2:0Scantyp : progressivBits/(Pixel*Frame) : 0.346Stream-Größe : 6,61 GiB (88%)verwendete Encoder-Bibliothek : x264 core 68 r1183M f21daffKodierungseinstellungen : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy_rd=0.0:0.0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=8000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.0Sprache : Englisch
audio:
ID : 4352 (0x1100)Menü-ID : 1 (0x1)Format : AC-3Format/Info : Audio Coding 3Dauer : 2h 3minBitraten-Modus : konstantBitrate : 448 KbpsKanäle : 6 KanäleKanal-Positionen : Front: L C R, Surround: L R, LFESamplingrate : 48,0 KHz
bzw. das Asynchrone MKV File:
ID : 1Format : AVCFormat/Info : Advanced Video CodecFormat-Profil : High@L4.1Format-Einstellungen für CABAC : JaFormat-Einstellungen für ReFrame : 2 framesMuxing-Modus : Container profile=Unknown@4.1Codec-ID : V_MPEG4/ISO/AVCDauer : 2h 3minBitrate : 7 834 Kbpsnominale Bitrate : 8 000 KbpsBreite : 1 280 PixelHöhe : 720 PixelBildseitenverhältnis : 16:9Bildwiederholungsrate : 25,000 FPSoriginale Bildwiederholungsrate : 23,976 FPSAuflösung : 24 bitsColorimetrie : 4:2:0Scantyp : progressivBits/(Pixel*Frame) : 0.340Stream-Größe : 6,77 GiB (93%)verwendete Encoder-Bibliothek : x264 core 68 r1183M f21daffKodierungseinstellungen : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy_rd=0.0:0.0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=8000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00Sprache : Englisch
ID : 2Format : AC-3Format/Info : Audio Coding 3Codec-ID : A_AC3Dauer : 2h 3minBitraten-Modus : konstantBitrate : 448 KbpsKanäle : 6 KanäleKanal-Positionen : Front: L C R, Surround: L R, LFESamplingrate : 48,0 KHz
Beim mkv File fällt mir hier auf, dass
Zitat
Bildwiederholungsrate : 25,000 FPS
originale Bildwiederholungsrate : 23,976 FPS
Ich die Rate anscheinend wieder anpassen müsste auf 23,976FPS. Dies geht jedoch bei mir nicht im tsMuxxer. Hier kann ich nur 24FPS, 25FPS, 24000/1001 bzw. 25/1001 einstellen. (bei den General Tracking options). Diese FPS Varianten habe ich auch bereits alle ohne Erfolg getestet.
Interessant für euch ist eventuell noch folgende Meldung vom tsmuxxer im output fenster:
SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
Decoding H264 stream (track 1): Profile: High@4.1 Resolution: 1280:720p Frame rate: 23.976
H.264 stream does not contain fps field. Muxing fps=23.976
H264 bitstream changed: insert nal unit delimiters
H264 bitstream changed: insert pict timing and buffering period SEI units
Decoding AC3 stream (track 2): Bitrate: 448Kbps Sample Rate: 48KHz Channels: 6
H264 bitstream changed: insert SPS/PPS units
Vielleicht hat einer von euch ja eine Idee, wo das Problem sein könnte. Ich bin jedenfalls mit meinem Latein am Ende.
Wer sich fragt, warum ich das ganze mache: Ich habe eine WDTV Media Box. Diese unterstützt eben kein WMV, sondern nur MKV, Ts, M2TS usw.