]> granicus.if.org Git - handbrake/commitdiff
libhb: build: README: Replace instances of Libav with FFmpeg.
authorBradley Sepos <bradley@bradleysepos.com>
Tue, 29 May 2018 23:09:16 +0000 (19:09 -0400)
committerBradley Sepos <bradley@bradleysepos.com>
Tue, 29 May 2018 23:09:16 +0000 (19:09 -0400)
README.markdown
libhb/common.c
libhb/decavcodec.c
libhb/decpgssub.c
libhb/encavcodecaudio.c
libhb/hbffmpeg.c
libhb/module.defs
libhb/qsv_filter.c
libhb/stream.c
make/configure.py

index 7237f9b8d12dbd6c9cd4dc989c88ac77a6f95ae0..74376bf30761744f0d10f8ff6ef46ab61b502111 100644 (file)
@@ -4,7 +4,7 @@ HandBrake is an open-source video transcoder available for Linux, Mac, and Windo
 
 HandBrake takes videos you already have and makes new ones that work on your mobile phone, tablet, TV media player, game console, computer, or web browser—nearly anything that supports modern video formats.
 
-HandBrake works with most common video files and formats, including ones created by consumer and professional video cameras, mobile devices such as phones and tablets, game and computer screen recordings, and DVD and Blu-ray discs. HandBrake leverages tools such as Libav, x264, and x265 to create new MP4 or MKV video files from these *Sources*.
+HandBrake works with most common video files and formats, including ones created by consumer and professional video cameras, mobile devices such as phones and tablets, game and computer screen recordings, and DVD and Blu-ray discs. HandBrake leverages tools such as FFmpeg, x264, and x265 to create new MP4 or MKV video files from these *Sources*.
 
 For information on downloading, building/installing, and using HandBrake, see the official [HandBrake Documentation](https://handbrake.fr/docs).
 
index 0b23fda60b5d1942d22c5df8bf1ce0e58bbc1869..8d56248bf27c2c8782ef6b607f7ce24bff535508 100644 (file)
@@ -348,7 +348,7 @@ static int hb_audio_encoder_is_enabled(int encoder)
             return 1;
 #endif
 
-#ifdef USE_LIBAV_AAC
+#ifdef USE_FFMPEG_AAC
         case HB_ACODEC_FFAAC:
             return avcodec_find_encoder_by_name("aac") != NULL;
 #endif
index 3e444413d334d36254cf38a51454530b518c38cc..dd044f3a8ac4d57beb2ccd10bcdee330c90f4c13 100644 (file)
@@ -377,7 +377,7 @@ static void closePrivData( hb_work_private_t ** ppv )
             /*
              * FIXME: knowingly leaked.
              *
-             * If we're using our Libav QSV wrapper, qsv_decode_end() will call
+             * If we're using our FFmpeg QSV wrapper, qsv_decode_end() will call
              * MFXClose() on the QSV session. Even if decoding is complete, we
              * still need that session for QSV filtering and/or encoding, so we
              * we can't close the context here until we implement a proper fix.
index acb0e1dde4e21943442e28815525d4777d290942..8e6532532f7867a98368a518066ae1587550f58b 100644 (file)
@@ -227,7 +227,7 @@ static int decsubWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
         }
 
         /* Subtitles are "usable" if:
-         *   1. Libav returned a subtitle (has_subtitle) AND
+         *   1. FFmpeg returned a subtitle (has_subtitle) AND
          *   2. we're not doing Foreign Audio Search (!pv->job->indepth_scan) AND
          *   3. the sub is non-empty or we've seen one such sub before (!pv->discard_subtitle)
          * For forced-only extraction, usable subtitles also need to:
index d3c1fe5d13773bbf57066ee109ec8f3aaddd17e7..c129c07d774fa5c44b5186c51e77588b3186acf1 100644 (file)
@@ -97,7 +97,7 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job)
                     profile = FF_PROFILE_AAC_LOW;
                     break;
             }
-            // Libav's libfdk-aac wrapper expects back channels for 5.1
+            // FFmpeg's libfdk-aac wrapper expects back channels for 5.1
             // audio, and will error out unless we translate the layout
             if (channel_layout == AV_CH_LAYOUT_5POINT1)
                 channel_layout  = AV_CH_LAYOUT_5POINT1_BACK;
@@ -130,7 +130,7 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job)
 
         case HB_ACODEC_OPUS:
             codec_name = "libopus";
-            // Libav's libopus wrapper expects back channels for 5.1
+            // FFmpeg's libopus wrapper expects back channels for 5.1
             // audio, and will error out unless we translate the layout
             if (channel_layout == AV_CH_LAYOUT_5POINT1)
                 channel_layout  = AV_CH_LAYOUT_5POINT1_BACK;
index 0b3403ed713afa34f21a483c942f4f18e7dec664..5b0a7c24d66bb3065b763a70c46334299ebcb999 100644 (file)
@@ -160,7 +160,7 @@ int hb_ff_get_colorspace(int color_matrix)
         case HB_COLR_MAT_BT709:
             color_space = SWS_CS_ITU709;
             break;
-        /* enable this when implemented in Libav
+        /* enable this when implemented in FFmpeg
         case HB_COLR_MAT_BT2020:
             color_space = SWS_CS_BT2020;
             break;
index cded5806d11e19de824f5f4b42d0580155021888..99e2b4cfa20e0690ed39a35d23b677d757fb568b 100644 (file)
@@ -42,8 +42,8 @@ LIBHB.out += $(LIBHB.a)
 
 ###############################################################################
 
-ifeq (1,$(FEATURE.libav_aac))
-LIBHB.GCC.D += USE_LIBAV_AAC
+ifeq (1,$(FEATURE.ffmpeg_aac))
+LIBHB.GCC.D += USE_FFMPEG_AAC
 endif
 LIBHB.GCC.D += __LIBHB__ USE_PTHREAD
 LIBHB.GCC.I += $(LIBHB.build/) $(CONTRIB.build/)include
index 5daa69b0ecef89a9bb5a7a583657e8e6920352d7..9f7450c7e5ada16af13d1bfbc382e99ded9510cf 100644 (file)
@@ -160,11 +160,11 @@ static int filter_init( hb_qsv_context* qsv, hb_filter_private_t * pv ){
 
         /*
          * In theory, input width/height and decode CropW/CropH should be the
-         * same; however, due to some versions of Libav not applying the H.264
+         * same; however, due to some versions of FFmpeg not applying the H.264
          * "crop rect" properly, there can be a mismatch.
          *
          * Since we want the same bahevior regardless of whether we're using
-         * software or hardware-accelerated decoding, prefer the Libav values.
+         * software or hardware-accelerated decoding, prefer the FFmpeg values.
          *
          * Note that since CropW/CropH may be higher than the decode values, we
          * need to adjust  CropX/CropY to make sure we don't exceed the input's
index ba9a1783523523feca1c779f886bc45aeff36d6b..d7cd899da48d261d101b4dd64a8c8446b92f445b 100644 (file)
@@ -4191,7 +4191,7 @@ static void hb_ts_resolve_pid_types(hb_stream_t *stream)
             continue;
         }
         // 0xa2 is DTS-HD LBR used in HD-DVD and bluray for
-        // secondary audio streams. Libav can not decode yet.
+        // secondary audio streams. FFmpeg can not decode yet.
         // Having it in the audio list causes delays during scan
         // while we try to get stream parameters. So skip
         // this type for now.
@@ -5403,7 +5403,7 @@ static void add_ffmpeg_attachment( hb_title_t *title, hb_stream_t *stream, int i
     switch ( codecpar->codec_id )
     {
         case AV_CODEC_ID_TTF:
-            // Libav sets codec ID based on mime type of the attachment
+            // FFmpeg sets codec ID based on mime type of the attachment
             type = FONT_TTF_ATTACH;
             break;
         default:
index 532c9ee1a8760cfa59394d74d3cf3c55b0c9937a..638dfdc858486c31ced1e77b564eaf9561eaed7a 100644 (file)
@@ -1312,9 +1312,9 @@ def createCLI():
     grp.add_option( '--enable-fdk-aac', dest="enable_fdk_aac", default=False, action='store_true', help=h )
     grp.add_option( '--disable-fdk-aac', dest="enable_fdk_aac", action='store_false' )
 
-    h = IfHost( 'enable Libav AAC audio encoder', '*-*-*', none=optparse.SUPPRESS_HELP ).value
-    grp.add_option( '--enable-libav-aac', dest="enable_libav_aac", default=not host.match( '*-*-darwin*' ), action='store_true', help=h )
-    grp.add_option( '--disable-libav-aac', dest="enable_libav_aac", action='store_false' )
+    h = IfHost( 'enable FFmpeg AAC audio encoder', '*-*-*', none=optparse.SUPPRESS_HELP ).value
+    grp.add_option( '--enable-ffmpeg-aac', dest="enable_ffmpeg_aac", default=not host.match( '*-*-darwin*' ), action='store_true', help=h )
+    grp.add_option( '--disable-ffmpeg-aac', dest="enable_ffmpeg_aac", action='store_false' )
 
     cli.add_option_group( grp )
 
@@ -1877,7 +1877,7 @@ int main()
     doc.add( 'FEATURE.gtk.mingw',  int( options.enable_gtk_mingw ))
     doc.add( 'FEATURE.gst',        int( not options.disable_gst ))
     doc.add( 'FEATURE.fdk_aac',    int( options.enable_fdk_aac ))
-    doc.add( 'FEATURE.libav_aac',  int( options.enable_libav_aac or build.system == 'mingw' ))
+    doc.add( 'FEATURE.ffmpeg_aac', int( options.enable_ffmpeg_aac or build.system == 'mingw' ))
     doc.add( 'FEATURE.qsv',        int( options.enable_qsv ))
     doc.add( 'FEATURE.xcode',      int( not (Tools.xcodebuild.fail or options.disable_xcode or options.cross) ))
     doc.add( 'FEATURE.x265',       int( options.enable_x265 ))