summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* WinGui:sr552010-04-082-8/+9
| | | | | | - MP3 in MP4 files is now enabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3206 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix audio clipping when downmixing and output codec is lamejstebbins2010-04-073-19/+27
| | | | | | | | | | The lame codec has a more limited input range than the other codecs. So tell the downmixers to stay strictly within the level range requested. also changes some tabs into spaces in deca52 and decdca git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3205 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1510 to r1523dynaflash2010-04-071-1/+1
| | | | | | - Various bugfixes and enhancements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3204 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash when subtitle list has an invalid subtitlejstebbins2010-04-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3203 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue when selecting a preset with multiple audio tracks (ie. ↵dynaflash2010-04-061-1/+14
| | | | | | | | | AppleTV preset) any track after the first track used the first source track which would cause track mismatches. Now if the first track is set to use source track 3 for instance, the seond track will use source track 3 as well. - Fixes issue where the AppleTv Preset would use a different source track for its AC3 track than the first aac track on some multiple track sources. - Addresses the bug explained here http://forum.handbrake.fr/viewtopic.php?f=12&t=15854 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3202 b64f7644-9d1e-0410-96f1-a4d463321fa5
* generalize audio channel map reorderingjstebbins2010-04-053-119/+404
| | | | | | | | | | | | | | | | this allows remapping any channel order to any other channel order with the appropriate map definitions. channel maps currently supplied are smpte (used by ffmpeg), qt (our standard channel order), and ac3 (as delivered by a52dec). remapping can also be applied to the downmixer with the function hb_downmix_set_chan_map(hb_chan_map_t * map_in, hb_chan_map_t * map_out). this allows downmixing and channel reordering in a single step. there is no additional cost to reordering since the matrix multiply used to do the downmix simultaneously reorders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3201 b64f7644-9d1e-0410-96f1-a4d463321fa5
* small error in the last change. Missed a comman in the libhb build script ↵sr552010-04-051-1/+1
| | | | | | change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3200 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libgcc is no longer needed. Thanks to golgol7777 for pointing out the ↵sr552010-04-052-0/+2
| | | | | | necessary changes in the build system git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3199 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-051-5/+0
| | | | | | - Remove check for libgcc_s_sjlj-1.dll since it is no longer required. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3198 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix silence insertion problem in audio sync and pipeline stall problemjstebbins2010-04-034-33/+74
| | | | | | | | | | | | | | | | | | | | the current audio buffer was being dropped when silence was inserted, causing the time to fall even further behind and provoke more silence insertion in some cases. with pont-to-point, it is possible for one stream to complete before the other(s). when the work_loop exits for that stream, the fifo is no longer serviced and may fill. This can back up and cause a stall in reader causing the streams that are not yet complete to stall. The Solution is to continue servicing the fifo after work for a stream is complete. This was complicated by the fact that the video sync work object was being used as the indicator that all work was finished. When it exited everything was told to stop. So now, the muxer work object (last in the chain) is the indicator when work is done. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3197 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix stupid error in my last commitjstebbins2010-04-031-10/+10
| | | | | | | double hb_buffer_close caused crash git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3196 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix audio detection problem during scan of ffmpeg audio sourcesjstebbins2010-04-025-37/+99
| | | | | | | | | | | | audio frames can be larger than their container packet sizes, but during scan, we only feed one container packet to the decoder, then reset the decoder and try the next packet. so the audio is never detected. as buffers are tested, they are added to a cache. the entire cache is passed to the decoder to scan for info. the cache is limited to 4KB. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3195 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-029-6/+1570
| | | | | | | - Added a new NightlyBuild Build Configuration. - Updated "Install" target so you now only need to provide HandBrakeCLI.exe and it's dll. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3194 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-021-3/+6
| | | | | | - Fix a small error in the build config. Don't run makensis for non install configs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3193 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-023-2/+61
| | | | | | | - Add a new build target called "Install". If you have NSIS installed and it's in your path, you can now use the "Install" target to automatically build the HandBrake Installer for the Windows GUI. HandBrakeCLI.exe, libgcc_s_sjlj-1.dll, "doc" folder, and handbrakepineapple.ico must all be copied into the "bin/install" folder for this to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3192 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-021-0/+25
| | | | | | - Put in some checks on ui launch to make sure the cli and it's dll are present. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3191 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-022-4/+5
| | | | | | | - Updated AssemblyInfo.cs - Added Subme 10 to x264 panel git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3190 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add subme 10 to the subpixel motion estimation widget in the ↵dynaflash2010-04-021-1/+1
| | | | | | advanced panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3189 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove a bunch of useless comments from the point a to b code.dynaflash2010-04-021-17/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3188 b64f7644-9d1e-0410-96f1-a4d463321fa5
* handle YUV422P video in the mpeg2 decoderjstebbins2010-04-021-10/+31
| | | | | | | | if the image format is 422, convert it to 420 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3187 b64f7644-9d1e-0410-96f1-a4d463321fa5
* flush frames x264 has cached properlyjstebbins2010-04-021-2/+4
| | | | | | | | | | waiting until the returned size is == 0 isn't adequate. you must use the function x264_encoder_delayed_frames encoding very short clips resulted in invalid unplayable files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3186 b64f7644-9d1e-0410-96f1-a4d463321fa5
* when in cfr mode, tell x264 we are doing cfr and allow x264 to set the ↵jstebbins2010-04-021-2/+11
| | | | | | | | | | | timebase to the framerate. fixes compatibility issue with tsMuxer which many PS3 users use. now they can select a specific framerate, which will output cfr video that tsMuxer can grok. we should have been doing this anyway. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3185 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove the AC3 and DCA audio input codec limitations for selecting ↵dynaflash2010-04-021-8/+2
| | | | | | mono or more importantly 6 channel discrete as per svn rev 3182. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3184 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: sr552010-04-022-18/+9
| | | | | | - Fix an issue with the Chapters tab where it wouldn't always enable the tab when the source had chapters git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3183 b64f7644-9d1e-0410-96f1-a4d463321fa5
* downmix support for ffmpeg audio sourcesjstebbins2010-04-029-102/+1542
| | | | | | | | now we can eat our own dogfood. i.e. aac 6ch discrete input now works, along with any other multi-channel audio ffmpeg can toss at us. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3182 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix a problem processing PS stream that look a lot like DVD PS but are not.jstebbins2010-04-011-0/+17
| | | | | | | | | these streams have start codes that all align on 2048 byte boundaries which makes them look like DVD PS. But within the 2048 bytes, they have multiple pack headers which we were tripping on. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3181 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: change the x264 header NAL array order from sei - sps - pps to sps - ↵dynaflash2010-03-311-4/+4
| | | | | | | | pps - sei as per x265 r1510 - Thanks golgol7777 for the patch! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3180 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r1471 to r1510 (current git head)dynaflash2010-03-301-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* give s55 a helping hand with createing mingw CLI zipjstebbins2010-03-283-7/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3178 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Build system now creates cli stage area for mingwsr552010-03-281-2/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3177 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MinGW:sr552010-03-283-0/+14
| | | | | | - Initial checkin of some files for making CLI zip packages. This isn't functional yet but hopefully will be later. Also having to checkin a required dll which will be copied into the package. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3176 b64f7644-9d1e-0410-96f1-a4d463321fa5
* handle bluray LPCM streamsjstebbins2010-03-272-25/+87
| | | | | | | | | | | | | | | bluray lpcm uses an stype that is normally used for digicipher. so we use the registration descriptor == HDMV in the PMT to recognize bluray streams. also, ffmpeg doesn't provide a parser for this audio type because none is needed. so when the parser is NULL, pass our buffer data directly to the decoder. Since ffmpeg is doing the decoding, we will still suffer from the same problem with multi-channel ffmpeg streams. So this currenlty only works properly with stereo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3175 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-03-273-36/+87
| | | | | | | | - Audio Panel will now remove all audio tracks from the audio list if the source has no tracks. When changing back to a source / title that has audio tracks, it will re-add audio tracks that are setup in the selected preset. If no preset is selected it will not re add any tracks. - Fix duplicate preset created when importing macgui preset. - Fix CQ/Filesize/AvgBitrate settings not being set correctly with macgui preset import. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3174 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix sporadic incorrect bitrate calculation of muxed tracksjstebbins2010-03-271-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3173 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix crash where a source with no audio crashes the macgui.dynaflash2010-03-261-17/+36
| | | | | | - If no source audio is found, set track 1 to None and disable controls. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3172 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add call to hb_global_close() upon application termination as per ↵dynaflash2010-03-262-1/+5
| | | | | | | | changes in rev 3170 - Also added a missing call to hb_close for the live preview encoding instance git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3171 b64f7644-9d1e-0410-96f1-a4d463321fa5
* make it possible to dynamically create and close multiple libhb instancesjstebbins2010-03-268-47/+91
| | | | | | | | | | tweaks to make libhb more usable from a C# app remove pointers from preview filenames, replaces with hb instance and title id's removes only previews upon hb_close, leaves temp dir for hb_global_close git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3170 b64f7644-9d1e-0410-96f1-a4d463321fa5
* reduce mux interleave threshold more to prevent out of memory situationsjstebbins2010-03-191-1/+1
| | | | | | | | | | when skewed timestamps or premature end of a stream is encountered, the muxer buffers streams in an attempt to interleave stream timestamps. this threshold tells it when to give up. The previous value still allowed out of memory conditions with windows 2GB per application limit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3169 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: use a more portable, elegant way of redirecting stderr to pipejstebbins2010-03-141-5/+2
| | | | | | | Thanks to scsi guy for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3168 b64f7644-9d1e-0410-96f1-a4d463321fa5
* improve lame audio quality by using ABR mode and disabling joint stereo modejstebbins2010-03-143-11/+40
| | | | | | | add mp3 muxing into mp4 container. cli and gtk gui now support this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3167 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix crash when necessary gstreamer plugin is not installedjstebbins2010-03-142-12/+37
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3166 b64f7644-9d1e-0410-96f1-a4d463321fa5
* extend search range for TS re-syncjstebbins2010-03-131-14/+24
| | | | | | | | we were only checking approx the next 16K bytes when sync was lost in a transport stream. now we will continues searching to the end of the file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3165 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-03-121-2/+9
| | | | | | - Missing comment git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3164 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-03-126-9/+119
| | | | | | | | Two new options for autocrop. - Remove Underscores from source name. - Change to Title Case. (e.g "Source Name") git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3163 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-03-125-105/+146
| | | | | | The Source button dropdown menu can now display multiple ready DVD drives. Previously only the first ready drive would be displayed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3162 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix an issue with hud widget sytle overridesjstebbins2010-03-111-1/+8
| | | | | | | | The overrides are based on widget name, and the names are no longer being set by GtkBuilder. So I have to set them myself. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-03-111-1/+1
| | | | | | - Fix the DVD Drive Option on the source menu. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3160 b64f7644-9d1e-0410-96f1-a4d463321fa5
* disable asserts in libdvdnav except when configured with --debug=maxjstebbins2010-03-113-2/+11
| | | | | | | | dvdnav asserts on things are are almost never fatal. so lets not crash on them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3159 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add 'orientation vertical' property to GtkVBoxjstebbins2010-03-101-0/+54
| | | | | | | | Works around a bug in the Glade-3 ui layout tool. It shows VBoxs as if they were HBoxs if this property is not set. libgtk has no such issue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3158 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-03-104-17/+18
| | | | | | - Revert extra added -x and hopefully fix the cause of it being autogend git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3157 b64f7644-9d1e-0410-96f1-a4d463321fa5