summaryrefslogtreecommitdiffstats
path: root/libhb/muxavformat.c
Commit message (Collapse)AuthorAgeFilesLines
* qsv: added HEVC 10-bit as encoder, should help for GUI integrationmaxd2017-03-051-0/+1
|
* muxavformat: Inform muxer of encoder delayJohn Stebbins2017-02-151-0/+2
| | | | | | | initial_padding is used to inform libav muxers of initial encoder delay duration. When set for mkv it can be used to remove the silence samples during playback since the delay value gets stored in the mkv CodecDelay element.
* mux: revert shift timestamps by largest encoder delayJohn Stebbins2017-02-141-35/+0
| | | | | | | | Ugh! I need a brain transplant! This would have cause a properly functioning player to insert silence at the start of playback that wasn't in the original source. reverts 5429a92c51682240acbbe7b150d314d993d7d3a0
* mux: shift timestamps by largest encoder delayJohn Stebbins2017-02-141-0/+34
| | | | | This prevents libav from adding an mp4 edit list entry that causes a properly functioning player to drop the first couple of audio frames.
* Update copyright dates to 2017.Bradley Sepos2017-01-011-1/+1
|
* muxavformat: fix use of deprecated libav interfacesJohn Stebbins2016-12-171-90/+106
| | | | | AVStream.codec is deprecated, use AVStream.codecpar av_bitstream_filter is deprecated, use av_bsf
* libhb: rename some masks to better reflect their purpose.Tim Walker2016-09-171-1/+1
|
* libhb: use the new keyframe flag.Tim Walker2016-09-171-4/+5
|
* contrib: Add opus audio encoder.John Stebbins2016-09-021-0/+17
| | | | | | | | | | Remove: hb_audio_samplerate_get_best() Add: hb_audio_samplerate_is_supported() hb_audio_samplerate_find_closest() hb_audio_samplerate_get_sr_shift()
* enable libvpx VP9 encoderJohn Stebbins2016-05-271-0/+6
|
* libhb: send initial chapter through pipelineJohn Stebbins2016-05-171-25/+29
| | | | | Eliminate the need for everyone to assume that the first chapter starts at the first frame.
* muxavformat: fix last subtitle persistence in mp4John Stebbins2016-05-171-0/+22
| | | | | | libav doesn't seems to honor the duration of the subtitle AVPacket. It is required to send an "empty" subtitle packet to terminate all subtitles, including the last one.
* mux: eliminate 2048 byte size limit of SSA subtitlesJohn Stebbins2016-05-081-27/+45
|
* muxavformat: fix mp4 subtitle empty packet durationJohn Stebbins2016-04-141-1/+1
|
* muxavformat: fix muxer interleaving in mkvJohn Stebbins2016-03-271-3/+5
|
* muxavformat: fix sync issue when bframes are enabledJohn Stebbins2016-03-231-19/+16
| | | | | | | libav does not permit negative dts when muxing to mkv even though it does not use dts when writing mkv. When it sees an initial negative dts, it offsets all dts and pts to make it positive. This breaks A/V sync and chapter start times.
* libhb: fix buffer over-reads by libav get_bits()John Stebbins2016-03-061-16/+20
|
* Update copyright dates to 2016.Bradley Sepos2016-01-011-1/+1
|
* x265: add support for 10, 12, and 16 bit x265 libsJohn Stebbins2015-11-121-1/+4
| | | | | automatically pull in shared versions of these libs or allow statically building against any one of them.
* x264: add multilib support (a.k.a. 10-bit)John Stebbins2015-11-121-1/+2
| | | | | This adds the structure to load an libx264 10-bit shared library. The user must install this library themselves to an appropriate place.
* muxavformat: add support for mp4 fallback audio signallingJohn Stebbins2015-11-091-1/+51
|
* libhb: make muxer, sync, and reader behave like other work objectsJohn Stebbins2015-11-091-10/+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.
* qsv: HEVC encoding support.Tim Walker2015-09-201-0/+2
|
* libhb: Clock/frame rate handling improvements.Bradley Sepos2015-09-101-3/+6
| | | | | | | | Allows for arbitrary frame rates between 1 and 1000 fps. Adds min/max frame rates to CLI help. Removes hardcoded instances of the internal clock rate in favor of hb_video_framerate_get_limits(). Unfortunately, much of the codebase generally refers to clock rate as frame rate, so a little extra care is still necessary going forward.
* muxavformat: add "creation_time" metadatajstebbins2015-03-151-0/+5
| | | | | | | Tags mp4 files with current time. This was previously done by mp4v2 for us. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6991 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: automatically scan title when processing json jobsjstebbins2015-03-071-1/+1
| | | | | | | | | | | | | | | 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
* muxavformat: only set subtitle "forced" flag when *user* sets default trackjstebbins2015-02-251-3/+6
| | | | | | | | Forced shouldn't be set when hb chooses a default track for mp4, which we do for quicktime compatibility. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6944 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mkv: mark "default" subtitle tracks with both default and forced flagsjstebbins2015-02-241-1/+2
| | | | | | | Makes "default" do the right thing in plex git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6941 b64f7644-9d1e-0410-96f1-a4d463321fa5
* New audio output options.Rodeo2015-02-151-0/+6
| | | | | | | | | 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
* mux: remove obsolete comment about generation of AAC extradata from TS filesjstebbins2015-02-041-5/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mux: fix chapter timestamps, factor in video encoder delayjstebbins2015-02-041-1/+22
| | | | | | | | libav does not fix chapter timestamps for us, so we must do this until I can figure out a good fix to libav. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6871 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Fix AAC passthru from TS filesjstebbins2015-02-041-0/+21
| | | | | | | | | | Apply aac_adtstoasc bitstream filter while muxing AAC stream and extract AudioSpecificConfig during scan. Patch submitted by Taihei Momma git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6867 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: fix mp4 edit lists to eliminate initial black framesjstebbins2015-02-031-35/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6865 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: fix defaultduration in mkv filesjstebbins2015-02-011-0/+2
| | | | | | | libav 11 now requires avg_frame_rate be set for video streams git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6858 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update year to 2015.bradleys2015-02-011-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6852 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add support for open type font attachments.ritsuka2015-01-311-2/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6839 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: fix avformat stream time_base warningjstebbins2015-01-301-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6831 b64f7644-9d1e-0410-96f1-a4d463321fa5
* mux: fix format of ssa preamblejstebbins2014-12-161-11/+12
| | | | | | | | sprintf decimal specifier was using the system local to insert a ',' where there should have been a '.' git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6604 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add json APIsjstebbins2014-12-161-31/+16
| | | | | | | | | | There are several changes to job and title structs that break current windows interop code. The interop code should be changed such that it only uses json APIs. So if there is any missing features (or bugs) in these APIs, please let me know. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6602 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: plug memory leaksjstebbins2014-09-051-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6394 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix mp4 optimizejstebbins2014-09-011-2/+3
| | | | | | | movflags were being overwritten, silly error on my part. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6386 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: don't set duration of PGS subtitlesjstebbins2014-08-301-2/+4
| | | | | | | | | | PGS subtitles are terminated by an explicit "end of sub" subtitle in the stream. The duration is not used (or known in advance). So every PGS was getting the default 10s duration assigned. This made the overall duration of the stream appear longer than it really is. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6384 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix small error in "empty" mp4 subtitle durationjstebbins2014-08-271-3/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6376 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: Fix muxing of AAC that is missing extradatajstebbins2014-08-201-26/+32
| | | | | | | | | Allocate extra byte so extradata pointer is not NULL. Fix logging of malloc failures so we can see what failed. Fix test for existence of extradata, check length NOT bytes. bytes is never NULL git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6327 b64f7644-9d1e-0410-96f1-a4d463321fa5
* build: remove mp4v2 and libmkv dependenciesjstebbins2014-08-181-4/+0
| | | | | | | ...and enable x265 by default git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6309 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix mp4 audio track titlesjstebbins2014-08-061-0/+7
| | | | | | | mp4 audio track titles were not being applied by libavformat git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6270 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix mp4 post tagging problemsjstebbins2014-08-061-0/+1
| | | | | | | | | | | A couple common mp4 taggers (mp3Tag and iTunes) fail to tag files that have the Nero chapter atom (chpl). This atom was added when we switched to libavformat for muxing. I haven't found any players yet that rely on this for chapters. If we ever find any, we can consider adding an option somewhere to enable chpl. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add VP8 supportjstebbins2014-04-151-0/+6
| | | | | | | Thanks to Matthew Harvey for this patch git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6165 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Convert all text subtitles to ASS subsjstebbins2014-04-131-20/+46
| | | | | | | | | Add support for font color to tx3g. Allow more than one style flag at time in tx3g. Add positioning support to CC subs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6163 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: override mp4 major brand, use "mp42"jstebbins2014-03-261-4/+5
| | | | | | | This fixes compatibility issues with Vegas Pro 8 NLE suite git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6132 b64f7644-9d1e-0410-96f1-a4d463321fa5