summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* added worker thread sleep throttling.johnallen2007-01-089-14/+43
| | | | | | | | | | each of the work object threads now self adjust their sleep interval based on the "fullness" of their fifo. 80% is the choose threshold. Work objects with a fifo fullness of greater than 80% increase their sleep interval. This allows other work object with less than 80% fullness more CPU usage. Also adjusted thread_func, reader, and muxer sleep intervals to more reasonable values. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@98 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Documentation begins. johnallen2007-01-075-6/+153
| | | | | | | Added method documentation for hb.c as well as a few methods in sync.c and work.c More to come. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@97 b64f7644-9d1e-0410-96f1-a4d463321fa5
* added HB_STATE_MUXING to hb_state_s and corresponding structure.johnallen2007-01-075-0/+59
| | | | | | | | | | this state indicates the transition from the end of HB_STATE_WORKING to the beginning of HB_STATE_WORKDONE. This state can take as long a 10 minutes on a long conversion. The associated working structure contains a progress float. Once we determine how to get a proper progress from the call to av_write_trailer in libavformat, we can update this progress. HB, IHB, and HBTest are now using using HB_STATE_MUXING to provided feedback to the user. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@96 b64f7644-9d1e-0410-96f1-a4d463321fa5
* RapidSVN commited changes to files I did not want commited. This commit ↵johnallen2007-01-061-399/+6
| | | | | | revert those files back to rev 92. missed another file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@95 b64f7644-9d1e-0410-96f1-a4d463321fa5
* RapidSVN commited changes to files I did not want commited. This commit ↵johnallen2007-01-065-29/+2
| | | | | | revert those files back to rev 92. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@94 b64f7644-9d1e-0410-96f1-a4d463321fa5
* added Doxyfile, config file for doxygenjohnallen2007-01-067-39/+824
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@93 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Give more explanations on the jam/jamintel commands...prigaux2007-01-051-1/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@92 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Disabled the ffmpeg patch that don't work on current tarball.prigaux2007-01-051-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@91 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Changed download path for contrib libraries from ↵rhester2007-01-0412-12/+12
| | | | | | http://multics.dynalias.com/handbrake/contrib to http://download.handbrake.dynalias.com/contrib git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@90 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added CRF x264 rate control method to HBTest.jbrjake2007-01-043-7/+31
| | | | | | | | | | Constant quantizer is maintained as the default so nothing changes: HBTest -i input -o output -e x264 -q 0.60 Switch to constant rate factor by throwing a -Q on the end: HBTest -i input -o output -e x264 -q 0.60 -Q git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@89 b64f7644-9d1e-0410-96f1-a4d463321fa5
* added title # to output filenamejohnallen2007-01-041-6/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@88 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Jam Intel binary gives the OSPLAT=X86, will be merged with the jam PPC ↵prigaux2007-01-031-0/+0
| | | | | | binary after tests prouves that it works correctly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@87 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Pri: Reintroduce the audio preferences combobox in pref controlerhandbrake2007-01-032-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@86 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Pri: Save audio preferenceshandbrake2007-01-031-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@85 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Changes to make HandBrake build on Windows using the Cygwin environment:handbrake2007-01-0310-85/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | root configure file: I added this to the "case $SYSTEM in" switch statement: CYGWIN_NT*) DEFINES="$DEFINES SYS_CYGWIN USE_PTHREAD" LINKLIBS="$LINKLIBS -lpthread" ;; Also, for each existing OS type that is using -lpthread, I added USE_PTHREAD to their DEFINES. Then libhb/ports.c was changed to use pthread code based on the value of USE_PTHREAD, instead of checking each different OS value that used pthreading, so it's a bit easier to read and maintain. root Jamfile: Jam doesn't seem to understand CYGWIN, so $(OS) is defined as UNKNOWN. Check for this, and if this it true then set $(OS) to CYGWIN. Since CSS doesn't work (yet) on CYGWIN/Windows, I also changed Jamfile to not include libdvdcss.a in the library list for CYGWIN. contrib/Jamfile: For CYGWIN, don't build libdvdcss, and don't specify it's path for libdvdread. There are also a few changes to use new patchfiles for Cygwin for a few of the libraries. x264: Change configure script so that it doesn't include -mno-cygwin flags for CYGWIN platform. Created patchfile patch-x264-cygwin.patch for this, which is used by Jamfile. The -mno-cygwin flags cause the library not to link correctly with HBTest.exe. The -mno-cygwin flag is used to create an object file or library that doesn't depend on cygwin1.dll if you're using MinGW, but I'm not (yet). libxvidcore: Change configure script so that it doesn't include -mno-cygwin flags for CYGWIN platform. Change configure script so that it uses libxvidcore.a as the lib name instead of xvidcore.a for CYGWIN. Created patchfile patch-xvidcore-cygwin.patch that contains the 2 above changes and is used by Jamfile. Renamed patch-xvidcore.patch to patch-xvidcore-macosx.patch and updated Jamfile as appropriate -- an attempt to keep the patches being applied only when needed for a particular platform. ffmpeg: libavcodec/mpegaudiodec.c uses llrint(), which apparently isn't availble with Cygwin, so I changed the file to use lrint() which is available. llrint() returns a long long, lrint() returns a long. In the places where llrint() was being called, the return value of llrint() was being assigned to an element in an array of unsigned ints, so llrint() (long long) shouldn't be needed, and lrint() (long) should be fine. Created patchfile patch-ffmpeg-cygwin.patch that contains this change, and is used by Jamfile. libhb/ports.c: Commented out a number of things that were broken with the current SYS_CYGWIN code. The most notable change was to not use Windows threading for CYGWIN, and instead use pthreading. All the places where the OS type was being checked to determine whether or not to use pthreading were changed so that the USE_PTHREAD define is checked instead. There seems to be some problem with the Windows threading code in ports.c, because if I enable it then x264 encodes will either crash or lock-up HBTest.exe. Perhaps this is related to mixing threading models, since x264 is compiled with pthread support, and so maybe mixing pthread with Windows threading in the same process is a bad thing. test/test.c: Need to #include sys/time.h, time.h, unistd.h to compile. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@84 b64f7644-9d1e-0410-96f1-a4d463321fa5
* by dynflashhandbrake2007-01-025-39/+50
| | | | | | | | | Handbrake GUI: -fixed ScanController so that HB doesnt crash if you try to open a dvd that isnt there. -Uses DVD name as the default for Movie output (instead of the generic "Movie.mp4" -Versioned 0.7.1a5 in in Handbrake.plist to assist testers and developers of HB binary in telling which one they are using. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@83 b64f7644-9d1e-0410-96f1-a4d463321fa5
* dynaflash -handbrake2007-01-024-6/+6
| | | | | | | | | | | - Handbrake GUI redesign - Separate Video, Audio, Subtitles into a Tab View containers to clean up main window - Created "Output Settings Divider" to delineate Output Settings from Destination Note: Possibly foresee another tab call "Info" which has all of the chosen settings including Picture Settings in one place, this could be we might have a "Save as Preset" button for a future User Preset function ? git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@82 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Pri: Add preference for the default audio streamhandbrake2007-01-021-1/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@81 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Pri: Add preference for the default audio streamhandbrake2007-01-022-0/+177
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@80 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Pri: Add preference for the default audio streamhandbrake2007-01-023-3/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@79 b64f7644-9d1e-0410-96f1-a4d463321fa5
* -added Max Picture Width, options are 640 (default) and 320.handbrake2007-01-016-19/+38
| | | | | | | -changed video bit rate to correspond to max width choice, 640x -> 1000, 320x ->500 -advanced IHB version to 1.0a2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@78 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Replaced UB version of jam with PPC version. Intel version has issues. PPC ↵handbrake2007-01-011-0/+0
| | | | | | version should run under all mac platforms. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@77 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fixed HandBrake Scan Panel for Optical Drivehandbrake2006-12-313-26/+82
| | | | | | | | Uses DVD Name instead of drive location Displays DVD Name in Main window h.264 defaults to Baseline Level 3 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@76 b64f7644-9d1e-0410-96f1-a4d463321fa5
* added Universal build of jam to the trunkhandbrake2006-12-311-0/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@75 b64f7644-9d1e-0410-96f1-a4d463321fa5
* -Increase status timer to 2 seconds from .5 (no need to update that fast. ↵handbrake2006-12-314-22/+45
| | | | | | | | | | | | | | | | | libhb needs all the cpu cycles it can get) -I versioned it 1.0a1 -re-enable Convert button after cancel is clicked (mostly annoying for developers who want to start and stop convert process) -attempt at changing how progress is reportted to the user(trying to address problem where libhb reports 100% for a few minutes before reporting DONE. This seems to be a problem down in libhb. Unlikely I can fix this in the GUI) -changed ambiguous "Picture format" to "Picture Aspect" -default Picture Aspect is now Original not Fullscreen -default languge is now set to English -Output width limit is set to 640 for MPEG4 and H.264. Height is set based on Picture Aspect and determined by a call to hb_set_size. (PSP is unaffected) -deinterlace is set for both MPEG4 and H.264 (why would you not want this?) -bit rate for H.264 is set to 1000, and 1500 for MPEG4 -changed output file to "DVDName".m4v like iTunes movies. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@74 b64f7644-9d1e-0410-96f1-a4d463321fa5
* updated Instant HandBrake to output higher resolution H.264 for iPod 5G and 5.5Ghandbrake2006-12-262-118/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@72 b64f7644-9d1e-0410-96f1-a4d463321fa5
* HandBrake 0.7.1a2handbrake2006-12-166-19/+9
| | | | | | | | Updated x264 base source to svn 604 Improved CQP and ABR handling git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@71 b64f7644-9d1e-0410-96f1-a4d463321fa5
* HandBrake 0.7.1a1rhester2006-09-3028-159/+362
| | | | | | | | | | | | | | | | Made H.264 baseline levels more generic Added iPod 640x480 support to libhb, HBTest and MacOS X GUI Added proper iPod 640x480 muxing Modified rate control for more accurate ending video bitrates Updated ffmpeg and x264 base sources to more current levels Removed inlined ff_get_fourcc (now in ffmpeg) Updated patches for xvidcore, libdvdread, x264, and ffmpeg Relocated contrib files to local web server and updated version files to new site Renamed contrib files and patches to consistent naming standard Updated contrib Jamfile to support new patches and naming standard git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@70 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow 32kHz audio output, updated build instructions.titer2006-05-035-19/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@69 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a 'colr' box to mp4 files, indicating an NTSC profile. Makes thetiter2006-04-262-13/+31
| | | | | | | picture look brighter in QuickTime. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@68 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fixed scanning of DVD folderstiter2006-04-211-3/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@67 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Renamed (again) to Instant HandBrake like Mike suggestedtiter2006-04-214-17/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@66 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use the DVD name for the output filetiter2006-04-203-2/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@65 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Show the name of the DVD instead of /dev/rdiskXtiter2006-04-197-18/+78
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@64 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Implemented canceltiter2006-04-175-1/+46
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@63 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Implemented audio and subtitle selectiontiter2006-04-178-5/+78
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@62 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Merge from avformat branchtiter2006-04-1721-283/+349
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@60 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Minor UI changestiter2006-03-241-16/+27
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@48 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds presets for iPod/H.264 and iPod/MPEG-4 + small UI fixestiter2006-03-217-27/+130
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@47 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Cosmetictiter2006-03-183-2/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@46 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds an "Insert DVD" message when nothing can be foundtiter2006-03-181-3/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@45 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Minor UI changes, + allow physical DVDs in HBEtiter2006-03-183-3/+19
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@44 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moves drive detection to a seperate classtiter2006-03-188-127/+206
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@43 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simple threading change (~4% faster). Breaks pause/resume for nowtiter2006-03-182-140/+49
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@40 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added hb_init_express - makes the binary smaller. Still need to striptiter2006-03-168-58/+93
| | | | | | | the unused avi and ogm muxers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@36 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Renamed HB Portable to HB Expresstiter2006-03-168-44/+68
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@35 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Structural changes, in order to eventually be able to compile HBtiter2006-03-1617-907/+882
| | | | | | | without certain encoders git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@34 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Changelog update0.7.1titer2006-02-241-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@32 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Preparing 0.7.1titer2006-02-245-9/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@31 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Softer resampling when audio dates are messed up (fix for LPCM issues).titer2006-02-233-38/+16
| | | | | | | Disabled verbose in the OS X UI git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@30 b64f7644-9d1e-0410-96f1-a4d463321fa5