Beiträge von Enorefe

    Es hat geklappt :D mit dem Zusatz, den Selur vorgeschlagen hat (,fpsnum=24000,fpsden=1001) funktioniert alles ganz normal, auch Trim und Audio-Cut. Alles synchron und so, wie ich's will!

    Zum neuen File sagt MediaInfo:

    Frame rate mode : CFR
    Frame rate mode : Constant
    Frame rate : 23.976
    Frame rate : 23.976 fps

    Dauer und alles stimmt auch! :D

    Das mit de 24,* FPS bezog sich auf den neuen Encode, hab mich da ungünstig ausgedrückt.
    Hier sind die Daten von der extrahierten .h264-Datei, aac-Datei und der .h264-Datei gemuxed in einen .mkv-Container.


    MediaInfo: .h264-Datei:


    Code
    VideoCount                                    : 272Count of stream of this kind             : 1Kind of stream                           : VideoKind of stream                           : VideoStream identifier                        : 0Format                                   : AVCFormat/Info                              : Advanced Video CodecFormat/Url                               : [URL]http://developers.videolan.org/x264.html[/URL]Commercial name                          : AVCFormat profile                           : High@L5.1Format settings                          : CABAC / 8 Ref FramesFormat settings, CABAC                   : YesFormat settings, CABAC                   : YesFormat settings, ReFrames                : 8Format settings, ReFrames                : 8 framesInternet media type                      : video/H264Codec                                    : AVCCodec                                    : AVCCodec/Family                             : AVCCodec/Info                               : Advanced Video CodecCodec/Url                                : [URL]http://developers.videolan.org/x264.html[/URL]Codec profile                            : High@L5.1Codec settings                           : CABAC / 8 Ref FramesCodec settings, CABAC                    : YesCodec_Settings_RefFrames                 : 8Bit rate                                 : 1511000Bit rate                                 : 1 511 KbpsWidth                                    : 720Width                                    : 720 pixelsHeight                                   : 480Height                                   : 480 pixelsPixel aspect ratio                       : 1.000Display aspect ratio                     : 1.500Display aspect ratio                     : 3:2Frame rate                               : 29.970Frame rate                               : 29.970 fpsStandard                                 : NTSCResolution                               : 8Resolution                               : 8 bitsColorimetry                              : 4:2:0Color space                              : YUVChroma subsampling                       : 4:2:0Bit depth                                : 8Bit depth                                : 8 bitsScan type                                : ProgressiveScan type                                : ProgressiveInterlacement                            : PPFInterlacement                            : ProgressiveBits/(Pixel*Frame)                       : 0.146Writing library                          : x264 - core 54 svn-620MWriting library                          : x264 core 54 svn-620MWriting library/Name                     : x264Writing library/Version                  : core 54 svn-620MEncoding settings                        : cabac=1...

    MediaInfo: .aac-Datei:


    Code
    AudioCount                                    : 222Count of stream of this kind             : 1Kind of stream                           : AudioKind of stream                           : AudioStream identifier                        : 0Inform                                   : 48.0 KHz, 2 channels, AAC (Version 4) (LC)Format                                   : AACFormat/Info                              : Advanced Audio CodecCommercial name                          : AACFormat version                           : Version 4Format profile                           : LCCodec                                    : AAC LCCodec                                    : AAC LCBit rate mode                            : VBRBit rate mode                            : VariableChannel(s)                               : 2Channel(s)                               : 2 channelsChannel positions                        : Front: L RChannel positions                        : 2/0/0ChannelLayout                            : L RSampling rate                            : 48000Sampling rate                            : 48.0 KHzCompression mode                         : LossyCompression mode                         : LossyStream size                              : 17171202Stream size                              : 16.4 MiB (100%)Stream size                              : 16 MiBStream size                              : 16 MiBStream size                              : 16.4 MiBStream size                              : 16.38 MiBStream size                              : 16.4 MiB (100%)Proportion of this stream                : 1.00000


    MediaInfo: .h264- und .aac-Datei in neuen mkv-Container mit FPS set: 24000/1001 gemuxed:



    Um auf die glatten 23 Minuten Laufzeit zu kommen, müsste ich die krumme FPS Zahl als Vorgabe eingeben, aber selbst dann ist die Audio-Spur nicht mehr synchron. (Obwohl sie synchron beginnt und endet, in der Mitte ist aber alles verzehrt.)

    Na ja, in der Quelldatei tauchen ja nur die "normalen" Werte auf:

    MediaInfo:
    Frame rate : 23.976Frame rate : 23.976 fps
    Original frame rate : 29.970
    Original frame rate : 29.970 fps

    Und wenn ich die .h264-Datei mit MediaInfo öffne:

    Frame rate : 29.970
    Frame rate : 29.970 fps

    Die krummen FPS scheinen also nicht "in der Source" zu sein.

    Wenn ich Video- und Audio-Stream extrahiere und neu muxe, bekomme ich ein File, das im Mediaplayer 18:42min lang ist, in der MediaInfo hat sich allerdings nicht viel geändert, sogar die Duration wird noch mit "22mn 59s" angegeben. Audio ist asynchron, Video hört bei 18:42 auf, Audio dauert 22:59.

    MediaInfo (advanced):

    Ich hoffe, dass das die richtigen Daten sind:

    Edit: Das sind jetzt die Daten der Datei, die ich auf Anraten von Tom neu gemuxed habe. Da hier genau dasselbe Problem auftritt, habe ich diese Datei genommen.

    MediaInfo:

    General
    Unique ID : 172928705437309032373858519136716853523 (0x8218DB71C2735F7798CE56FF86961113)
    Complete name : D:\FTP\FRTC.mkv
    Format : Matroska
    Format version : Version 4 / Version 2
    File size : 219 MiB
    Duration : 22mn 59s
    Overall bit rate : 1 330 Kbps
    Encoded date : UTC 2014-02-25 07:44:38
    Writing application : mkvmerge v6.7.0 ('Back to the Ground') 64bit built on Jan 8 2014 15:10:52
    Writing library : libebml v1.3.0 + libmatroska v1.4.1


    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L5.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 8 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 22mn 59s
    Nominal bit rate : 1 511 Kbps
    Width : 720 pixels
    Height : 480 pixels
    Display aspect ratio : 4:3
    Original display aspect ratio : 3:2
    Frame rate mode : Constant
    Frame rate : 23.976 fps
    Original frame rate : 29.970 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.182
    Writing library : x264 core 54 svn-620M
    Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=esa / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=0 / threads=1 / nr=0 / decimate=0 / mbaff=0 / bframes=2 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=50 / rc=2pass / bitrate=1511 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
    Language : English
    Default : Yes
    Forced : No


    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : A_AAC
    Duration : 22mn 59s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Language : English
    Default : Yes
    Forced : No

    MKVInfo:

    (MKVInfo) + EBML head
    (MKVInfo) |+ EBML version: 1
    (MKVInfo) |+ EBML read version: 1
    (MKVInfo) |+ EBML maximum ID length: 4
    (MKVInfo) |+ EBML maximum size length: 8
    (MKVInfo) |+ Doc type: matroska
    (MKVInfo) |+ Doc type version: 4
    (MKVInfo) |+ Doc type read version: 2
    (MKVInfo) + Segment, size 229354163
    (MKVInfo) |+ Seek head
    (MKVInfo) | + Seek entry
    (MKVInfo) | + Seek ID: 0x15 0x49 0xa9 0x66 (KaxInfo)
    (MKVInfo) | + Seek position: 4099
    (MKVInfo) | + Seek entry
    (MKVInfo) | + Seek ID: 0x16 0x54 0xae 0x6b (KaxTracks)
    (MKVInfo) | + Seek position: 4264
    (MKVInfo) | + Seek entry
    (MKVInfo) | + Seek ID: 0x1c 0x53 0xbb 0x6b (KaxCues)
    (MKVInfo) | + Seek position: 229347932
    (MKVInfo) |+ EbmlVoid (size: 4044)
    (MKVInfo) |+ Segment information
    (MKVInfo) | + Timecode scale: 1000000
    (MKVInfo) | + Muxing application: libebml v1.3.0 + libmatroska v1.4.1
    (MKVInfo) | + Writing application: mkvmerge v6.7.0 ('Back to the Ground') 64bit built on Jan 8 2014 15:10:52
    (MKVInfo) | + Duration: 1379.754s (00:22:59.754)
    (MKVInfo) | + Date: Tue Feb 25 07:44:38 2014 UTC
    (MKVInfo) | + Segment UID: 0x82 0x18 0xdb 0x71 0xc2 0x73 0x5f 0x77 0x98 0xce 0x56 0xff 0x86 0x96 0x11 0x13
    (MKVInfo) |+ Segment tracks
    (MKVInfo) | + A track
    (MKVInfo) | + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
    (MKVInfo) | + Track UID: 2737053613
    (MKVInfo) | + Track type: video
    (MKVInfo) | + Lacing flag: 0
    (MKVInfo) | + MinCache: 1
    (MKVInfo) | + Codec ID: V_MPEG4/ISO/AVC
    (MKVInfo) | + CodecPrivate, length 131 (h.264 profile: High @L5.1)
    (MKVInfo) | + Default duration: 33.367ms (29.970 frames/fields per second for a video track)
    (MKVInfo) | + Video track
    (MKVInfo) | + Pixel width: 720
    (MKVInfo) | + Pixel height: 480
    (MKVInfo) | + Display width: 720
    (MKVInfo) | + Display height: 540
    (MKVInfo) | + A track
    (MKVInfo) | + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
    (MKVInfo) | + Track UID: 3005427097
    (MKVInfo) | + Track type: audio
    (MKVInfo) | + Codec ID: A_AAC
    (MKVInfo) | + CodecPrivate, length 5
    (MKVInfo) | + Default duration: 21.333ms (46.875 frames/fields per second for a video track)
    (MKVInfo) | + Audio track
    (MKVInfo) | + Sampling frequency: 48000
    (MKVInfo) | + Channels: 2
    (MKVInfo) |+ EbmlVoid (size: 1106)
    (MKVInfo) |+ Cluster