Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ffmpeg source is 405 MB whereas fedora ffmpeg src is only 6.4 M
#1
http://rpmfind.net//linux/RPM/rpmfusion/...0.src.html

ffmpeg sources are just 6.4 MB

but ffmpeg sources at https://github.com/hrydgard/ppsspp-ffmpeg
is 405 mb uncompressed

and archive is 92 MB!!!
https://github.com/hrydgard/ppsspp-ffmpe...master.zip


I want to distribute sources in rpm file, but huge compressed sizes are really trouble some.

I'm having difficulty with huge size of ppsspp git folder with submodules, they add up to 312 MB even compressed.

Please advise how to reduce the source size?
Reply
#2
The repo you are looking at includes precompiled binaries for supported platforms, not just sources. It also includes some version history metadata (from git) which you are not accounting for in the rpm. They are completely different numbers.

If you need to redistribute Linux-only source archives, delete the iOS/Windows/Symbian/etc. .a/.lib files and such.

-[Unknown]
Reply
#3
3.4M android
2.6M assets
40K CMakeLists.txt
6.3M Core
1.1M ext
153M ffmpeg
6.1M flash0
1.4M GPU
6.3M native
71M pspautotests
4.0K README.md
3.4M UI

removed all .git folders inside ppsspp-git
rm -rf `find . -iname .git`

removed all *.a (static files)
rm -f `find . -iname *.a`

removed blackberry windows ios from ffmpeg

still I'm having 258 MB of source folder

Anyways the binary rpm is on 20MB, I think we should get the git while building rpm. I'll make other thread for that. thanks.
Reply
#4
(11-22-2013, 06:12 PM)fastrizwaan Wrote: removed all *.a (static files)
rm -f `find . -iname *.a`

removed blackberry windows ios from ffmpeg

still I'm having 258 MB of source folder
The Symbian ones are *.lib, which you may have missed. Also, delete symbian, linux, android and macosx folders.
Reply


Forum Jump: