summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
Commit message (Collapse)AuthorAgeFilesLines
* libhb: passthru mastering display metadata and content light level metadata.Damiano Galassi2021-02-011-2/+23
|
* Update copyright dates to 2021.Bradley Sepos2021-01-011-1/+1
|
* MP2 PassThru (libhb part)Nomis1012020-11-081-0/+3
|
* libhb: Save/load preview images to/from disk using libjpeg-turbo.Bradley Sepos2020-06-151-1/+1
|
* scan: Fix aspect ratio warning for DVD and BDJohn Stebbins2020-03-311-1/+19
| | | | | DVD and BD do not have PAR specified at container level. Since the title is initialized with PAR 1:1, the warning was triggered.
* scan: log warning when video par != container parJohn Stebbins2020-03-281-0/+8
| | | | | These errors are currently difficult to see in the log and can result in incorrect output. So make it more visible.
* Update copyright dates to 2020.Bradley Sepos2020-01-011-1/+1
|
* bd: add processing of "secondary" audio tracksJohn Stebbins2019-12-221-0/+6
| | | | | | | | There are actually 2 types. One "secondary" audio type is designated by a distinct stream id. The other "secondary" audio type is disignated by being in a separate "secondary" audio list. Maybe fixes https://github.com/HandBrake/HandBrake/issues/2501
* Gardening: Clean up trailing whitespaceNomis1012019-11-041-5/+5
| | | | Remove trailing whitespace in "*.c", "*.m", "*.h" and "*.cpp" files.
* libhb: resolve header conflicts with pango/harfbuzzJohn Stebbins2019-09-121-2/+2
| | | | | | | Newest versions appear to have a "common.h" somewhere that is interfering with libhb/common.h. move headers into "handbrake" subdirectory
* Resolve conflict with harfbuzz include file hb.hJohn Stebbins2019-09-101-1/+1
| | | | Rename hb.h to handbrake.h
* libhb: eliminate file path length limitsJohn Stebbins2019-08-111-3/+3
|
* Fix some typos (#2202)Nomis1012019-07-311-1/+1
| | | Fix some typos
* LinGui: add queue statisticsJohn Stebbins2019-06-251-0/+3
| | | | and tweak the layout per BradleyS suggestions
* libhb: propagate color matrix info through the pipelineJohn Stebbins2019-04-081-0/+2
| | | | | | | | | Propagates pix_fmt, range, primaries, transfer, and matrix everywhere. Everything that passes or creates video frames tags the frames with their color matrix info. All filters know the expected color matrix info of input frames.
* libhb: Only display audio source bitrates greater than one, resolves #1944Andrew Brezovsky2019-03-011-5/+9
| | | | Signed-off-by: Andrew Brezovsky <[email protected]>
* scan: fix potential buffer overflow in sprintfJohn Stebbins2019-02-111-7/+6
| | | | Use snprintf
* libhb: Append input bitrate to end of audio source description. Closes #1718.Andrew Brezovsky2019-02-081-0/+6
| | | | Signed-off-by: Andrew Brezovsky <[email protected]>
* scan: only apply min duration filter to BD and DVDJohn Stebbins2019-01-211-3/+2
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/1590
* Update copyright dates to 2019.Bradley Sepos2019-01-011-1/+1
|
* scan: fix crash due to last commitJohn Stebbins2018-05-301-1/+2
| | | | check codec_name and profile_name for NULL before strstr search.
* scan: rationalize ffmpeg codec/profile namesJohn Stebbins2018-05-301-45/+66
| | | | | | | | | ffmpeg is inconsistent in the format of returned profile names. Sometimes the profile name includes the codec name and sometimes it does not. So search for the codec name in the profile name and add codec name if it's not there. Ugh! Fixes https://github.com/HandBrake/HandBrake/issues/1375
* Update copyright dates to 2018.Bradley Sepos2018-01-011-1/+1
|
* scan: don't abort on empty buffersJohn Stebbins2017-11-221-4/+4
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/1017
* CLI: add option to log version, title, and progress in jsonJohn Stebbins2017-11-061-12/+16
| | | This is useful for scripts and other frontends that need to parse CLI output.
* scan: fix vobsub & pgs width/height for some stream typesJohn Stebbins2017-06-261-12/+12
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/798
* opencl: removit it (#777)John Stebbins2017-06-121-8/+0
| | | | It was only used for scaling, it fails far too often and is only faster on a limited selectoin of hardware.
* scan: improve support for very short source video streamsJohn Stebbins2017-06-091-55/+43
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/779
* scan: fix very slow scanning for some filesJohn Stebbins2017-04-121-4/+4
| | | | | | | The threshold in bytes for when to give up trying to decode a frame was too big for a lot of streams. It was made large to accomodate 4K raw video. Instead of counting bytes, count frames fed to the decoder. This is more consistant regardless of video resolution and codec.
* scan: enable HBTF_NO_IDR when not enough previews foundJohn Stebbins2017-04-111-0/+4
| | | | | | | | Setting this flag signals to libav to not wait for IDR or recovery points before returning frames to us. Some videos have neither IDRs or recovery points, so this fixes transcoding such video. Fixes https://github.com/HandBrake/HandBrake/issues/456
* batch: Support --min-duration when doing batch scansJohn Stebbins2017-02-271-2/+3
| | | | Fixes https://github.com/HandBrake/HandBrake/issues/501
* opencl: Workaround broken drivers that crash when you call clGetPlatformIDs ↵Scott2017-01-151-2/+6
| | | | with valid inputs. #496
* Update copyright dates to 2017.Bradley Sepos2017-01-011-1/+1
|
* fix memory leaksJohn Stebbins2016-12-171-1/+1
| | | | | | The series of commits starting with Tim's "libav: remove our custom QSV wrapper." Closes #46, closes #276, and closes #416.
* libhb: fix small leaksJohn Stebbins2016-12-141-0/+6
| | | | fixes various context leaks in error conditions
* remove dxva hw decode (#189)John Stebbins2016-05-171-3/+2
| | | | | | | | | * remove dxva hw decode It provides practically no speed increase even on a slow CPU and results in a speed decrease on fast CPUs. And the code is exceptionally fugly. * cli: remove USE_HWD
* scan: quit looking for audio if a preview scan reaches EOFJohn Stebbins2016-03-231-44/+58
| | | | | Also, verify that vid_info geometry matches vid_buf geometry And some cosmetic changes
* scan: check if the video decoder was properly initialized before decoding ↵Damiano Galassi2016-03-011-1/+10
| | | | the preview.
* Update copyright dates to 2016.Bradley Sepos2016-01-011-1/+1
|
* scan: increase sensitivity to video flagsJohn Stebbins2015-11-091-26/+34
| | | | | | | We were mis-detecting framerate often because we did not see enough samples of various video flags while scanning previews. So move sampling of these flags into the inner video decode loop and collect more samples.
* libhb: make muxer, sync, and reader behave like other work objectsJohn Stebbins2015-11-091-1/+1
| | | | | | | | | | | | | simplify job initialization sequence, clean up code, and document dependencies in the sequence better. Make hb_add set job->sequence_id. It is no longer necessary for the frontend to do this. If the frontend needs the sequence_id, it is returned by hb_add(). Clean up use of interjob. do_job() now uses sequence_id to detect when a new sequence of related jobs is running and automatically clears interjob.
* scan: fix rescan avoidance logicJohn Stebbins2015-09-291-0/+1
| | | | We need to rescan when the number of previews changes.
* libhb: add hb_buffer_listJohn Stebbins2015-09-241-27/+20
| | | | | This brings together several independent implementations of a simple buffer list manager.
* libhb: detect read errors and propagatejstebbins2015-06-291-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7332 b64f7644-9d1e-0410-96f1-a4d463321fa5
* DXVA2: cleanup decode support checks.Rodeo2015-06-231-0/+8
| | | | | | | This should fix https://forum.handbrake.fr/viewtopic.php?f=11&t=32520 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7310 b64f7644-9d1e-0410-96f1-a4d463321fa5
* scan: skip scan if title has already been scannedjstebbins2015-05-261-0/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* scan: increase scan size thresh to accomodate raw 4K avijstebbins2015-05-121-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7170 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Eliminate global variable hb_gui_use_hwd_flagjstebbins2015-03-291-13/+13
| | | | | | | | | | | | This global was shared between the CLI and libhb and used as a back door to force scan and encode passes to use the same ffmpeg context for hardware decoding. Aside from the fact that this context sharing should not be necessary and needs fixing, this information belongs in the hb_handle_t that is shared between the scan and the encode. So put it there and make sure the hb_handle_t get propagated to where the flag is needed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7028 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: automatically scan title when processing json jobsjstebbins2015-03-071-2/+21
| | | | | | | | | | | | | | | Simplifies the WinGui. This also changes how jobs are processed. Creating the sub-jobs for multiple passes is delayed until after scanning and immediately before running the job. Working status has also changed. Sub-job passes are identified in status with an ID that allows the frontend to definitively identify what pass is in progress. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6976 b64f7644-9d1e-0410-96f1-a4d463321fa5
* New audio output options.Rodeo2015-02-151-0/+13
| | | | | | | | | Dolby Digital Plus (E-AC-3), Dolby TrueHD and FLAC can now be passed through without re-encoding. They aren't covered by Auto Passthru yet, however. In addition, encoding to E-AC-3 is now possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6908 b64f7644-9d1e-0410-96f1-a4d463321fa5