summaryrefslogtreecommitdiffstats
path: root/libhb/muxavformat.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* muxavformat: only do style processing of mp4 text subtitlesjstebbins2014-03-181-24/+28
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6119 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: restore writing of encoding tool tag to output filejstebbins2014-03-061-0/+5
| | | | | | | We lost this when switching to avformat for muxing git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6102 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove libfaacsr552014-03-021-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6094 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Bump x265 to r6321 8a84c10e5116.Rodeo2014-02-281-0/+16
| | | | | | | | | | | - rational framerates - libx265 now provides decode time stamps (DTS) - encx265: minor refactoring + prepare for muxing to MP4/Matroska git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6088 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update some copyright dates to 2014.Rodeo2014-02-181-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6042 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Replace invaled timestamp flag "-1" with AV_NOPTSjstebbins2014-01-261-7/+7
| | | | | | | | | -1 is not a good value as a flag for invalid timestamps. There are cases where small negative timestamps are useful. So this eliminates a potential ambiguity. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6001 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: don't overwrite the last track's parameters when adding ↵Rodeo2014-01-081-3/+3
| | | | | | attachments. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5961 b64f7644-9d1e-0410-96f1-a4d463321fa5
* muxavformat: print the actual error name, rather than a hard-to-lookup error ↵Rodeo2014-01-021-2/+8
| | | | | | code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Print the av_interleaved_write_frame error code in muxavformat.csr552013-12-291-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5943 b64f7644-9d1e-0410-96f1-a4d463321fa5
* RB626: return code support addedmaxd2013-11-051-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5876 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: check AVIOContext.error for errors while muxingjstebbins2013-10-211-1/+4
| | | | | | | | | libavformat doesn't always check this, so the return code from av_interleaved_write_frame doesn't indicate an error when there is a failure to write to disk. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5850 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix display size when anamorphic is disabled.Rodeo2013-08-251-4/+14
| | | | | | | | Some interfaces set the PAR width/height to be the same as the input's, even when anamorphic is disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5750 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Big merge, QSV to trunk: part 1 (tracked files).Rodeo2013-08-221-2/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5737 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: log avio_open2 error return codejstebbins2013-08-161-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5701 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: add experimental avformat muxer for mkv and mp4jstebbins2013-06-301-0/+1239
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5620 b64f7644-9d1e-0410-96f1-a4d463321fa5