summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Implement per track audio settings.dynaflash2008-04-077-3424/+5597
| | | | | | | | | | | | | | | | | | | | - Expands the number of audio tracks the macgui can encode to 4. - Everything except drc is now set on a per track basis - Be Gone self limiting "Codecs" PopUp ! - Can now use any audio codecs that the container will support in the same encode - The previous "AAC + AC3" bizarre hybrid is now deprecated and you simply set them up per track - Implement full audio list readout in the queue, tracks are now show one per line in a list like fashion - Queue is no longer hard coded for just two tracks. - Preset code updated to regress to handle previous presets that utilized the codecs popup to determine audio scheme to use - Preset code now handles everything except language selection. - The Format, Video Encoder and Audio codes are all now stored in the appropriate NSPopUp tags for very easy retrieval. - Crazy format, codecs struct is now gone as we get that from the tags. - AC3 Passthru properly shows the input bitrate and 48 khz samplerate in the appropriate popups - Added Theora video encoder to OGM container - Added libtheora to the libhb dylib - NOTE: The check against trying to use AC3 Passthru on a DTS track is broken on the encoder popup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1385 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-04-062-9/+45
| | | | | | - Activity window now updates every 3 seconds during an encode, so the user can now watch the encode log as it is generated by the CLI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1384 b64f7644-9d1e-0410-96f1-a4d463321fa5
* During conversion only log when there's an error or anomaly.van2008-04-061-5/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1383 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-04-063-33/+14
| | | | | | - Instead of highlighting checkboxes red if their selection is invalid. Display a MessageBox explaining the error. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1382 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Fix sync problems associated with sample rate conversion - the truncation ↵van2008-04-061-38/+62
| | | | | | | | | error of the sample rate ratio would build up over time until the audio substantially lagged the video. - Don't feed audio through the sample rate converter if we don't have to - it's faster not to & it can introduce a delay that perturbs a/v sync. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1381 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-04-042-4/+44
| | | | | | - Automatically select the longest title after a scan has completed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1380 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-04-0412-97/+115
| | | | | | - UI consistency issues caused by last UI update, now sorted. All windows follow the same style aspects. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1379 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-04-043-603/+377
| | | | | | - Just a very quick cleanup of frmMain.cs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1378 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Minor chapter cleanups.van2008-04-047-39/+77
| | | | | | | | | | - put chapter number in buf rather than a 'new chapter' flag. - use that chapter number to index chapter text in muxers so a dropped chapter doesn't make all subsequent chapter labeling wrong. - get rid of most of the chapter logging & just output one line giving the chapter text, number, frame & time. - fix a bug in sync that could cause chapter marks to be lost. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1377 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-04-041-10/+15
| | | | | | - Small Fix to the cropping dropdown code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1376 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - New Audio Panel (Query Parser, Query Generator, Preset Loader Functions ↵sr552008-04-0435-721/+1349
| | | | | | | | | | | | | | | all updated) This includes minor changes to the UI (e.g in the 'Output Settings' box) - UI Improvments for Windows Vista and XP where non Classic theme is used. - Activity Window can now view the log whilst an encode is going. (Doesn't live update... yet TODO!) - Changed Radio File/Folder option for Source Browse to a single checkbox. Folder view by default. Check "File mode" for file selection dialog. - Misc other UI changes - Update checker won't display an error message during statup if one occurs whilst checking the update. The message was hidden behind the splash screen. This is now not a problem. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1375 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cli: If the user specifies more audio codecs than audio tracks, make a copy ↵jbrjake2008-04-041-21/+20
| | | | | | of the last track specified for each additional output codec. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1374 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Windows line endings are bad.jbrjake2008-04-031-601/+601
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1373 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - hardware players don't tolerate video or audio frames that overlap in ↵van2008-04-031-8/+13
| | | | | | | | | time & some dvd mastering techniques take advantage of this. Get rid of fudge factors so we drop all such frames otherwise they screw up our a/v sync. - fix video timing 'off by one': since we look one frame ahead time has to actually advance on the next video frame. time that stays the same guarantees a one frame overlap which really messes up mp4 durations. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1372 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: Update fix AppleTV preset audio.saintdev2008-04-031-8/+15
| | | | | | | | | Accidently hard-coded it to first audio track. Also, you had to specify both audio tracks. Now it only needs one specified and will use that for both. Also, update the --preset-list git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1371 b64f7644-9d1e-0410-96f1-a4d463321fa5
* scan and pcm audio fixes.van2008-04-025-415/+531
| | | | | | | | | | | | | | - lpcm audio fixed to handle 24 bit & interpret header correctly. - get aspect ratio from libmpeg2 rather than doing it ourselves. - announce when aspect ratio changes during preview scan. - if aspect ratio isn't either 4:3 or 16:9 complain & map to either 4:3 or 16:9 (whichever is closest). - start stream previews from file position 0 rather than 1/11 in case there's only on mpeg sequence header in the file. - don't give up on a file just because we can't get a preview due to a missing sequence header - only give up if we can't get any previews. - get audio bitstream characteristics during preview in a uniform way (we were treating PCM & MPEG audio specially which resulted in not getting their sample rate which caused a divide by zero in sync). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1370 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where a new encode would retain one audio track from the ↵dynaflash2008-04-021-1/+2
| | | | | | previous encode if there was one. Bug introduced in rev 1367. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1369 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix audio issue where both tracks would use the first source audio ↵dynaflash2008-04-021-4/+4
| | | | | | track regardless of what source track was chosen. Bug introduced in rev 1367 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1368 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Update to use the new audio layout.saintdev2008-04-013-190/+268
| | | | | | | This only updates the current interface, nothing new added. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1367 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: "Fun with string theory." Updates needed for new audio layout.saintdev2008-04-011-195/+437
| | | | | | | | | --audios takes a comma seperated list (or range) of the requested output tracks. The other audio settings take either one argument, in which case it applies across all tracks, or a comma seperated list that applies to each track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1366 b64f7644-9d1e-0410-96f1-a4d463321fa5
* New internal audio handling.saintdev2008-04-0119-521/+615
| | | | | | | | Each audio track contains it's own settings for codec, bitrate, samplerate, etc. This allows for very complex combinations of audio tracks if desired. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1365 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix up libs for building qt4 gui.saintdev2008-03-231-1/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1364 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix theora linking when using make.saintdev2008-03-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1363 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix Makefiles for dynamically linked dvdcss.saintdev2008-03-232-20/+3
| | | | | | | | You can only build dynamically linked dvdcss with make. If you want static dvdcss use jam. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1362 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update configure to allow dynamic linking on linux.saintdev2008-03-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1361 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI:jbrjake2008-03-231-3/+14
| | | | | | | - If title->detected_interlacing is true, mention it in the non-verbose scan output - Fixes a minor VFR bug that got the filter chain order wrong if other filters than detelecine were applied. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1360 b64f7644-9d1e-0410-96f1-a4d463321fa5
* = Adds an hb_detect_comb() function that indicates whether or not a frame ↵jbrjake2008-03-234-2/+135
| | | | | | | | | shows interlacing artifacts. - Utilitizes that function in scan.c to analyze the preview frames - Sets a new title->detected_interlacing variable to true if half or more previews show combing, and warns the user in the log. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1359 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Make the configure script argument tests work everywheresuperdump2008-03-221-4/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1358 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removes deprecated x264 modes (b13 and b30) from the CLI's help output.jbrjake2008-03-221-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1357 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Makes snapshots the default build method for both make and jam. To build a ↵jbrjake2008-03-222-6/+6
| | | | | | regular release with jam, use "./configure --release". To build a regular release with make, use "make all". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1356 b64f7644-9d1e-0410-96f1-a4d463321fa5
* xvid:sr552008-03-221-12/+13
| | | | | | - Updates the xvid nasm patch so that xvid correctly uses CPU optimizations under cygwin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1355 b64f7644-9d1e-0410-96f1-a4d463321fa5
* "If one would give me six lines written by the hand of the most honest man, ↵jbrjake2008-03-227-29/+103
| | | | | | | | | | I would find something in them to have him hanged." - Banishes libdvdcss, removing DVD decryption from HandBrake's binaries. - For decrypttion, the MacGui and Mac CLI now will load at runtime VLC's dynamic library of dvdcss if the media player's available on the user's system. - Linux users can build with a statically linked lib of dvdcss by using ./configure --libdvdcss, which will download it from a remote third party (videolan.org). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1354 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libswscale accurate rounding is now re-enabled for all arches except x86_64.saintdev2008-03-212-5/+16
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1353 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reverts r1254, so ffmpeg-in-avi again reports as DivX 5. Giving it the ↵jbrjake2008-03-201-2/+2
| | | | | | "correct" codes was a problem for lame Windows media players and didn't help the CrackBerry user who requested it. Moral of the story? Greet user requests with skepticism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1352 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix two of my stupid bugs that prevented using the queue with transport streams:van2008-03-204-244/+326
| | | | | | | | - keep a cache of the pid/substream id mappings from each scan rather than assuming an encode will immediately follow a scan (there will be lots of scans followed by lots of encodes when the queue is used). - rewrite a few things to get rid of static variables. hb_ts_stream_decode is called by both scan & reader and they're in different threads. All the working storage & state has to either be in the stream struct or on the stack so it's private to the calling thread or it gets corrupted when doing a scan in the middle of an encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1351 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Theora.saintdev2008-03-2015-40/+349
| | | | | | | | This adds the theora encoder to the Xcode project as well. It does not enable anything in the Mac GUI, just allows it to build. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1350 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-192-53/+54
| | | | | | | - Fixed a bug in the startup init sequence. H264 window needed to be generated before the presets were init'd. - Setup the tab markers for the h264 tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1349 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-191-1/+1
| | | | | | - Fixed some text label alignment issues around the cropping boxes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1348 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-195-120/+1888
| | | | | | - The x264 tab has been replaced by a completely new panel with widgets for many of the available x264 options. It operates in a similar way to the macgui's panel. (It however will not disable widgets based on selections on other widgets yet(like the macgui does) this will come later when the bugs have been worked out. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1347 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Method for generating snapshot builds marked with the svn revision by ↵jbrjake2008-03-194-12/+70
| | | | | | | | | | | using ./configure --snapshot; ./jam - Targets for generating snapshot Mac universal binaries by using make snapshot and packaging Mac snapshot releases - Sets the current date for HB_BUILD in jam - Sets the Mac .plist version and build based on the jam/make config - Bumps the version number to 0.9.3 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1346 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-183-8/+15
| | | | | | | | - Few bug fixes in the preset system - File > open is now Import preset. Loads in old presets into the preset bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1345 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Write version info the the activity log and activity windowdynaflash2008-03-172-2/+17
| | | | | | | - writes the Handbrake version number and build number to the activity window and log text file upon startup (this no longer occured out of libhb once we updated the update system to Sparkle) - Add writing the version info upon clearing of either the log file or the window, this way we have version info from users even if they have cleared the top of the logs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1344 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-168-66/+111
| | | | | | | - When selecting a destination, The audio encoder selection dropdown now repopulates with only compatible encoders (based on file container) - Misc other changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1343 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Should have removed this as part of the r1341 checkin - we now add silence ↵van2008-03-161-22/+0
| | | | | | based only on gaps in the timestamp sequence. The heuristic of looking at what fifos are full or empty can misbehave based on random variation in the thread scheduling. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1342 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Add mpeg2 "Standard Target Decoder" clock recovery to the low level mpeg ↵van2008-03-154-1230/+825
| | | | | | | | | | stream reader so we don't have to guess about the clock in sync. - Since sync now has a fairly reliable clock, make it just trim excess audio or video and fill holes so that we maintain cross media sync. - Redo the TS-to-PS transmuxing code to work on smaller units so that we can reliably convert the TS clock (PCR) to a PS clock (SCR). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1341 b64f7644-9d1e-0410-96f1-a4d463321fa5
* minor bug fix: AC3 passthru audio frames with no pts were getting a bogus ↵van2008-03-151-4/+5
| | | | | | start and stop time which caused bad things to happen later on in sync.c. Move up the code that generates a pts for non-passthru frames so that it applies to both. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1340 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use unix-style line endings (LF) for libhb/Makefile instead of Windows style ↵saintdev2008-03-151-109/+109
| | | | | | (CRLF). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1339 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-148-281/+1092
| | | | | | | | | - Users can now have their own presets appear in the presets bar. They can both add and remove their own presets. - Anamorphic option is now a dropdown menu like the macgui. - Video tab re-arrange to be consistant with the macgui. - Video Framerate dropdown: Changed Automatic to Same as soure (same as the macgui) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1338 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-03-149-89/+54
| | | | | | | | | - Added warning about UNC file paths - Removed the generate presets.dat function on start-up. (It wasn't really needed) - Changed a few tooltips - Switched back to .Net version 2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1337 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: When selecting one x264 option disables another (like turning off ↵jbrjake2008-03-122-1/+187
| | | | | | CABAC disables trellis), remove the disabled option from the string and fade the widget out of view with an animation proxy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1336 b64f7644-9d1e-0410-96f1-a4d463321fa5