弁財天
ゴフマン「専門家を信じるのではなく、自分自身で考えて判断せよ」
ゴフマン「専門家を信じるのではなく、自分自身で考えて判断せよ」
[00007fc6048d7c58] core playlist export error: could not create playlist file file:///home/hoge/hoge.xspf: No such file or directory
$ rpm -qa|grep vlc vlc-extras-3.0.0-0.16.fc25.x86_64 vlc-core-3.0.0-0.16.fc25.x86_64 vlc-3.0.0-0.16.fc25.x86_64 $しょーがないなー。ダウングレードしてみるか。
ffmpeg-2.8.11
./configure --prefix=/home/ugya/src/vlc --extra-cflags="-fPIC"
archlinux.orgの掲示板→[SOLVED] VLC will not start
vlc -vvで起動してログ出力を観察するのだとか。
vlc-2.2.6.tar.xz
configure: error: libavutil versions 55 and later are not supported.
ffmpeg.org→FFmpeg Releases
FFmpeg 3.0.8 "Einstein" libavutil 55.
FFmpeg 2.8.11 "Feynman" libavutil 54.
libavutil 54を使うためにFFmpeg 2.8.11が必要w。
codec/avcodec/video.c:237:23: エラー: 関数 ‘avcodec_alloc_frame’ の暗黙的な宣言です [-Werror=implicit-function-declaration] p_sys->p_ff_pic = avcodec_alloc_frame(); ^~~~~~~~~~~~~~~~~~~ codec/avcodec/video.c:237:21: 警告: 代入で整数からキャスト無しにポインタを作成しています [-Wint-conversion] p_sys->p_ff_pic = avcodec_alloc_frame(); ^ codec/avcodec/video.c:319:34: 警告: 互換性のないポインタ型からの代入です [-Wincompatible-pointer-types] p_sys->p_context->get_format = ffmpeg_GetFormat; ^ codec/avcodec/video.c:449:9: エラー: 関数 ‘avcodec_free_frame’ の暗黙的な宣言です [-Werror=implicit-function-declaration] avcodec_free_frame( &p_sys->p_ff_pic );
stackoverflow.com→Implicit function declarations in C
It should be considered an error. But C is an ancient language, so it's only a warning.stackoverflow.com→disable -Werror ini configure file
Compiling with -Werror (gcc) fixes this problem.
./configure --disable-werror
Fedora25のgcc6では無理。compat-gcc34でも低すぎ。compat-gcc44だな。
rpmfind.net→compat-gcc44
compat-gcc-44-4.4.7-8.el7.x86_64.rpm
videolan.orgのメーリングリストに→パッチ?
In file included from access/avio.c:36: access/../codec/avcodec/avcommon.h: 関数 ‘vlc_init_avformat’ 内: access/../codec/avcodec/avcommon.h:96: エラー: 関数 ‘vlc_init_avutil’ の暗黙的な宣言です access/avio.c: 関数 ‘UrlInterruptCallback’ 内: access/avio.c:73: 警告: ‘vlc_object_alive’ is deprecated (declared at ../include/vlc_objects.h:76) access/avio.c: 関数 ‘OpenAvio’ 内: access/avio.c:156: エラー: 関数 ‘vlc_av_get_options’ の暗黙的な宣言です access/avio.c:156: 警告: 型 ‘int’ の関数呼び出しから一致しない型 ‘struct AVDictionary *’ へのキャストです access/avio.c:156: 警告: 異なるサイズの整数からポインタへのキャストです access/avio.c: 関数 ‘OutOpenAvio’ 内: access/avio.c:243: 警告: 代入で整数からキャスト無しにポインタを作成しています Makefile:7856: ターゲット 'access/libavio_plugin_la-avio.lo' のレシピで失敗しました泥沼化w
結局のところ、以前導入した /usr/local/include下の ffmpeg-3.2.2 とffmpeg-2.8.11の環境が混ざっていたのが原因だった。orz.
しょーがないなー。ffmpeg-2.8.11 を /usr/local に導入w
もちろん docker環境なんてやらないw。
ffmpeg-2.8.11
#./configure --prefix=/home/hoge/src/vlc --extra-cflags="-fPIC" ./configure --extra-cflags="-fPIC"もちろん docker環境なんてやらないw。
vlc-2.2.6
#AVCODEC_CFLAGS="-I/home/hoge/src/vlc" #AVCODEC_LIBS="-L/home/hoge/src/vlc" #PKG_CONFIG_PATH=/home/hoge/src/vlc/lib/pkgconfig #export AVCODEC_CFLAGS AVCODEC_LIBS PKG_CONFIG_PATH # これはやめ。環境が混ざるw。 export CC=gcc44 export CFLAGS="-O -Wno-error" ./configure --disable-werrorでけた。
Jun 03 07:33:45 INFO Installed: lua-devel-5.3.4-3.fc25.x86_64 Jun 03 07:34:24 INFO Installed: libmad-devel-0.15.1b-20.fc25.x86_64 Jun 03 09:28:22 INFO Installed: liba52-devel-0.7.4-28.fc25.x86_64 Jun 03 09:29:08 INFO Installed: libgpg-error-devel-1.24-1.fc25.x86_64 Jun 03 09:29:08 INFO Installed: libgcrypt-devel-1.6.6-1.fc25.x86_64 Jun 03 10:29:41 INFO Installed: compat-gcc-34-3.4.6-41.fc25.x86_64
→shoutcast.comにブラウザでアクセスして、各局のダウンロードアイコンをクリック。Winamp(.pls)のアイコンをVLCにドラッグ&ドロップするとプレイリストに追加される。それをファイルに保存する。
JAZZ / FUSIONカテゴリの下に「Nonstop Casiopea」とかあるじゃまいかw
Bonaponta in Linux 2017年6月3日 午後 06:30 JST