Temat: ffmpeg+libx264+libffmpeg-full+libffmpeg-custom
Witam, walcze od tygodnia z routerem Dlinka DWR-118 A2 który od jakiegoś czasu jest wspierany przez openwrt. Próbuję skompilować pod niego firmware tak by mieć możliwość rejestracji strumienia RTSP na pendrive. Jedyne co mnie ogranicza to brak kodeka h264. W make menuconfig wybieram ffmpeg oraz libffmpeg-custom, wybieram interesujące mnie kodeki i niestety ale dostaję taki błą (nawet gdy nie wybieram żadnego kodeka dla libffmpeg-custom):
Collected errors:
* check_data_file_clashes: Package libffmpeg-custom wants to install file /home/epcadmin/git_dwr118/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavcodec.so.57
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-custom wants to install file /home/epcadmin/git_dwr118/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavcodec.so.57.64.101
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-custom wants to install file /home/epcadmin/git_dwr118/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavdevice.so.57
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-custom wants to install file /home/epcadmin/git_dwr118/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavdevice.so.57.1.100
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-custom wants to install file /home/epcadmin/git_dwr118/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavformat.so.57
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-custom wants to install file /home/epcadmin/git_dwr118/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavformat.so.57.56.101
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-custom wants to install file /home/epcadmin/git_dwr118/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavutil.so.55
But that file is already provided by package * libffmpeg-full
* check_data_file_clashes: Package libffmpeg-custom wants to install file /home/epcadmin/git_dwr118/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/usr/lib/libavutil.so.55.34.101
But that file is already provided by package * libffmpeg-full
* opkg_install_cmd: Cannot install package libffmpeg-custom.
package/Makefile:65: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 255
make[2]: Leaving directory '/home/epcadmin/git_dwr118/openwrt'
package/Makefile:104: recipe for target '/home/epcadmin/git_dwr118/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_install' failed
make[1]: *** [/home/epcadmin/git_dwr118/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/epcadmin/git_dwr118/openwrt'
/home/epcadmin/git_dwr118/openwrt/include/toplevel.mk:216: polecenia dla obiektu 'world' nie powiodły się
make: *** [world] Błąd 2
epcadmin@epcstream:~/git_dwr118/openwrt$ make menuconfig
configuration written to .config
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
Drugie pytanie to czy plik sysupgrade który po kompilacji ma 8.2MB uda mi się wrzucić do DWR-118 A2 ? Urządzenie pokazuje wielkość root-a na 7,8MB. Jeśli nie to co zrobić by obraz był mniejszy ?
Ostatnie pytanie, czy istnieje możliwość włączenia w konfigu kompilacji ffmpeg libx264 oraz enkoderów ? Nie wiem co zrobic by po kompilacji mieć w ffmpeg włączone te kodeki i funkcje.