Chocobozzz
ad3405d087
Improve 4K video quality after transcoding
2019-06-06 14:45:57 +02:00
Chocobozzz
536598cfaf
Add audio support in upload
2019-05-16 17:16:47 +02:00
Chocobozzz
1600235a2f
Merge remote-tracking branch 'origin/pr/1785' into develop
2019-05-16 08:58:39 +02:00
Felix Ableitner
7ed2c1a46f
fixed formatting, added test case
2019-05-04 13:06:43 +02:00
Felix Ableitner
5ba49f268d
Dont transcode videos when it is not required ( fixes #1780 )
2019-05-04 03:19:49 +02:00
Chocobozzz
2fb5b3a55a
Relax videos list thumbnail api join
2019-04-24 16:26:22 +02:00
Chocobozzz
6dd9de95df
Move config in its own file
2019-04-11 13:45:39 +02:00
Chocobozzz
14aed608f5
Copy video/audio codec for HLS
2019-04-08 10:03:23 +02:00
Chocobozzz
7f8f8bdb4a
HLS is only supported by ffmpeg 4
...
Because of c8f625f529
2019-02-12 11:14:36 +01:00
Chocobozzz
4c280004ce
Use a single file instead of segments for HLS
2019-02-11 09:13:02 +01:00
Chocobozzz
0920929696
Add hls support on server
2019-02-11 09:13:02 +01:00
Chocobozzz
ef04ae20fe
Prefer avg_frame_rate to fetch video FPS
2019-01-17 14:03:32 +01:00
Chocobozzz
9ecac97be0
Fix crash regarding video stream issue
2018-12-12 08:55:56 +01:00
Chocobozzz
64e3e27053
Fix broken audio with transcoding
2018-12-11 17:48:14 +01:00
Chocobozzz
d175a6f7ab
Cleanup tests imports
2018-11-19 17:08:18 +01:00
Rigel Kent
408f50ebc7
(ffmpeg) force pixel format yuv420p ( #1394 )
2018-11-12 15:43:51 +01:00
Chocobozzz
cdf4cb9eaf
Fix transcoding
2018-10-18 10:44:16 +02:00
Chocobozzz
28e51e831b
Oup's
2018-10-17 17:58:21 +02:00
Chocobozzz
0229b014e0
Fix tests
2018-10-17 13:10:58 +02:00
Felix Ableitner
bcf21a376f
Set keyframe interval for transcoding ( fixes #1147 ) ( #1231 )
...
* 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
2018-10-17 10:15:38 +02:00
Rigel Kent
e1d7b98bc7
fix automatic bitrate adjustment
...
The regression was introduced in
edb4ffc7e0
and forced a fixed bitrate per
resolution
2018-10-08 21:14:21 +02:00
Felix Ableitner
edb4ffc7e0
Set bitrate limits for transcoding ( fixes #638 ) ( #1135 )
...
* 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
2018-10-08 16:26:04 +02:00
Chocobozzz
e5565833f6
Improve redundancy: add 'min_lifetime' configuration
2018-09-24 13:38:39 +02:00
Chocobozzz
62689b942b
Correctly migrate to fs-extra
2018-08-27 16:23:34 +02:00
Chocobozzz
eed24d26db
Don't set a bitrate on unknown audio input
2018-08-14 15:53:06 +02:00
Chocobozzz
06215f15e0
Cleanup utils helper
2018-08-14 15:28:30 +02:00
Rigel Kent
7160878c4a
adding tests for audio conversions
2018-08-01 10:57:13 +02:00
Jorropo
991feec9a3
ffmpeg auto thread
...
Set thread count to 0 and ffmpeg will chose automaticaly
2018-08-01 10:57:13 +02:00
Rigel Kent
19ca8ca939
fixing tests to deal with new transcoding parameters
2018-08-01 10:57:13 +02:00
Jorropo
80bc88c133
Nice ffmpeg to 15 and 2
...
Niceness 15 for video conversionNiceness 2 for image generation
(niceness 2 doesn't make it slower, just don't block servers and other
app)
2018-08-01 10:57:13 +02:00
Rigel Kent
4a5ccac5f1
fixing audio getter when video has no audio
2018-08-01 10:57:13 +02:00
Rigel Kent
4176e227cb
Fixing #626 with ffmpeg's low default audio bitrate
2018-08-01 10:57:13 +02:00
Anton Latukha
602a81a213
(ffmpeg) B-adapt 1 and B-frames 16 ( #774 )
2018-07-10 00:27:59 +02:00
Chocobozzz
3a6f351b25
Handle higher FPS for high resolution (test)
2018-06-29 17:10:54 +02:00
Chocobozzz
d5b7d9110d
Fix error logging
2018-03-26 16:04:14 +02:00
Chocobozzz
747b29900d
Display ffmpeg output errors
2018-03-20 08:21:54 +01:00
Chocobozzz
a797728009
Fix video_share_url duplicate key in transcoding job
2018-03-19 15:22:18 +01:00
Chocobozzz
056aa7f2b4
Fix resolution for portrait videos
2018-02-27 15:57:43 +01:00
Chocobozzz
6fdc553adb
Don't fail on upload if we cannot generate thumbnail
2018-02-27 13:46:56 +01:00
Chocobozzz
266707202c
Keep ratio for thumbnails
2018-02-27 11:29:24 +01:00
Chocobozzz
73c695919c
Add 30 fps limit in transcoding
2018-02-26 11:08:38 +01:00
Chocobozzz
3fd3ab2d34
Move models to typescript-sequelize
2017-12-13 16:50:33 +01:00
Chocobozzz
8d468a16fd
Cleanup helpers
2017-11-27 19:40:53 +01:00
Chocobozzz
e4f97babf7
Begin activitypub
2017-11-27 19:40:51 +01:00
Chocobozzz
a6218a0b8f
Improve transcoding quality
...
I'm an idiot
2017-10-17 14:46:09 +02:00
Chocobozzz
164174a6ab
Use preview instead of thumbnail for oembed
2017-10-17 10:35:27 +02:00
Chocobozzz
14d3270f36
Change how we handle resolution
...
It was an enum before, now we just use video height
2017-10-09 11:17:36 +02:00