tag:blogger.com,1999:blog-6543032685005252098.post3940349574072385299..comments2023-04-10T16:06:22.597+02:00Comments on Long-Term Cache: ffmpeg with libfaac support on QNAP TS-419P II NASFrancois Aucamphttp://www.blogger.com/profile/14911107461161673991noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-6543032685005252098.post-36000829072302410832016-07-26T06:07:45.480+02:002016-07-26T06:07:45.480+02:00Thanks a bunch! Seems to have worked. :)Thanks a bunch! Seems to have worked. :)Anonymoushttps://www.blogger.com/profile/17033749223270781512noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-15347468889557806712015-09-06T16:36:33.494+02:002015-09-06T16:36:33.494+02:00I think that there is a typo. On step #9, line:
ta...I think that there is a typo. On step #9, line:<br />tar -xzvf vidcore-1.3.0.tar.gz<br /><br />should be this instead:<br />tar -xzvf xvidcore-1.3.0.tar.gzEric Floreshttps://www.blogger.com/profile/10462643807560934635noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-22959431790376056802015-08-31T12:10:19.116+02:002015-08-31T12:10:19.116+02:00Used this guide today for compiling ffmpeg on my Q...Used this guide today for compiling ffmpeg on my QNAP TS-870 Pro and it worked (mostly) -- had an issue compiling x264 as the x70 series is 64bit, so had to configure it using the following:<br /><br />CFLAGS="-march=i486 -Wall -O2 -fstrength-reduce -finline-functions -ffast-math -fomit-frame-pointer" ./configure --prefix=/opt --enable-shared --system-libx264 --disable-asm --host=i686-linux<br /><br />and also compiled using latest FFMPEG version available as of today (2.7.3), and it works beautifully!<br /><br />You can create a script to run via crontab to define the ldconfig settings on startup, just add the following lines to it:<br /><br />if ! grep -q /opt/lib /etc/ld.so.conf; then echo /opt/lib >> /etc/ld.so.conf; else echo no; fi<br />ldconfig<br /><br /><br />Thanks for the guide! :)<br /><br />ouijahttps://www.blogger.com/profile/12497611287302457312noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-48410697865164685672014-05-20T15:47:27.111+02:002014-05-20T15:47:27.111+02:00Thanks so much, what a great step-through. Much ap...Thanks so much, what a great step-through. Much appreciated.Jacqueline C Williamshttps://www.blogger.com/profile/16690845284498815979noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-63401095752430963252014-04-25T20:40:07.852+02:002014-04-25T20:40:07.852+02:00Great post! Only thing is that after a NAS reload ...Great post! Only thing is that after a NAS reload the config of /etc/ld.so.conf is reset. Any idea to make it permament?Anonymoushttps://www.blogger.com/profile/15681415719937833507noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-35735202069795851972014-04-10T17:20:31.474+02:002014-04-10T17:20:31.474+02:00Dude, thank you so much for posting this!Dude, thank you so much for posting this!NVhttps://www.blogger.com/profile/16840154937422579111noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-68636382267896243752014-02-17T17:08:58.318+02:002014-02-17T17:08:58.318+02:00A great tutorial, very helpful!! ThanksA great tutorial, very helpful!! ThanksOndra H.https://www.blogger.com/profile/08909348262192350548noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-61700599407096064042013-06-26T16:42:33.581+02:002013-06-26T16:42:33.581+02:00My Turbostation TS-212 converts with 0.9 kbit/s
Wh...My Turbostation TS-212 converts with 0.9 kbit/s<br />What am i doing wrong?<br /><br />log:<br />[/share/MD0_DATA/Multimedia/Movies/Umrechnen] # ffmpeg -i Argo.mkv -r 30 -ab 3><br />ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers<br /> built on Jun 25 2013 19:55:19 with gcc 4.2.3 (GCC)<br /> configuration: --prefix=/opt --enable-gpl --enable-nonfree --enable-bzlib --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --disable-asm --disable-debug<br /> libavutil 52. 18.100 / 52. 18.100<br /> libavcodec 54. 92.100 / 54. 92.100<br /> libavformat 54. 63.104 / 54. 63.104<br /> libavdevice 54. 3.103 / 54. 3.103<br /> libavfilter 3. 42.103 / 3. 42.103<br /> libswscale 2. 2.100 / 2. 2.100<br /> libswresample 0. 17.102 / 0. 17.102<br /> libpostproc 52. 2.100 / 52. 2.100<br />Input #0, matroska,webm, from 'Argo.mkv':<br /> Metadata:<br /> creation_time : 2013-03-09 15:34:08<br /> Duration: 02:09:35.68, start: 0.000000, bitrate: 13514 kb/s<br /> Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc<br /> Stream #0:1(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s<br /> Stream #0:2(ger): Subtitle: subrip (forced)<br />[libx264 @ 0xfa1ff0] using SAR=27/20<br />[libx264 @ 0xfa1ff0] using cpu capabilities: none!<br />[libx264 @ 0xfa1ff0] profile High, level 4.0<br />[libx264 @ 0xfa1ff0] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=30 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00<br />Output #0, mp4, to 'Argo.mp4':<br /> Metadata:<br /> encoder : Lavf54.63.104<br /> Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 27:20 DAR 12:5], q=-1--1, 15360 tbn, 30 tbc<br /> Stream #0:1(ger): Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, 5.1, s16, 320 kb/s<br />Stream mapping:<br /> Stream #0:0 -> #0:0 (h264 -> libx264)<br /> Stream #0:1 -> #0:1 (ac3 -> libfaac)<br />Press [q] to stop, [?] for help<br />frame= 11 fps=0.0 q=0.0 20000000000000000000000000000000size= 0kB time=00:00:00.41 bitrate= 0.9kbits/s dup=2 drop=0<br />Anonymoushttps://www.blogger.com/profile/07839150328356574981noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-34629719400739982272013-06-11T19:37:56.942+02:002013-06-11T19:37:56.942+02:00Thanks a lot for your help. I am still having issu...Thanks a lot for your help. I am still having issues. I followed your steps and re moved the -march and -mtune switches but i am receiving a different error message now. <br /><br />[/opt/build/faac-1.28] # CFLAGS="-Wall -O2 -fstrength-reduce -finline-functions -ffast-math -fomit-frame-pointer" ./configure --prefix=/opt --enable-static=no<br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking whether build environment is sane... yes<br />checking for gawk... gawk<br />checking whether make sets $(MAKE)... yes<br />checking for gcc... gcc<br />checking for C compiler default output file name... a.out<br />checking whether the C compiler works... yes<br />checking whether we are cross compiling... no<br />checking for suffix of executables...<br />checking for suffix of object files... o<br />checking whether we are using the GNU C compiler... yes<br />checking whether gcc accepts -g... yes<br />checking for gcc option to accept ISO C89... none needed<br />checking for style of include used by make... GNU<br />checking dependency style of gcc... gcc3<br />checking for g++... g++<br />checking whether we are using the GNU C++ compiler... yes<br />checking whether g++ accepts -g... yes<br />checking dependency style of g++... gcc3<br />checking build system type... x86_64-unknown-linux-gnu<br />checking host system type... x86_64-unknown-linux-gnu<br />checking for a sed that does not truncate output... /bin/sed<br />checking for grep that handles long lines and -e... configure: error: no accepta ble grep could be found in /bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local /sbin:/opt/bin:/opt/sbin:/usr/xpg4/bin<br />[/opt/build/faac-1.28] # make<br />make: *** No targets specified and no makefile found. Stop.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-64252020264864679772013-06-11T12:53:04.799+02:002013-06-11T12:53:04.799+02:00Thanks. Unfortunately it appears you are attemptin...Thanks. Unfortunately it appears you are attempting to use this guide to compile libfaac on a different QNAP model - yours uses a x86_64 CPU architecture. This guide is specifically tuned to compile these packages on an ARM-based CPU (specifically the QNAP 419P II); the instructions here will not work on your QNAP model.<br /><br />For the most part, however, it should be simpler on your QNAP. Remove all of the "-march", "-mtune" options from CFLAGS and remove the "--disable-asm" switches from x264 and ffmpeg's configure statements, and it should be OK.Francois Aucamphttps://www.blogger.com/profile/14911107461161673991noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-50981616097177223692013-06-11T07:49:40.257+02:002013-06-11T07:49:40.257+02:00http://speedy.sh/wEsTm/config.log
Thanks for your...http://speedy.sh/wEsTm/config.log<br /><br />Thanks for your prompt response. Before contacted you, i removed and installed gcc but that did not solve the problem. Please take a look at my config.log file and let me know when to proceed with the steps you provided above if necessary.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-56548623196138520642013-06-11T07:48:46.897+02:002013-06-11T07:48:46.897+02:00This comment has been removed by the author.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-25289352537239328532013-06-10T11:35:20.472+02:002013-06-10T11:35:20.472+02:00Also, during the above, please reinstall "bin...Also, during the above, please reinstall "binutils", i.e.:<br /><br />ipkg remove binutils<br />...[reboot]...<br />ipkg install binutilsFrancois Aucamphttps://www.blogger.com/profile/14911107461161673991noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-54608227479551808322013-06-10T11:29:28.158+02:002013-06-10T11:29:28.158+02:00I'll need to see the contents of your "co...I'll need to see the contents of your "config.log" file to be sure, but it looks like your build system (gcc, ld, etc) has been corrupted somehow.<br /><br />I'd start by removing the gcc and libstdc++ packages that you installed with ipkg, restarting the machine, and reinstalling them:<br />ipkg remove gcc<br />ipkg remove libstdc++<br />ipkg remove pkgconfig<br />ipkg remove coreutils<br /> ...[reboot]...<br />ipkg install gcc libstdc++ pkgconfig coreutils<br /><br />As I said though, we need a bit more information. Could you post the contents of your config.log file?Francois Aucamphttps://www.blogger.com/profile/14911107461161673991noreply@blogger.comtag:blogger.com,1999:blog-6543032685005252098.post-18767843341224056302013-06-10T03:48:36.644+02:002013-06-10T03:48:36.644+02:00Hey i am trying to follow your step but receiving ...Hey i am trying to follow your step but receiving the following error message. Can you help. Thanks<br /><br /><br />[/opt/build] # cd faac-1.28/<br />[/opt/build/faac-1.28] # CFLAGS="-march=armv5te -mtune=marvell-f -Wall -O2 -fstrength-reduce -finline-functions -ffast-math -fomit-frame-pointer" ./configure --prefix=/opt --enable-static=no<br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking whether build environment is sane... yes<br />checking for gawk... no<br />checking for mawk... no<br />checking for nawk... no<br />checking for awk... awk<br />checking whether make sets $(MAKE)... yes<br />checking for gcc... gcc<br />checking for C compiler default output file name...<br />configure: error: C compiler cannot create executables<br />See `config.log' for more details.<br />Anonymousnoreply@blogger.com