Jump to content

martos

Members
  • Posts

    142
  • Joined

  • Last visited

Everything posted by martos

  1. gstreamer is more powerfull to transcode BUT i can't use it in my project. ( gui for transcode flux mpeg from enigma2 receiver or tvheahend with low bandwith to external device : my cell phone) And put an nvidia in a TV boxe is very hard. I try it with pc with nvidia and it's works perfectly in h264 and h265 , but the cost is not the same ... For the moement the best soc is Odroid MC1 solo and after s912 , this soc can make the transcode in software and it's works. My opinion is , for the moment, no HW codec ( no allwinner , no amlogic, no rockchip, no Exynos) can't works with transcode with ffmpeg , so i wait for it .
  2. Ok for the moment : I put corelec CoreELEC-S912.arm-8.95.0.img and ONLY if i put gxm_q200_k3_pro.dtb in dtb.img , i can have dvb device. ( i try a lot of dtb file) I install add-on : tvheadend, oscam , ffmpeg I don't use kodi ( the device have no hdmi connection , just used with lan ) I can see my channel in the lan with vlc ( the linux drivers of dvb is not so good than the drivers in android, but it's works ) I can make an transcode with ffmpeg ( HD 1920*1080 to 320*240 ) with ffmpeg ( in software with bandwith at 300K ) , the cpu S912 is enough ( not the S905 ) But this type of distrib is closed i can't install the Web Gui E Transcoder. So i must find how to find a armbian dtb who works with my device ( for the moment i can boot but no ethX lan and no dvb ) If you have some idea ...
  3. No news from the ffmpeg ticket, it could take 2 month before and dev read it ...
  4. With ggogle i see it's a S905x so use : Armbian is more a complet linux distribution ,if it's for video box use libreelec ...
  5. ok what i need : Armbian with kernel 3.14 ( for vpu + mali ) Works with ethx Dvb drivers works Tvheadend gstreamer aml NO kodi ffmpeg (with HW it could works ) I am out of the home for 5 days, so i tri it after
  6. Hello all, I buy an another box tv ( ... do not laugh please ... it's only my 3 .... ) A K3 pro with S912 aml soc ( 8 cores = 4c a53 at 1.5ghz plus 4c a53 core at 1 ghz, 3G Ram and 16 G Flash ) with a DVB T2 and DVB S2 tuner ( find promotion at 60 $ ) I play with android 7.1.1 and use ffmpeg , i make an transcode : ( French Channel M6 in DVB T2 in 1920x1080 ) ffmpeg -i http://192.168.1.50:8001/+1:0:19:401:4:20FA:EEEE0000:0:0:0 -s 320x240 /tmp/test.mp4 and speed ( without hardware decoder / encoder , only software ) give : Speed 1x !!! ( my other S905W with 4 cores in same test give Speed 0.65 ) So test last libreelec , crash at boot, some armbian lot of crash ( be carefull the dtb with K3 in the name could ne not the good because it's old version now use 201 ... more information after test ) So find a distrib with ethernet works make an ffmpeg compil test
  7. for wite img use https://etcher.io/ click select image, choose what you download. Choose sdram Click Write it After Power on without sdcard on android go to the good menu ( you can find it on some video or howto ) and lanch the aml script. poweroff put the sdcard in, power on. if needed (if it don't boot), in explorer go to sdcard in windows, go to dtb repertory , copy your dtb to the sdcard root (it depand of ypur device) and past it but rename in dtb.img
  8. I test : Armbian_5.55_Aml-s9xxx_Ubuntu_bionic_default_4.18.0-rc5_20180814.img.xz it works perfectly but it don't have the v4l2_m2m amlogic device ...
  9. Can we donate for this ? Paypal is more easy for me.
  10. I make a new install with new usb stick ( Transcend JetFlash 700 16GB ), Make all again, it's take less time ! so you need good usb stick. another news : ayufan have compiled a ffmpeg 3.4 with rkmpp ... so if you don't make compile you can just make apt install ffmpeg and you have a ffmpeg with Hardware Decode ... and gstreamer gstreamer1.0-rockchip1/bionic 1.10-5ayufan12 arm64 gstreamer1.0-rockchip1-extra/bionic 1.10-1 arm64 and kodi kodi/bionic 2:17.6+dfsg1-1ubuntu1 arm64 kodi-addons-dev/bionic 2:17.6+dfsg1-1ubuntu1 arm64 kodi-bin/bionic 2:17.6+dfsg1-1ubuntu1 arm64 kodi-data/bionic 2:17.6+dfsg1-1ubuntu1 all kodi-eventclients-common/bionic 2:17.6+dfsg1-1ubuntu1 all kodi-eventclients-dev/bionic 2:17.6+dfsg1-1ubuntu1 all kodi-eventclients-kodi-send/bionic 2:17.6+dfsg1-1ubuntu1 all kodi-eventclients-ps3/bionic 2:17.6+dfsg1-1ubuntu1 all kodi-eventclients-wiiremote/bionic 2:17.6+dfsg1-1ubuntu1 arm64 kodi-pvr-argustv/bionic 2.5.0+git20160923-3 arm64 kodi-pvr-dvbviewer/bionic 2.4.6+dfsg1-1 arm64 kodi-pvr-hdhomerun/bionic 2.4.2+git20160820-2build1 arm64 kodi-pvr-hts/bionic 3.4.13-1 arm64 kodi-pvr-iptvsimple/bionic 2.4.4+git20161211-1 arm64 kodi-pvr-mediaportal-tvserver/bionic 2.4.14+dfsg1-1build2 arm64 kodi-pvr-mythtv/bionic 4.12.12+dfsg1-1 arm64 kodi-pvr-nextpvr/bionic 2.4.7+git20161017-2 arm64 kodi-pvr-njoy/bionic 2.4.0+git20160518-2 arm64 kodi-pvr-vdr-vnsi/bionic 2.6.12-1 arm64 kodi-pvr-vuplus/bionic 2.4.12+dfsg1-1 arm64 kodi-pvr-wmc/bionic 1.4.4+git20160820-2 arm64 kodi-repository-kodi/bionic 2:17.6+dfsg1-1ubuntu1 all kodi-visualization-spectrum/bionic 1.1.1-1ubuntu2 arm64 libkodiplatform-dev/bionic 17.1.0-1 arm64 libkodiplatform16/bionic 17.1.0-1 arm64
  11. try with new usb stick , it's very better What i tested : Don't put the USB stick in the USB 3 ( blue ) : it 's not work in this position. when boot in usb stick: enable_dtoverlay eth1 ethernet@ff550000 okay after ifconfig eth1 up && dhclient test with ifconfig , now you see interface eth1 with your dhcp propertie ...
  12. I am a beginner so be carefull to my opinion I see Scishion V88 Piano and V88 Mini III TV boxes work on Kernel 4.4.132 Ubuntu 18.04.1 LTS with https://github.com/ayufan-rock64 ( we boot on sd and after we delete partion 6 and 7 boot on usb stick , because since version 0.5.15-136 it use SPL/TPL instead of Rockchip's loader, big thank's to segv ) This is RK3328 is low price ( begin at 35$ ) and looks like S905 ( same MALI-450MP2 and 4 Cortex-A53) BUT rockchip make mpp dev ... For other the RK3229 ( very low cost begin at 25 $ ) i don't see any linux booting well, does not support 10-bit HEVC, Mali-400 MP2 and 4 ARM Cortex-A7 ) The rk3399 the cost is more tahn 100$ and we have 6 core : 2 Cortex-A72 4 Cortex-A53 and Mali-T860 MP4. Better than the S912 but the cost is important. and the old RK3368, 8 cœurs ARM Cortex-A53 64 Bits, PowerVR SGX6110 but i don't see linux drivers on linux ... So my choice is for all RK3328 for start ... And if you want i can send you one.
  13. ok after open a ticket in mpp rockchip https://github.com/rockchip-linux/mpp/issues/49#issuecomment-412426759 with at the end the famous reply : "It is not us adding the support for ffmpeg." ok i open a ticket for ffmpeg https://trac.ffmpeg.org/ticket/7354#ticket wait and see ...
  14. works with copy : ffmpeg -hwaccel drm -hwaccel_device /dev/dri/card0 -c:v h264_rkmpp -i http://192.168.1.50:8001/+1:0:19:401:4:20FA:EEEE0000:0:0:0 -vcodec copy /tmp/test.mp4 so for kodi it's works but can't transcode ... If someone have an idea ...
  15. Source file :: https://download.blender.org/durian/movies/Sintel.2010.720p.mkv works with :: ffmpeg -hwaccel drm -hwaccel_device /dev/dri/card0 -c:v h264_rkmpp -i Sintel_Trailer.720p.DivX_Plus_HD.mkv -f null - -benchmark don't work with :: ffmpeg -hwaccel drm -hwaccel_device /dev/dri/card0 -c:v h264_rkmpp -i Sintel_Trailer.720p.DivX_Plus_HD.mkv /tmp/test.mkv error: [h264_rkmpp @ 0x55b3d47560] Decoder noticed an info change (1280x544), format=0 [h264_rkmpp @ 0x55b3d47560] Received a frame. [graph 0 input from stream 0:0 @ 0x55b3dd7190] Setting 'video_size' to value '1280x544' [graph 0 input from stream 0:0 @ 0x55b3dd7190] Setting 'pix_fmt' to value '181' [graph 0 input from stream 0:0 @ 0x55b3dd7190] Setting 'time_base' to value '1/1000' [graph 0 input from stream 0:0 @ 0x55b3dd7190] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 0x55b3dd7190] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x55b3dd7190] Setting 'frame_rate' to value '24/1' [graph 0 input from stream 0:0 @ 0x55b3dd7190] w:1280 h:544 pixfmt:drm_prime tb:1/1000 fr:24/1 sar:1/1 sws_param:flags=2 [format @ 0x55b3ea6c00] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21' [auto_scaler_0 @ 0x55b3de8940] Setting 'flags' to value 'bicubic' [auto_scaler_0 @ 0x55b3de8940] w:iw h:ih flags:'bicubic' interl:0 [format @ 0x55b3ea6c00] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format' Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented Error while processing the decoded data for stream #0:0 [AVIOContext @ 0x55b3d3ba40] Statistics: 0 seeks, 0 writeouts [libvorbis @ 0x55b3ea7f00] 39 frames left in the queue on closing [AVIOContext @ 0x55b3d08120] Statistics: 66889 bytes read, 4 seeks
  16. wotks with : ffmpeg -hwaccel drm -hwaccel_device /dev/dri/card0 -c:v h264_rkmpp -i Sintel_Trailer.720p.DivX_Plus_HD.mkv -f null - -benchmark result = frame= 431 fps=174 q=-0.0 Lsize=N/A time=00:00:18.21 bitrate=N/A speed=7.35x !!! speed=7.35x !!!
  17. I think we loose something , a reference somewhere ( avlibxxx ) . I see some guy with same trouble witout reply . In my opinion i could retry but with compiling librockchip-mpp-dev and, of course, no doc on this ... So i ask to the dev ...
  18. so test : Software transcoding /home/rock64/bin/ffmpeg -vcodec h264 -i http://192.168.1.50:8001/+1:0:19:401:4:20FA:EEEE0000:0:0:0 -s 320x240 /tmp/test.avi resut = frame= 507 fps= 16 q=8.6 Lsize= 1058kB time=00:00:22.40 bitrate= 386.8kbits/s dup=0 drop=6 speed=0.703x Hardware Transcoding (only decode ) /home/rock64/bin/ffmpeg -vcodec h264_rkmpp -i http://192.168.1.50:8001/+1:0:19:401:4:20FA:EEEE0000:0:0:0 -s 320x240 /tmp/test.avi error = 0 Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scaler_0' Error reinitializing filters! Failed to inject frame into filter network: Function not implemented tested with some otehr file with ame result OK, i must find ...
  19. compile OK Very slow with my usb stick ... (my sd is 3x more faster ) Now test !
  20. final : cd ~/ffmpeg_sources && \ wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && \ tar xjvf ffmpeg-snapshot.tar.bz2 && \ cd ffmpeg && \ PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \ --prefix="$HOME/ffmpeg_build" \ --pkg-config-flags="--static" \ --extra-cflags="-I$HOME/ffmpeg_build/include" \ --extra-ldflags="-L$HOME/ffmpeg_build/lib" \ --extra-libs="-lpthread -lm" \ --bindir="$HOME/bin" \ --enable-hardcoded-tables \ --enable-gpl \ --enable-libaom \ --enable-libass \ --enable-libfdk-aac \ --enable-libfreetype \ --enable-libmp3lame \ --enable-libopus \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-rkmpp \ --enable-version3 \ --enable-libdrm \ --enable-libx265 \ --enable-nonfree && \ PATH="$HOME/bin:$PATH" make -j4 && \ make install && \ hash -r now waiting ... it could be long ...
  21. first step cd ~/ mkdir -p ~/ffmpeg_sources ~/bin sudo apt-get update -qq && sudo apt-get -y install \ autoconf \ automake \ build-essential \ cmake \ git-core \ libass-dev \ libfreetype6-dev \ libsdl2-dev \ libtool \ libva-dev \ libvdpau-dev \ libvorbis-dev \ libxcb1-dev \ libxcb-shm0-dev \ libxcb-xfixes0-dev \ pkg-config \ texinfo \ wget \ zlib1g-dev \ yasm \ libx264-dev \ libx265-dev \ libnuma-dev \ libvpx-dev \ libfdk-aac-dev \ libmp3lame-dev \ libopus-dev \ mc \ locate cd ~/ffmpeg_sources && \ wget https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.bz2 && \ tar xjvf nasm-2.13.03.tar.bz2 && \ cd nasm-2.13.03 && \ ./autogen.sh && \ PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && \ make -j4 && \ make install the famous HW video decoder apt install librockchip-mpp-dev aom cd ~/ffmpeg_sources && \ git -C aom pull 2> /dev/null || git clone --depth 1 https://aomedia.googlesource.com/aom && \ mkdir aom_build && \ cd aom_build && \ PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED=off -DENABLE_NASM=on ../aom && \ PATH="$HOME/bin:$PATH" make -j4 && \ make install
  22. For install with etcher write sd card with xenial-minimal-rock64-0.5.15-136-arm64.img.xz (not other ) with etcher write usb stick bionic-minimal-rock64-0.7.9-1067-arm64.img.xz (or better ) boot on sd witout usb stick delete partition 6 and 7 , reboot with usb stick, activate eth1 ( all explain in the post off segv ) i continue ...
  23. Find solution : write in usb stick: bionic-minimal-rock64-0.7.9-1067-arm64.img.xz boot on sd with partion 6 and 7 deleted And ... Boot ok in 18.04.1 LTS
  24. ok i understand but with my device , i try with usb stick after delete partiton 6 and 7 (with your exact procedure ) but it don't boot ... ( i try 2 usb stick) So it can be my 2 usb stkick ? Do you knwo how to write flash directly ?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines