Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ffmpeg source is 405 MB whereas fedora ffmpeg src is only 6.4 M
11-22-2013, 05:20 PM (This post was last modified: 11-22-2013 05:21 PM by fastrizwaan.)
Post: #1
ffmpeg source is 405 MB whereas fedora ffmpeg src is only 6.4 M
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?
Find all posts by this user
Quote this message in a reply
11-22-2013, 05:34 PM
Post: #2
RE: ffmpeg source is 405 MB whereas fedora ffmpeg src is only 6.4 M
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]
Find all posts by this user
Quote this message in a reply
11-22-2013, 06:12 PM
Post: #3
RE: ffmpeg source is 405 MB whereas fedora ffmpeg src is only 6.4 M
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.
Find all posts by this user
Quote this message in a reply
11-23-2013, 02:23 AM
Post: #4
RE: ffmpeg source is 405 MB whereas fedora ffmpeg src is only 6.4 M
(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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: