aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/video-transcoding.ts
Commit message (Collapse)AuthorAgeFilesLines
* stricter youtubedl format selectors (#3516)Rigel Kent2021-01-151-1/+12
| | | | | | | | | | | | | | * stricter youtubedl format selectors make sure selectors avoid av1, and otherwise match as closely to the maximum resolution enabled for transcoding * add support for merge formats in youtubedl * avoid vp9.2 in youtubedl to avoid any HDR * move getEnabledResolutions, safer replace of imported extension * add test for youtube-dl selectors
* Force HLS transcodingChocobozzz2020-12-221-0/+2
| | | | | | Fix weird behaviour with some web browsers. Don't really know if it's a ffmpeg bug, a safari bug or a peertube bug, but forcing transcoding seems to fix this playback bug
* Load video in permanent live after last one endedChocobozzz2020-12-041-2/+7
|
* Fix audio issues with live replayChocobozzz2020-12-041-33/+9
|
* Fix live replay duration glitchChocobozzz2020-12-021-36/+95
|
* Add transcoding module commentsChocobozzz2020-11-251-4/+9
|
* Support encoding profilesChocobozzz2020-11-251-86/+5
|
* Export encoders options in a dedicated structChocobozzz2020-11-251-4/+110
|
* Split ffmpeg utils with ffprobe utilsChocobozzz2020-11-251-9/+2
|
* Don't add live videos in redundancyChocobozzz2020-11-091-2/+0
|
* Regenerate miniature on live saveChocobozzz2020-11-091-9/+8
|
* Add ability to save live replayChocobozzz2020-11-091-9/+15
|
* Live streaming implementation first stepChocobozzz2020-11-091-3/+4
|
* Fix re webtorrent transcodingChocobozzz2020-09-091-7/+3
|
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* Fix re running HLS transcodingChocobozzz2020-03-121-1/+1
|
* Fix lintChocobozzz2020-03-101-2/+1
|
* Video file metadata PR cleanupChocobozzz2020-03-101-3/+0
|
* Add video file metadata to download modal, via ffprobe (#2411)Rigel Kent2020-03-101-0/+8
| | | | | | | | | | | | | | | | | | | * Add video file metadata via ffprobe * Federate video file metadata * Add tests for file metadata generation * Complete tests for videoFile metadata federation * Lint migration and video-file for metadata * Objectify metadata from getter in ffmpeg-utils * Add metadataUrl to all videoFiles * Simplify metadata API middleware * Load playlist in videoFile when requesting metadata
* Try to fix subscriptions inconsistenciesChocobozzz2020-01-081-1/+1
|
* Don't use the max quality file when transcoding to a new resolutionChocobozzz2019-12-111-1/+1
|
* Fix duplicate HLS resolution in master playlistChocobozzz2019-11-261-3/+1
|
* Add audio only transcoding testsChocobozzz2019-11-251-44/+11
|
* Add audio-only option to transcoders and playerfrankdelange2019-11-251-3/+43
| | | | | | | | 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-28/+63
| | | | In favour of HLS
* Fix audio merging when specifying a previewChocobozzz2019-10-181-6/+28
|
* Stronger model typingsChocobozzz2019-08-191-8/+8
|
* Fix HLS transcodingChocobozzz2019-08-011-1/+1
|
* Add audio support in uploadChocobozzz2019-05-161-24/+64
|
* transcode in STORAGE.TMP_DIR for s3fs compatibility (#147)libertysoft32019-05-161-6/+12
|
* Added comments for transcode functionsFelix Ableitner2019-05-131-0/+6
|
* fixed formatting, added test caseFelix Ableitner2019-05-041-1/+1
|
* Dont transcode videos when it is not required (fixes #1780)Felix Ableitner2019-05-041-3/+6
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+1
|
* Move config in its own fileChocobozzz2019-04-111-3/+4
|
* Fix HLS federationChocobozzz2019-04-081-1/+2
|
* Move video file import in its own fileChocobozzz2019-03-191-45/+4
|
* Rename streaming playlists routes/directoriesChocobozzz2019-03-181-3/+3
|
* Use a single file instead of segments for HLSChocobozzz2019-02-111-1/+4
|
* Add hls support on serverChocobozzz2019-02-111-6/+43
|
* Use move instead renameChocobozzz2018-12-111-2/+2
| | | | To avoid EXDEV errors
* Change a little bit optimize-old-videos logicChocobozzz2018-10-081-9/+5
|
* Set bitrate limits for transcoding (fixes #638) (#1135)Felix Ableitner2018-10-081-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Reduce video.ts file size by moving some methods in other filesChocobozzz2018-09-191-0/+130