Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: ian57 on March 01, 2014, 09:57:39 AM
-
Hi,
I try to install ffmpeg on picore 5.2 but i get this error :
$ tce-load -wi ffmpeg
Downloading: jack-lib.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: jack-lib.tcz.md5.txt: No such file or directory
Error on jack-lib.tcz
An idea?
Yann
-
looks like it is missing from the repo.
-
Ok, but it can be dependency problem too. Perhaps it is replaced by the jack2 package ?
-
gstreamer/ffmpeg under rebuild, please waite a bit for the new pack. In the mean time you can remove jack-lib from the .dep
-
Ok thanks for the informations
I tried to remove the lib-jack line in .dep file, but it is re downloaded when i run tce-load -wi again.
I will try without w ;-)
Yann
-
Ok thanks for the informations
I tried to remove the lib-jack line in .dep file, but it is re downloaded when i run tce-load -wi again.
I will try without w ;-)
Yann
In the repo no change, so -iw will use the old .dep
-
Please try ffmpeg2.tcz
-
Ok I'll try this today, and come back to give feedback. Thanks a lot
-
everything is ok for installation, all dependancies are here, downloaded and installed... need now how to make ffplay work with frame buffer :-)
tc@tinytux:~$ tce-load -wi ffmpeg2
celt.tcz.dep OK
gnutls.tcz.dep OK
p11-kit.tcz.dep OK
jack2.tcz.dep OK
libavcodec2.tcz.dep OK
libtheora.tcz.dep OK
schroedinger.tcz.dep OK
twolame.tcz.dep OK
libavdevice2.tcz.dep OK
libavfilter2.tcz.dep OK
fontconfig.tcz.dep OK
harfbuzz.tcz.dep OK
cairo.tcz.dep OK
libass.tcz.dep OK
libavformat2.tcz.dep OK
libpostproc2.tcz.dep OK
libswresample2.tcz.dep OK
libswscale2.tcz.dep OK
libcaca.tcz.dep OK
Downloading: xvid.tcz
-
everything is ok for installation, all dependancies are here, downloaded and installed... need now how to make ffplay work with frame buffer :-)
What is the problem? ffplay is using SDL/Xorg/fbturbo out of box. Of course it is slow for movie playback in most cases, but there are slow resolution videos can be played, depending on codec.
-
In console i can't play video. :
$ ffplay test_video_cycles0001-0850.mp4
ffplay version 2.1.4 Copyright (c) 2003-2014 the FFmpeg developers
built on Mar 4 2014 00:33:56 with gcc 4.8.3 (piCore) 20131202 (prerelease)
configuration: --prefix=/usr/local --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-version3 --enable-fontconfig --enable-gnutls --enable-libmp3lame --enable-libass --enable-libcaca --enable-libcelt --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libwavpack --enable-libxvid --enable-openssl --enable-x11grab
libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Could not initialize SDL - Unable to open a console terminal
(Did you set the DISPLAY variable?)
Under X11 it's working but very slow.
With debian I use omxplayer which runs well in console mode (see https://www.youtube.com/watch?v=Ji912xM5OY0 the starting video ie played by omxplayer while the system is started)
-
Yes, it is slow but not on piCore but on other distros as well. omxplayer is an exception, it is not using the Linux video stack but deals hardware directly. So if you need video playback on the Rpi, use omxplayer.
Latest SDL2 can play hw accelerated video too, but ffmpeg works with SDL only, not SDL2.
SItuation will change only when hw accelerated video driver will be available for Xorg. Hopefully it will happen, as Broadcom announced to make the currently closed driver open source:
http://www.raspberrypi.org/archives/6299
-
ok thanks for all the informations. It explains everything. I need to compile omxplayer on picore to use it. I think there is no extension for now?
-
omxplayer is not in the repo.
-
Yes I checked that. No problem. I will try to build it.
-
Hi, Has anyone succeeded in getting omxplayer to run on PiCore?
Jodel