Advertisement
Guest User

Untitled

a guest
Jun 13th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.12 KB | None | 0 0
  1.  
  2. Hi Nik,
  3.  
  4. About ➜ https://github.com/henrypp/chromium/blob/master/hevc_support_new.md
  5.  
  6. Because compilations errors burn my old CPU and waste time for nothing in result, I would like to clarify some points with you before trying some compilation with codecs
  7.  
  8.  
  9.  
  10. ████████████ Question 1 ████████████
  11.  
  12. When you said :
  13.  
  14. In the file:
  15.     src/third_party/ffmpeg/ffmpeg_generated.gni
  16. append to your condition:
  17.  
  18.  
  19.  
  20.         ffmpeg_c_sources += [
  21.                 "libavcodec/X.c",
  22.                 "… … blah blah … …",
  23.                 "libavformat/Y.c",
  24.         ]
  25.         ffmpeg_yasm_sources += [
  26.                 "libavcodec/x86/Z.asm",
  27.                 "… … blah blah … …",
  28.                 "libavcodec/x86/A.asm",
  29.         ]
  30.  
  31.  
  32.  
  33. That mean to compile for a x64 windows platform I just have to add at the end of the file :
  34.  
  35.  
  36.  
  37.         if (is_win) {
  38.             ffmpeg_c_sources += [
  39.                     "libavcodec/X.c",
  40.                     "… … blah blah … …",
  41.                     "libavformat/Y.c",
  42.             ]
  43.             ffmpeg_yasm_sources += [
  44.                     "libavcodec/x86/Z.asm",
  45.                     "… … blah blah … …",
  46.                     "libavcodec/x86/A.asm",
  47.             ]
  48.         }
  49.  
  50.  
  51.  
  52. ████████████ Question 2 ████████████
  53.  
  54. When you said :
  55.  
  56. In the file:
  57.     src/third_party/ffmpeg/chromium/config/YOUR_BRAND/win/YOUR_ARCH/config.asm
  58.     src/third_party/ffmpeg/chromium/config/YOUR_BRAND/win/YOUR_ARCH/config.h
  59.  
  60. A/
  61. For Chromium compilation is YOUR_BRAND always « Chromium » ?
  62. Or is it « Chrome » if we use GN Arguments (gn args folder) « is_official_build = true » ?
  63.  
  64. B/
  65. Because I compile using Visual Studio on a x64 Windows platform:
  66. Do I must use the folder « win-msvc » or stick with « win » ? Or maybe both ?
  67.  
  68.  
  69.  
  70. ████████████ Question 3 ████████████
  71.  
  72. When you said :
  73.  
  74. In the file:
  75.     src/third_party/ffmpeg/chromium/config/YOUR_BRAND/win/YOUR_ARCH/config.asm
  76.     src/third_party/ffmpeg/chromium/config/YOUR_BRAND/win/YOUR_ARCH/config.h
  77.  
  78. replace some parameters to:
  79.     #define CONFIG_HEVC_DECODER 1
  80.     #define … … …
  81.  
  82. Can I both replace in « ia32 » and « x64 » so the codecs will both operate on x64 ans x86 Windows machine ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement