aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/ffmpeg-utils.ts
Commit message (Collapse)AuthorAgeFilesLines
...
* Add audio-only option to transcoders and playerfrankdelange2019-11-251-7/+38
| | | | | | | | This patch adds an audio-only option to PeerTube by means of a new transcoding configuration which creates mp4 files which only contain an audio stream. This new transcoder has a resolution of '0' and is presented in the preferences and in the player resolution menu as 'Audio-only' (localised). When playing such streams the player shows the file thumbnail as background and disables controls autohide. Audio-only files can be shared and streamed just like any other file. They can be downloaded as well, the resulting file will be an mp4 container with a single audio stream. This patch is a proof of concept to show the feasibility of 'true' audio-only support. There are better ways of doing this which also enable multiple audio streams for a given video stream (e.g. DASH) but as this would entail a fundamental change in the way PeerTube works it is a bridge too far for a simple proof of concept.
* Add ability to disable webtorrentChocobozzz2019-11-251-2/+4
| | | | In favour of HLS
* Don't quick transcode with the wrong pixel formatChocobozzz2019-10-211-0/+1
|
* Add CLI plugins testsChocobozzz2019-07-241-11/+14
|
* Improve 4K video quality after transcodingChocobozzz2019-06-061-1/+2
|
* Add audio support in uploadChocobozzz2019-05-161-68/+86
|
* Merge remote-tracking branch 'origin/pr/1785' into developChocobozzz2019-05-161-6/+43
|\
| * fixed formatting, added test caseFelix Ableitner2019-05-041-7/+12
| |
| * Dont transcode videos when it is not required (fixes #1780)Felix Ableitner2019-05-041-6/+46
|/
* Relax videos list thumbnail api joinChocobozzz2019-04-241-1/+1
|
* Move config in its own fileChocobozzz2019-04-111-2/+3
|
* Copy video/audio codec for HLSChocobozzz2019-04-081-37/+59
|
* HLS is only supported by ffmpeg 4Chocobozzz2019-02-121-3/+26
| | | | Because of https://github.com/FFmpeg/FFmpeg/commit/c8f625f52998faa9bf0fe22701f1684e51edfc07
* Use a single file instead of segments for HLSChocobozzz2019-02-111-4/+8
|
* Add hls support on serverChocobozzz2019-02-111-5/+27
|
* Prefer avg_frame_rate to fetch video FPSChocobozzz2019-01-171-1/+1
|
* Fix crash regarding video stream issueChocobozzz2018-12-121-1/+1
|
* Fix broken audio with transcodingChocobozzz2018-12-111-3/+3
|
* Cleanup tests importsChocobozzz2018-11-191-1/+1
|
* (ffmpeg) force pixel format yuv420p (#1394)Rigel Kent2018-11-121-0/+1
|
* Fix transcodingChocobozzz2018-10-181-72/+87
|
* Oup'sChocobozzz2018-10-171-7/+7
|
* Fix testsChocobozzz2018-10-171-7/+9
|
* Set keyframe interval for transcoding (fixes #1147) (#1231)Felix Ableitner2018-10-171-24/+28
| | | | | | | | | | | | * Set keyframe interval for transcoding (fixes #1147) * remove -maxrate and old bitrate setter * pass fps as parameter * set type for ffmpeg param * assign ffmpeg object
* fix automatic bitrate adjustmentRigel Kent2018-10-081-1/+1
| | | | | | The regression was introduced in edb4ffc7e0b13659d7c73b120f2c87b27e4c26a1 and forced a fixed bitrate per resolution
* Set bitrate limits for transcoding (fixes #638) (#1135)Felix Ableitner2018-10-081-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set bitrate limits for transcoding (fixes #638) * added optimization script and test, changed stuff * fix test, improve docs * re-add optimize-old-videos script * added documentation * Don't optimize videos without valid UUID, or redundancy videos * move getUUIDFromFilename * fix tests? * update torrent and file size, some more fixes/improvements * use higher bitrate for high fps video, adjust bitrates * add test video * don't throw error if resolution is undefined * generate test fixture on the fly * use random noise video for bitrate test, add promise * shorten test video to avoid timeout * use existing function to optimize video * various fixes * increase test timeout * limit test fixture size, add link * test fixes * add await * more test fixes, add -b:v parameter * replace ffmpeg wiki link * fix ffmpeg params * fix unit test * add test fixture to .gitgnore * add video transcoding fps model * add missing file
* Improve redundancy: add 'min_lifetime' configurationChocobozzz2018-09-241-1/+1
|
* Correctly migrate to fs-extraChocobozzz2018-08-271-3/+3
|
* Don't set a bitrate on unknown audio inputChocobozzz2018-08-141-12/+14
|
* Cleanup utils helperChocobozzz2018-08-141-0/+23
|
* adding tests for audio conversionsRigel Kent2018-08-011-21/+33
|
* ffmpeg auto threadJorropo2018-08-011-1/+3
| | | | Set thread count to 0 and ffmpeg will chose automaticaly
* fixing tests to deal with new transcoding parametersRigel Kent2018-08-011-2/+1
|
* Nice ffmpeg to 15 and 2Jorropo2018-08-011-3/+3
| | | | | | Niceness 15 for video conversionNiceness 2 for image generation (niceness 2 doesn't make it slower, just don't block servers and other app)
* fixing audio getter when video has no audioRigel Kent2018-08-011-18/+29
|
* Fixing #626 with ffmpeg's low default audio bitrateRigel Kent2018-08-011-5/+116
|
* (ffmpeg) B-adapt 1 and B-frames 16 (#774)Anton Latukha2018-07-101-0/+2
|
* Handle higher FPS for high resolution (test)Chocobozzz2018-06-291-7/+18
|
* Fix error loggingChocobozzz2018-03-261-2/+2
|
* Display ffmpeg output errorsChocobozzz2018-03-201-3/+7
|
* Fix video_share_url duplicate key in transcoding jobChocobozzz2018-03-191-2/+4
|
* Fix resolution for portrait videosChocobozzz2018-02-271-4/+10
|
* Don't fail on upload if we cannot generate thumbnailChocobozzz2018-02-271-10/+23
|
* Keep ratio for thumbnailsChocobozzz2018-02-271-7/+11
|
* Add 30 fps limit in transcodingChocobozzz2018-02-261-11/+42
|
* Move models to typescript-sequelizeChocobozzz2017-12-131-1/+1
|
* Cleanup helpersChocobozzz2017-11-271-2/+1
|
* Begin activitypubChocobozzz2017-11-271-1/+0
|
* Improve transcoding qualityChocobozzz2017-10-171-1/+2
| | | | I'm an idiot
* Use preview instead of thumbnail for oembedChocobozzz2017-10-171-1/+1
|