File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11## mpeg
22[ ![ Status] ( https://github.com/gen2brain/mpeg/actions/workflows/test.yml/badge.svg )] ( https://github.com/gen2brain/mpeg/actions )
33[ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/gen2brain/mpeg.svg )] ( https://pkg.go.dev/github.com/gen2brain/mpeg )
4- [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/gen2brain/mpeg?branch=main )] ( https://goreportcard.com/report/github.com/gen2brain/mpeg )
54
65` MPEG-1 ` Video decoder, ` MP2 ` Audio decoder and ` MPEG-PS ` Demuxer in pure Go.
76
@@ -36,6 +35,15 @@ ffmpeg -i input.mp4 -c:v mpeg1video -q:v 0 -c:a mp2 -format mpeg output.mpg
3635You can use ` -b:v ` to set a fixed bitrate instead; e.g. ` -b:v 2000k ` for 2000 kbit/s.
3736Refer to the [ FFmpeg documentation] ( https://ffmpeg.org/ffmpeg.html#Options ) for more details.
3837
38+ If you have FFmpeg compiled with ` libtwolame ` (An optimised MP2 encoder), you can use ` -c:a libtwolame -b:a 224k ` instead of ` -c:a mp2 ` .
39+
40+ If you just want to quickly test the library, try this file:
41+ [ https://gen2brain.github.io/mpeg/sintel.mpg ] ( https://gen2brain.github.io/mpeg/sintel.mpg )
42+
43+ ### Build tags
44+
45+ * ` noasm ` - do not use assembly optimizations
46+
3947### Credits
4048
4149* [ pl_mpeg] ( https://github.com/phoboslab/pl_mpeg ) by Dominic Szablewski.
You can’t perform that action at this time.
0 commit comments