Versuche jetzt seit einigen Tagen vergeblich meine HD Aufnahmen in ein anderes Format zu bringen: Möchte einen h.264 Stream in einen mp4 Container packen, bekomme aber am Ende immer nur eine nicht korrekt laufende Datei dabei heraus (Bild zuckelt bei VLC oder wird im WMP gar nicht abgespielt).
Hier mal mein Workflow:
Habe einen mit einem Edision Receiver aufgezeichneten HD .ts Stream. Da der Edison (wie auch z.B. die Comag Teile) die Aufnahmen in 1GB große Dateien gesplittet auf der Festplatte ablegt, habe ich den TS zunächst mit dem Tool dvrmerge zusammengefügt.
-> Quellmaterial (TS Ausschnitt - 10MB)
AllgemeinID : 801Vollständiger Name : C:\Users\Thomas Miller\Desktop\EWS\ews.tsFormat : MPEG-TSDateigröße : 14,9 GiBDauer : 3h 9minGesamte Bitrate : 11,2 MbpsVideoID : 2362 (0x93A)Menü-ID : 10000 (0x2710)Format : AVCFormat/Info : Advanced Video CodecFormat-Profil : Main@L4.0Format-Einstellungen für CABAC : JaFormat-Einstellungen für ReFrame : 4 framesDauer : 3h 9minBitrate : 10,2 MbpsBreite : 1 440 PixelHöhe : 1 080 PixelBildseitenverhältnis : 16:9Bildwiederholungsrate : 25,000 FPSColorSpace : YUVChromaSubsampling : 4:2:0BitDepth/String : 8 bitsScantyp : InterlacedScanreihenfolge : oberes Feld zuerstBits/(Pixel*Frame) : 0.262Stream-Größe : 13,5 GiB (91%)colour_primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177transfer_characteristics : BT.709-5, BT.1361matrix_coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177Audio #1ID : 2363 (0x93B)Menü-ID : 10000 (0x2710)Format : AC-3Format/Info : Audio Coding 3Format_Settings_ModeExtension : CM (complete main)Dauer : 3h 9minBitraten-Modus : konstantBitrate : 256 KbpsKanäle : 2 KanäleKanal-Positionen : Front: L RSamplingrate : 48,0 KHzBitDepth/String : 16 bitsVideo Verzögerung : -335msStream-Größe : 348 MiB (2%)Sprache : EnglischAudio #2ID : 2369 (0x941)Menü-ID : 10000 (0x2710)Format : MPEG AudioFormat-Version : Version 1Format-Profil : Layer 2Dauer : 3h 9minBitraten-Modus : konstantBitrate : 192 KbpsKanäle : 2 KanäleSamplingrate : 48,0 KHzVideo Verzögerung : -408msStream-Größe : 261 MiB (2%)Sprache, nähere Info : Clean effectsMenüID : 288 (0x120)Menü-ID : 10000 (0x2710)Dauer : 3h 9minListe : 2362 (0x93A) (AVC) / 2363 (0x93B) (AC-3, Englisch) / 2369 (0x941) (MPEG Audio)Sprache : / Englisch
Den Transportstream habe ich dann mit dgavcdec in seine Bestandteile demuxed und dabei u.a. eine h.264 Raw-Datei sowie einen AC3 Audiostream erhalten.
Stream Type: Transport [188]Profile: MainLevel: 4Frame Size: 1440x1080SAR: 4:3Display Size: 1920x1080Frame Rate: 25.000000 fpsColorimetry: BT.709 [1]Frame Structure: Fields (TFF)Frame Type: not yetCoded Number: 254772Playback Number: 254772Frame Repeats: 0Field Repeats: 0Bitrate: 9.894Bitrate (Avg): 9.851Bitrate (Max): 12.045Audio Stream: 93b: AC3 2/0 48 256Audio Stream: 941: MPEG2 L2 2ch 48 192Elapsed: 0:19:46Remain: 0:01:01FPS: Info: Finished!
-> Demuxed Video (h.264 Ausschnitt - 10MB)
AllgemeinVollständiger Name : C:\Users\Thomas Miller\Desktop\EWS\ews.demuxed.264Format : AVCFormat/Info : Advanced Video CodecDateigröße : 12,0 GiBVideoFormat : AVCFormat/Info : Advanced Video CodecFormat-Profil : Main@L4.0Format-Einstellungen für CABAC : JaFormat-Einstellungen für ReFrame : 4 framesBreite : 1 440 PixelHöhe : 1 080 PixelBildseitenverhältnis : 16:9Bildwiederholungsrate : 25,000 FPSColorSpace : YUVChromaSubsampling : 4:2:0BitDepth/String : 8 bitsScantyp : InterlacedScanreihenfolge : oberes Feld zuerstcolour_primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177transfer_characteristics : BT.709-5, BT.1361matrix_coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
-> Demuxed Audio (AC3 Ausschnitt - 10MB)
AllgemeinVollständiger Name : C:\Users\Thomas Miller\Desktop\EWS\ews PID 93b 2_0ch 48KHz 256Kbps DELAY -91ms.ac3Format : AC-3Format/Info : Audio Coding 3Dateigröße : 311 MiBDauer : 2h 49minGesamte Bitrate : 256 KbpsAudioFormat : AC-3Format/Info : Audio Coding 3Format_Settings_ModeExtension : CM (complete main)Dauer : 2h 49minBitraten-Modus : konstantBitrate : 256 KbpsKanäle : 2 KanäleKanal-Positionen : Front: L RSamplingrate : 48,0 KHzBitDepth/String : 16 bitsStream-Größe : 311 MiB (100%)
Anschließend habe ich dann die h.264 und AC3 Spuren mit den Standardeinstellungen über Yamb (mp4box) versucht in einen mp4 Container zu packen.
-> Zieldatei (mp4 Ausschnitt - 10MB)
Allgemein
Vollständiger Name : C:\Users\Thomas Miller\Desktop\EWS\ews.mp4
Format : MPEG-4
Format-Profil : Base Media
Codec-ID : isom
Dateigröße : 11,4 GiB
Dauer : 5h 39min
Gesamte Bitrate : 4 822 Kbps
Kodierungs-Datum : UTC 2010-08-08 11:47:29
Tagging-Datum : UTC 2010-08-08 11:47:29
Kodierendes Programm : Yamb 2.1.0.0 [http://yamb.unite-video.com]
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format-Profil : Main@L4.0
Format-Einstellungen für CABAC : Ja
Format-Einstellungen für ReFrame : 4 frames
Codec-ID : avc1
Codec-ID/Info : Advanced Video Coding
Dauer : 5h 39min
Bitraten-Modus : variabel
Bitrate : 4 693 Kbps
maximale Bitrate : 7 608 Kbps
Breite : 1 440 Pixel
Höhe : 1 080 Pixel
Bildseitenverhältnis : 16:9
Modus der Bildwiederholungsrate : konstant
Bildwiederholungsrate : 25,000 FPS
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 8 bits
Scantyp : Interlaced
Scanreihenfolge : oberes Feld zuerst
Bits/(Pixel*Frame) : 0.121
Stream-Größe : 11,1 GiB (97%)
Titel : Imported with GPAC 0.4.6-DEV (internal rev. 5)
Kodierungs-Datum : UTC 2010-08-08 11:47:29
Tagging-Datum : UTC 2010-08-08 12:02:48
colour_primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
transfer_characteristics : BT.709-5, BT.1361
matrix_coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Format_Settings_ModeExtension : CM (complete main)
Codec-ID : ac-3
Dauer : 2h 49min
Bitraten-Modus : konstant
Bitrate : 256 Kbps
Kanäle : 2 Kanäle
Kanal-Positionen : Front: L R
Samplingrate : 48,0 KHz
BitDepth/String : 16 bits
Stream-Größe : 311 MiB (3%)
Titel : Imported with GPAC 0.4.6-DEV (internal rev. 5)
Kodierungs-Datum : UTC 2010-08-08 12:01:18
Tagging-Datum : UTC 2010-08-08 12:02:48
Alles anzeigen
Neben TS Doctor (aus der aktuellen c't) habe ich es alternativ auch schon mit anderen Programmen (Super, tsmuxer, mp4muxer) versucht - und bekomme doch immer eine nicht richtig laufende Datei dabei heraus, die weder unter Windows 7 noch unter MacOS korrekt und flüssig abgespielt wird.