Artefakte und Tonaussetzer bei H.264 High Profile

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • Artefakte und Tonaussetzer bei H.264 High Profile

      Hallo,

      ich hatte gestern ein Video, das sich erst nach einem Reencode mit Baseline-Profil ohne Artefakte und Tonaussetzer abspielen ließ:

      Original:
      Spoiler anzeigen

      Quellcode

      1. Format : Matroska
      2. Format version : Version 4 / Version 2
      3. File size : 6.15 GiB
      4. Duration : 2h 56mn
      5. Overall bit rate : 4 985 Kbps
      6. Encoded date : UTC 2016-03-19 02:39:44
      7. Writing application : mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb 8 2015 13:04:34
      8. Writing library : libebml v1.3.1 + libmatroska v1.4.2
      9. DURATION : 02:56:33.472000000
      10. NUMBER_OF_FRAMES : 331046
      11. NUMBER_OF_BYTES : 254243328
      12. _STATISTICS_WRITING_APP : mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb 8 2015 13:04:34
      13. _STATISTICS_WRITING_DATE_UTC : 2016-03-19 02:39:44
      14. _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      15. Video
      16. ID : 1
      17. Format : AVC
      18. Format/Info : Advanced Video Codec
      19. Format profile : High@L4.1
      20. Format settings, CABAC : Yes
      21. Format settings, ReFrames : 5 frames
      22. Codec ID : V_MPEG4/ISO/AVC
      23. Duration : 2h 56mn
      24. Bit rate : 4 693 Kbps
      25. Width : 1 280 pixels
      26. Height : 720 pixels
      27. Display aspect ratio : 16:9
      28. Frame rate mode : Constant
      29. Frame rate : 25.000 fps
      30. Color space : YUV
      31. Chroma subsampling : 4:2:0
      32. Bit depth : 8 bits
      33. Scan type : Progressive
      34. Bits/(Pixel*Frame) : 0.204
      35. Stream size : 5.79 GiB (94%)
      36. Writing library : x264 core 148 r2665 a01e339
      37. Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
      38. Language : German
      39. Default : Yes
      40. Forced : No
      41. Color primaries : BT.709
      42. Transfer characteristics : BT.709
      43. Matrix coefficients : BT.709
      44. Audio
      45. ID : 2
      46. Format : AC-3
      47. Format/Info : Audio Coding 3
      48. Mode extension : CM (complete main)
      49. Format settings, Endianness : Big
      50. Codec ID : A_AC3
      51. Duration : 2h 56mn
      52. Bit rate mode : Constant
      53. Bit rate : 192 Kbps
      54. Channel(s) : 2 channels
      55. Channel positions : Front: L R
      56. Sampling rate : 48.0 KHz
      57. Bit depth : 16 bits
      58. Compression mode : Lossy
      59. Stream size : 242 MiB (4%)
      60. Language : German
      61. Default : Yes
      62. Forced : No
      Alles anzeigen


      Reencode:
      Spoiler anzeigen

      Quellcode

      1. Format : Matroska
      2. Format version : Version 2
      3. File size : 6.18 GiB
      4. Duration : 2h 56mn
      5. Overall bit rate : 5 014 Kbps
      6. Writing application : Lavf56.1.0
      7. Writing library : Lavf56.1.0
      8. Video
      9. ID : 1
      10. Format : AVC
      11. Format/Info : Advanced Video Codec
      12. Format profile : Baseline@L3.0
      13. Format settings, CABAC : No
      14. Format settings, ReFrames : 3 frames
      15. Codec ID : V_MPEG4/ISO/AVC
      16. Duration : 2h 56mn
      17. Bit rate : 4 722 Kbps
      18. Width : 1 280 pixels
      19. Height : 720 pixels
      20. Display aspect ratio : 16:9
      21. Frame rate mode : Constant
      22. Frame rate : 25.000 fps
      23. Color space : YUV
      24. Chroma subsampling : 4:2:0
      25. Bit depth : 8 bits
      26. Scan type : Progressive
      27. Bits/(Pixel*Frame) : 0.205
      28. Stream size : 5.82 GiB (94%)
      29. Writing library : x264 core 142 r2431 a5831aa
      30. Encoding settings : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
      31. Language : German
      32. Default : Yes
      33. Forced : No
      34. DURATION : 02:56:33.520000000
      35. NUMBER_OF_FRAMES : 264838
      36. NUMBER_OF_BYTES : 6343737039
      37. _STATISTICS_WRITING_APP : mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb 8 2015 13:04:34
      38. _STATISTICS_WRITING_DATE_UTC : 2016-03-19 02:39:44
      39. _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      40. Audio
      41. ID : 2
      42. Format : AC-3
      43. Format/Info : Audio Coding 3
      44. Mode extension : CM (complete main)
      45. Format settings, Endianness : Big
      46. Codec ID : A_AC3
      47. Duration : 2h 56mn
      48. Bit rate mode : Constant
      49. Bit rate : 192 Kbps
      50. Channel(s) : 2 channels
      51. Channel positions : Front: L R
      52. Sampling rate : 48.0 KHz
      53. Bit depth : 16 bits
      54. Compression mode : Lossy
      55. Stream size : 242 MiB (4%)
      56. Language : German
      57. Default : Yes
      58. Forced : No
      59. DURATION : 02:56:33.472000000
      60. NUMBER_OF_FRAMES : 331046
      61. NUMBER_OF_BYTES : 254243328
      62. _STATISTICS_WRITING_APP : mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb 8 2015 13:04:34
      63. _STATISTICS_WRITING_DATE_UTC : 2016-03-19 02:39:44
      64. _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      Alles anzeigen


      Image-Version: 9.0.2 (2016-01-21)

      Kommando zum Reencode:

      Quellcode

      1. avconv -i in.mkv -c:v libx264 -crf 21 -profile:v baseline -level 30 -c:a copy out.mkv


      An einer Leistungsgrenze scheint es nicht zu liegen, nachdem die CPU-Auslastung nur zwischen 20% und 25% pendelte und stets 40% RAM frei war. Das Video wurde von der internen Festplatte abgespielt, die auch kaum ausgelastet war (2MB/s lesend + schreibend).
      Warum es zu Tonaussetzern kommt, wenn beim Videodecoding offensichtlich was schief läuft, ist mir sowieso schleierhaft.
      Welche Profile werden eigentlich offiziell unterstützt? Die Dokus vom Hersteller sind in der Hinsicht leider sehr spärlich.
      Reencoding ist natürlich grundsätzlich ein funktionierender Workaround, aber auch ziemlich unkomfortabel.

      Danke schon mal im Voraus für den ein oder anderen Tipp, an was es liegen könnte.
      Gruß