freebsd 11 current desktop vlc gnome-commander wordpress video embed ffmpeg

Invalid video ID

Не устанавливается на freebsd 11 ?
Core dump?
vlc1

vlc mediaplayer собрать из портов и даже запустить (это относится к версии 2.1.5 или 2.1.4 и система
freebsd current или 10 или 11)
все хорошо устанавливается pkg add vlc ffmpeg libav gstreamer-plugins-all
но очень мало дополнений и не работает если root. а на сервере надо (ну и х а керы тоже может найдут чем заняться).
А не ставится есть другие варианты — тот что с gnome хорошо работает только там сетевых приблуд нет.


Build/Install for lang/gcc49 exiting due to signal
Build/Install for devel/gmake exiting due to signal
Build/Install for devel/glib20 exiting due to signal
Build/Install for devel/desktop-file-utils exiting due to signal
Build/Install for multimedia/vlc exiting due to signal
You can restart from the point of failure with this command line:
portmaster multimedia/vlc devel/desktop-file-utils devel/glib20 devel/gmake lang/gcc49 devel/gconf2 devel/gobject-introspection graphics/cairo graphics/libGL devel/libdevq graphics/libglapi devel/libgsf

-fno-strict-aliasing -Wall -I/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.4.4/src -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include
/usr/ports/www/nspluginwrapper/work/nspluginwrapper-1.4.4/src/rpc.c: In function

./t1-libav
avconv version 10.2, Copyright (c) 2000-2014 the Libav developers
built on Oct 4 2014 15:44:12 with FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Input #0, mpeg, from ‘MOV00B.mpg’:
Duration: 00:00:31.71, start: 0.227389, bitrate: 6461 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720×576 [SAR 64:45 DAR 16:9], max. 9600 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
: /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:780: Failed assertion: «((uintptr_t)ptr — ((uintptr_t)run + (uintptr_t)bin_info->reg0_offset)) % bin_info->reg_interval == 0»
Abort trap (core dumped)

librpcsvc.so.5 => /usr/lib/librpcsvc.so.5
librt.so.1 => /usr/lib/librt.so.1
libc++.so.1 => /usr/lib/libc++.so.1

Короче переходим обратна на винду все не работает а на винде все работает даже virtualdub c ffmpeg умельцы запускают. Правда говорят ее надо сносить 2 раза в неделю и по новой ставить, зато можно разобраться и стать программистом. А про вирусы вообще молчу.
Шутка или не, но попробовал на семерке — что то с программами этими проблем там нет, все запускается и работает и на youtube не надо загружать исходник ( я говорю про обработку видео не коммерческим софтом virtualdub k-lite mega codec pack vlc ffmpeg libav, и со старой кассеты видео считалось и с dv кассеты и mpg mpeg2 dat c камеры kodak и новейшее mp4 h264 если не h265 с планшета, ну надо обновить все plugin и не забывать включить filters например deinterlace).
А на юниксе.. исправляем и в wordpress все заработает (Video embed & Thumbnail generator).

ImageMagick pecl-imagick со 2 попытки поставились (это для красивых картинок превьюшек)

плагин — все по настройке здесь

проверка (в настройках плагина)

nice /usr/local/bin/ffmpeg -y -i «/usr/local/www/wordpress/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4» -acodec libfdk_aac -b:a 160k -s 1280×720 -vcodec libx264 -movflags faststart -level:v 30 -crf 21 -threads 2 «/usr/local/www/wordpress/wp-content/uploads/2014/10/sample-video-h264-720.mp4″

и ее результат——

[code language=»css»]
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 8 2014 09:57:00 with gcc 5.0.0 (FreeBSD Ports Collection) 20140921 (experimental)
configuration: —enable-libaacplus —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libass —enable-libcdio —enable-libcelt —enable-libfaac —enable-libfdk-aac —enable-ffserver —enable-fontconfig —enable-libfreetype —enable-frei0r —enable-gnutls —enable-libgsm —enable-iconv —enable-libmp3lame —enable-libbluray —enable-libv4l2 —enable-libmodplug —enable-openal —enable-libopencv —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-librtmp —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-vaapi —enable-vdpau —enable-libvorbis —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-libvpx —enable-libx264 —enable-libxvid —enable-x11grab —prefix=/usr/local —mandir=/usr/local/man —datadir=/usr/local/share/ffmpeg —enable-shared —enable-gpl —enable-postproc —enable-avfilter —enable-avresample —enable-pthreads —enable-memalign-hack —disable-libstagefright-h264 —disable-libutvideo —disable-libsoxr —cc=gcc5 —extra-cflags=’-I/usr/local/include/vorbis -I/usr/local/include’ —extra-ldflags=’-L/usr/local/lib ‘ —extra-libs=-pthread —disable-debug —disable-sse —disable-mmx —enable-nonfree —enable-version3
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘/usr/local/www/wordpress/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4’:
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.33.100
Duration: 00:00:01.02, start: 0.021333, bitrate: 123 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920×1080 [SAR 1:1 DAR 16:9], 109 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s (default)
Metadata:
handler_name : SoundHandler
No pixel format specified, yuv420p10le for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0x2c079810] using SAR=1/1
[libx264 @ 0x2c079810] frame MB size (80×45) > level limit (1620)
[libx264 @ 0x2c079810] DPB size (4 frames, 14400 mbs) > level limit (2 frames, 8100 mbs)
[libx264 @ 0x2c079810] MB rate (86313) > level limit (40500)
[libx264 @ 0x2c079810] using cpu capabilities: MMX2 SSE2Slow SSSE3 LZCNT SlowPalignr
[libx264 @ 0x2c079810] profile High 10, level 3.0, 4:2:0 10-bit
[libx264 @ 0x2c079810] 264 — core 136 — 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=2 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=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=81 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to ‘/usr/local/www/wordpress/wp-content/uploads/2014/10/sample-video-h264-720.mp4’:
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.48.100
Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p10le, 1280×720 [SAR 1:1 DAR 16:9], q=-1—1, 23.98 fps, 11988 tbn, 23.98 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc55.69.100 libx264
Stream #0:1(eng): Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 160 kb/s (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc55.69.100 libfdk_aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
frame= 2 fps=1.5 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=1 drop=0
frame= 5 fps=2.6 q=0.0 size= 0kB time=00:00:00.12 bitrate= 3.0kbits/s dup=1 drop=0
frame= 9 fps=3.5 q=0.0 size= 0kB time=00:00:00.29 bitrate= 1.3kbits/s dup=1 drop=0
[/code]

все в порядке кроме формата yuv420p10le про него дальше——

 

с ffmpeg вроде прошло — core dump вместо видео не создает
Интел opencv-core надо обновить через pkg ng , включить в опциях gstreamer-plugins-ffmpeg  и все aac faac  и потом пересобрать. (в настройке плагина для wordpress есть тест — вывод сообщений ffmpeg если что не хватает — будут там сообщения , ну или вручную попробовать в командной строке — дальше есть подсказака). Без командной строки все равно не обойтись — например видео склеить и чересстрочку убрать (deinterlace ) у vlc флажок есть а ffmpeg —

——————————————

http://ffmpeg.org/ffmpeg-filters.html

ffmpeg -filters |grep Deinterlace

TS. yadif V->V Deinterlace the input image.

ffmpeg -filters | grep deint

… kerndeint V->V Apply kernel deinterlacing to the input.
… mcdeint V->V Apply motion compensating deinterlacing.
T.. w3fdif V->V Apply Martin Weston three field deinterlace.

/usr/local/bin/ffmpeg -i «scene20090613-19.45.55.avi» -acodec libfdk_aac -b:a 1
60k -vcodec libx264 -vf ‘yadif’ -level:v 30 -crf 21 «scene20090613-19.45.55ff-y
adif-deinterlace.mp4″

или -vf ‘w3fdif’  можно и опции фильтра настроить

-vf ‘w3fdif=filter=complex:deint=all’  //пока только в ffmpeg

-pix_fmt yuv420p   (а то проиграется только новым VLC и Media Player Classic  и в настройках кодека x264 — uncheck —  hi10 profile IUV 10p)  Planar IUV 4:2:0 10-bit LE — если такой формат видео то или все зеленое будет или не проиграется, не поддерживает пока даже Мозилла и Хром.Incompatible pixel format ‘yuv420p’ for codec ‘libx264’, auto-selecting format ‘yuv420p10le’ — надо пересобрать multimedia/x264 без этой опции.

 

результат — deinterlace dv video -ok

(открыть линк в VLC или скачать и смотреть Media Player Classic новым — там нормальный цвет если поддерживается 10-bit yuv420p10le)

а это еще лучше (но перекодировался за 3 часа..) hi10p

вариант в старом формате (yuv420p)

а это без обработки

(chrome mozilla firefox и даже ie11 откроют это видео, почему то только через QuickTime plugin все зеленое . 10-bit hi10p не понимают пока.А нормально показывает — vlc mediaplayer он бесплатный и знает почти все форматы.)

Медиа -открыть урл — и вставить строчку со ссылкой на видео файл — даже закачивать не надо сорри икскузь ми машин апереводчик..

Download VLC mediaplayer if wrong video play or green colour (10-bit hi10p ?). Select Media-Open URL

without download file.  Or use K-Lite mega codec pack for windows7 & media player classic, Mozilla Firefox for windows/ linux/freebsd)

или надо 2 видео клипа в 1 соединить (как склеить видео avi mpeg mpg mkv и mp4)

Как соединить два MTS файла (SONY) через ffmpeg
05.03.2012
19:33
Раздел: Компьютер — Linux — Видео и аудио — FFmpeg
$ ffmpeg -i 1.MTS -acodec copy -vcodec copy -sn 1.mkv
$ ffmpeg -i 2.MTS -acodec copy -vcodec copy -sn 2.mkv
$ mkvmerge -o 12.mkv 1.mkv + 2.mkv                        // нужна отдельно программа

или (read manual читать инструкцию) возможно ли с помощью ffmpeg соединить два видеоролика? merge videofiles into one if the same codecs

* You can put many streams of the same type in the output:   // old version  ffmpeg

ffmpeg -i test1.avi -i test2.avi -vcodec copy -acodec copy -vcodec copy -acodec copy test12.avi -newvideo -newaudio
In addition to the first video and audio streams, the resulting output file test12.avi will contain the second video and the second audio stream found in the input streams list.
The «-newvideo», «-newaudio» and «-newsubtitle» options have to be specified immediately after the name of the output file to which you want to add them.

ffmpeg -i concat:»MOV00B.mpg|MOV00C.mpg» -vcodec copy -acodec copy «movbc.mpg»   //new version ok works (avi mpeg2 vob только т.к. соединяются файлы, точнее —

FFmpeg has a concat protocol designed specifically for that, with examples in the documentation.
A few multimedia containers (MPEG-1, MPEG-2 PS, DV) allow to concatenate video by merely concatenating the files containing them.
Hence you may concatenate your multimedia files by first transcoding them to these privileged formats, then using the humble cat command (or the equally humble copy under Windows), and finally transcoding back to your format of choice.

эти типы файлов — контейнеры видео- можно просто соединить 2 и больше в 1 — командой cat  1 2 >12 или  windows copy 1 + 2 12)

mp4     avi так же

ffmpeg -i q.mp4 -c copy -bsf h264_mp4toannexb q.ts
ffmpeg -i r.mp4 -c copy -bsf h264_mp4toannexb r.ts
ffmpeg -i "concat:q.ts|r.ts" -c copy -bsf aac_adtstoasc qr.mp4

flv

There is a file named input.txt
file '/home/1.flv'
file '/home/2.flv'

# there are two files in output.mp4
ffmpeg -f concat -i input.txt -c copy output.mp4

ссылка   и еще по русски

про  ключ -concat склейка двух видео в одно

фильтр если разные кодеки или  файлы не avi mpg mpeg vob mkv

добавка (сделать видео из фоток jpeg с изменением их размера, только поворачивать пока не может или я не знаю как + обработка видео с canon видеокамеры из mpeg2 в mp4 и склейка)

[code language=»shell»]

root@pc1:~/video/staritsa # 000000000000000000000000000
000000000000000000000000000: Command not found.

root@pc1:~/video/staritsa/1a # ffmpeg -framerate 1/3 -start_number 1429 -i IMG_%04d.JPG -c:v libx264 -vf fps=25 -vf scale=720:576 -pix_fmt yuv420p p1a.mp4
ffmpeg version 2.3.5 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 30 2014 11:05:51 with gcc 4.9.3 (FreeBSD Ports Collection) 20141217 (prerelease)
configuration: —enable-libaacplus —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libass —enable-libcdio —enable-libcelt —enable-libfaac —enable-libfdk-aac —enable-ffserver —enable-fontconfig —enable-libfreetype —enable-frei0r —enable-gnutls —enable-libgsm —enable-iconv —enable-libmp3lame —enable-libbluray —enable-libv4l2 —enable-libmodplug —enable-openal —enable-libopencv —enable-libopenjpeg —enable-openssl —enable-libopus —enable-libpulse —enable-librtmp —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-vaapi —enable-vdpau —enable-libvorbis —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-libvpx —enable-libx264 —enable-libx265 —enable-libxvid —enable-x11grab —prefix=/usr/local —mandir=/usr/local/man —datadir=/usr/local/share/ffmpeg —enable-shared —enable-gpl —enable-postproc —enable-avfilter —enable-avresample —enable-pthreads —enable-memalign-hack —disable-libstagefright-h264 —disable-libutvideo —disable-libsoxr —cc=gcc49 —extra-cflags=’-msse -I/usr/local/include/vorbis -I/usr/local/include’ —extra-ldflags=’-L/usr/local/lib ‘ —extra-libs=-pthread —disable-stripping —enable-nonfree —enable-version3
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from ‘IMG_%04d.JPG’:
Duration: 00:02:48.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg), 4272×2848, 0.33 tbr, 0.33 tbn, 0.33 tbc
[swscaler @ 0x816732020] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 0x813c83520] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 0x813c83520] profile High, level 2.2
[libx264 @ 0x813c83520] 264 — core 142 r2455 021c0dc — H.264/MPEG-4 AVC codec — Copyleft 2003-2014 — 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=3 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=1 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
Output #0, mp4, to ‘p1a.mp4’:
Metadata:
encoder : Lavf55.48.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720×576, q=-1—1, 0.33 fps, 16384 tbn, 0.33 tbc
Metadata:
encoder : Lavc55.69.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Press [q] to stop, [?] for help
Input stream #0:0 frame changed from size:4272×2848 fmt:yuvj422p to size:935×527 fmt:yuvj420p
[swscaler @ 0x816732020] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x8167a3020] deprecated pixel format used, make sure you did set range correctly
Input stream #0:0 frame changed from size:935×527 fmt:yuvj420p to size:4272×2848 fmt:yuvj422p
[swscaler @ 0x8167a3020] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x816732020] deprecated pixel format used, make sure you did set range correctly
frame= 50 fps=1.0 q=17.0 size= 214kB time=00:00:03.00 bitrate= 583.3kbits/frame= 51 fps=1.0 q=17.0 size= 277kB time=00:00:06.00 bitrate= 377.7kbits/frame= 52 fps=1.0 q=17.0 size= 334kB time=00:00:09.00 bitrate= 304.0kbits/frame= 53 fps=1.0 q=17.0 size= 388kB time=00:00:12.00 bitrate= 265.2kbits/frame= 54 fps=0.9 q=17.0 size= 447kB time=00:00:15.00 bitrate= 243.9kbits/frame= 55 fps=0.9 q=17.0 size= 504kB time=00:00:18.00 bitrate= 229.5kbits/frame= 56 fps=0.9 q=17.0 size= 549kB time=00:00:21.00 bitrate= 214.1kbits/frame= 56 fps=0.9 q=17.0 size= 549kB time=00:00:21.00 bitrate= 214.1kbits/frame= 56 fps=0.5 q=-1.0 Lsize= 3310kB time=00:02:42.00 bitrate= 167.4kbits/s
video:3309kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.032703%
[libx264 @ 0x813c83520] frame I:2 Avg QP:13.13 size: 87196
[libx264 @ 0x813c83520] frame P:54 Avg QP:14.38 size: 59499
[libx264 @ 0x813c83520] mb I I16..4: 8.5% 53.1% 38.4%
[libx264 @ 0x813c83520] mb P I16..4: 6.2% 59.3% 28.3% P16..4: 3.8% 1.5% 0.9% 0.0% 0.0% skip: 0.2%
[libx264 @ 0x813c83520] 8×8 transform intra:62.9% inter:73.9%
[libx264 @ 0x813c83520] coded y,uvDC,uvAC intra: 87.9% 83.9% 65.9% inter: 65.6% 79.9% 34.8%
[libx264 @ 0x813c83520] i16 v,h,dc,p: 15% 23% 6% 56%
[libx264 @ 0x813c83520] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 20% 22% 5% 6% 7% 6% 7% 9%
[libx264 @ 0x813c83520] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 18% 13% 7% 9% 11% 8% 9% 9%
[libx264 @ 0x813c83520] i8c dc,h,v,p: 48% 30% 17% 5%
[libx264 @ 0x813c83520] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x813c83520] ref P L0: 59.8% 2.2% 25.8% 12.2%
[libx264 @ 0x813c83520] kb/s:161.30

root@pc1:~/video/staritsa/3a # /usr/local/bin/ffmpeg -i concat:"11.mpg|12.mpg|13.mpg" -acodec libfdk_aac -b:a 160k -vcodec libx264 -vf ‘w3fdif’ -level:v 30 -crf 21 -movflags faststart -pix_fmt yuv420p -threads 2 "staritsa-lisi4ka-kamenolomnya-1.mp4"
ffmpeg version 2.3.5 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 30 2014 11:05:51 with gcc 4.9.3 (FreeBSD Ports Collection) 20141217 (prerelease)
configuration: —enable-libaacplus —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libass —enable-libcdio —enable-libcelt —enable-libfaac —enable-libfdk-aac —enable-ffserver —enable-fontconfig —enable-libfreetype —enable-frei0r —enable-gnutls —enable-libgsm —enable-iconv —enable-libmp3lame —enable-libbluray —enable-libv4l2 —enable-libmodplug —enable-openal —enable-libopencv —enable-libopenjpeg —enable-openssl —enable-libopus —enable-libpulse —enable-librtmp —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-vaapi —enable-vdpau —enable-libvorbis —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-libvpx —enable-libx264 —enable-libx265 —enable-libxvid —enable-x11grab —prefix=/usr/local —mandir=/usr/local/man —datadir=/usr/local/share/ffmpeg —enable-shared —enable-gpl —enable-postproc —enable-avfilter —enable-avresample —enable-pthreads —enable-memalign-hack —disable-libstagefright-h264 —disable-libutvideo —disable-libsoxr —cc=gcc49 —extra-cflags=’-msse -I/usr/local/include/vorbis -I/usr/local/include’ —extra-ldflags=’-L/usr/local/lib ‘ —extra-libs=-pthread —disable-stripping —enable-nonfree —enable-version3
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpeg, from ‘concat:11.mpg|12.mpg|13.mpg’:
Duration: 00:02:22.11, start: 0.227389, bitrate: 26021 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720×576 [SAR 64:45 DAR 16:9], max. 9600 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
[libx264 @ 0x813c9bf20] using SAR=64/45
[libx264 @ 0x813c9bf20] MB rate (81000) > level limit (40500)
[libx264 @ 0x813c9bf20] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 0x813c9bf20] profile High, level 3.0
[libx264 @ 0x813c9bf20] 264 — core 142 r2455 021c0dc — H.264/MPEG-4 AVC codec — Copyleft 2003-2014 — 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=2 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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=21.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to ‘staritsa-lisi4ka-kamenolomnya-1.mp4’:
Metadata:
encoder : Lavf55.48.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720×576 [SAR 64:45 DAR 16:9], q=-1—1, 50 fps, 12800 tbn, 50 tbc
Metadata:
encoder : Lavc55.69.100 libx264
Stream #0:1: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 160 kb/s
Metadata:
encoder : Lavc55.69.100 libfdk_aac
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
frame= 14 fps= 11 q=0.0 size= 0kB time=00:00:00.14 bitrate= 2.6kbits/sframe= 22 fps= 12 q=0.0 size= 0kB time=00:00:00.29 bitrate= 1.3kbits/sframe= 32 fps= 13 q=0.0 size= 0kB time=00:00:00.49 bitrate= 0.8kbits/sframe= 38 fps= 13 q=0.0 size= 0kB time=00:00:00.66 bitrate= 0.6kbits/sframe= 48 fps= 12 q=29.0 size= 37kB time=00:00:00.78 bitrate= 379.1kbits/frame= 48 fps=9.9 q=29.0 size= 37kB time=00:00:00.81 bitrate= 369.1kbits/frame= 52 fps=9.6 q=29.0 size= 73kB time=00:00:00.87 bitrate= 686.4kbits/frame= 52 fps=8.7 q=29.0 size= 73kB time=00:00:00.91 bitrate= 654.5kbits/frame= 56 fps=8.2 q=29.0 size= 113kB time=00:00:00.93 bitrate= 984.5kbits/frame= 56 fps=7.3 q=29.0 size= 113kB time=00:00:00.98 bitrate= 941.7kbits/frame= 58 fps=6.9 q=29.0 size= 133kB time=00:00:01.04 bitrate=1039.2kbits/frame= 62 fps=6.8 q=29.0 size= 196kB time=00:00:01.06 bitrate=1506.6kbits/frame= 62 fps=6.1 q=29.0 size= 196kB time=00:00:01.10 bitrate=1448.7kbits/frame= 64 fps=5.8 q=29.0 size= 229kB time=00:00:01.17 bitrate=1598.8kbits/frame= 66 fps=5.6 q=29.0 size= 261kB time=00:00:01.23 bitrate=1729.7kbits/frame= 68 fps=5.4 q=29.0 size= 300kB time=00:00:01.25 bitrate=1951.3kbits/frame= 72 fps=5.3 q=29.0 size= 380kB time=00:00:01.25 bitrate=2475.8kbits/frame= 72 fps=4.6 q=29.0 size= 380kB time=00:00:01.30 bitrate=2394.6kbits/frame= 74 fps=4.2 q=29.0 size= 422kB time=00:00:01.36 bitrate=2533.4kbits/frame= 78 fps=4.2 q=29.0 size= 495kB time=00:00:01.38 bitrate=2926.3kbits/frame= 78 fps=4.0 q=29.0 size= 495kB time=00:00:01.42 bitrate=2838.9kbits/frame= 80 fps=3.9 q=29.0 size= 530kB time=00:00:01.49 bitrate=2906.8kbits/frame= 84 fps=3.6 q=29.0 size= 598kB time=00:00:01.51 bitrate=3236.8kbits/frame= 84 fps=3.2 q=29.0 size= 598kB time=00:00:01.55 bitrate=3148.1kbits/frame= 88 fps=3.2 q=29.0 size= 674kB time=00:00:01.57 bitrate=3495.5kbits/

[/code]

———————————————

#pkg install -f opencv-core wordpress ffmpeg libav libsidplay portaudio2
//avconv все равно чаще кору создает //исправлено почти - ниже ссылка
..
#make CC=clang34 -C /usr/ports/multimedia/ffmpeg config clean deinstall reinstall clean
// options on all включить все
// use radeon kms xorg experimental 1.14, another Nvidia linux compat - ok vlc 2.15 works

а если что то не собирается — смотрю ошибки и какие зависимости, и может что в /usr/ports/UPDATING
все собралось.

————

# uname -a
FreeBSD pc 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r272776: Thu Oct 9 13:12:54 MSK 2014 root@pc:/usr/obj/usr/src/sys/KERN i386
#

===============

# ffmpeg -codecs | grep aac
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 8 2014 09:57:00 with gcc 5.0.0 (FreeBSD Ports Collection) 20140921 (experimental)
configuration: —enable-libaacplus —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libass —enable-libcdio —enable-libcelt —enable-libfaac —enable-libfdk-aac —enable-ffserver —enable-fontconfig —enable-libfreetype —enable-frei0r —enable-gnutls —enable-libgsm —enable-iconv —enable-libmp3lame —enable-libbluray —enable-libv4l2 —enable-libmodplug —enable-openal —enable-libopencv —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-librtmp —enable-libschroedinger —enable-libspeex —enable-libtheora —enable-vaapi —enable-vdpau —enable-libvorbis —enable-libvo-aacenc —enable-libvo-amrwbenc —enable-libvpx —enable-libx264 —enable-libxvid —enable-x11grab —prefix=/usr/local —mandir=/usr/local/man —datadir=/usr/local/share/ffmpeg —enable-shared —enable-gpl —enable-postproc —enable-avfilter —enable-avresample —enable-pthreads —enable-memalign-hack —disable-libstagefright-h264 —disable-libutvideo —disable-libsoxr —cc=gcc5 —extra-cflags=’-I/usr/local/include/vorbis -I/usr/local/include’ —extra-ldflags=’-L/usr/local/lib ‘ —extra-libs=-pthread —disable-debug —disable-sse —disable-mmx —enable-nonfree —enable-version3
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
DEA.L. aac AAC (Advanced Audio Coding) (decoders: aac libfdk_aac ) (encoders: aac libfaac libfdk_aac libvo_aacenc libaacplus )
D.A.L. aac_latm AAC LATM (Advanced Audio Coding LATM syntax)

==============
gnome-commander если очень нужен то .. через порт не ставится.
а вот так
(ну я не отвечаю за последствия..)… и даже без ошибок проходит как на linux

(можно загрузить здесь)
git clone git://git.gnome.org/gnome-commander
cd gnome-commander

./autogen.sh
env CC=gcc49 ./configure
gmake all CC=gcc49 -k MAKE_JOBS_UNSAFE=yes
make -k -j4 MAKE_JOBS_UNSAFE=yes CC=gcc49

make all -j4 -k MAKE_JOBS_UNSAFE=yes CC=gcc49 install

cd ..

ну так не надо — но если упорно не ставится..

pkg which /usr/local/include/png.h
/usr/local/include/png.h was installed by package png-1.5.18
# pkg which /usr/local/include/png.h
/usr/local/include/png.h was installed by package png-1.5.18
# where as
/usr/bin/as
# ln -s /usr/local/bin/as /usr/bin/as
ln: /usr/bin/as: File exists
# ln -s /usr/bin/as /usr/local/bin/as
# mc

# ln -s /usr/bin/ar /usr/local/bin/ar
# where ranlib
/usr/bin/ranlib
# ln -s /usr/bin/ranlib /usr/local/bin/ranlib
#

//# pkg install gcc49 gcc5 clang34 binutils //….

с vlc сложнее

pkg install sidplay libsidplay libsidplay2   // ставится но что то не то — что то не совпадает-  отключаю в скрипте конфигурации

root@pc2:/usr/ports/multimedia/vlc/work/vlc-2.1.5 # env CC=gcc5 ./compile
MAKE : compat
MAKE : doc
MAKE : po
MAKE : share
MAKE : src
if ! git
—git-dir=»../.git/» describe
—tags —long —match ‘?.*.*’ —always; then
fi > revision.tmp
fatal: Not a git repository: ‘../.git/’
if diff revision.tmp ./revision.txt >/dev/null 2>&1; then
else
mv -f — revision.tmp ./revision.txt;
fi
MAKE : modules
MAKE : access
MAKE : rtp
MAKE : audio_filter
MAKE : audio_mixer
MAKE : audio_output
MAKE : codec
MAKE : control
MAKE : demux
MAKE : gui
MAKE : macosx
MAKE : macosx_dialog_provider
MAKE : minimal_macosx
MAKE : qt4
MAKE : skins2
MAKE : meta_engine
MAKE : misc
MAKE : notify
MAKE : packetizer
MAKE : services_discovery
MAKE : stream_filter
MAKE : text_renderer
MAKE : video_chroma
MAKE : video_filter
MAKE : video_output
MAKE : visualization
MAKE : access_output
MAKE : mux
MAKE : stream_out
MAKE : mmx
MAKE : sse2
MAKE : lua
MAKE : .
MAKE : lib
MAKE : bin
if test «i386-portbld-freebsd11.0» = «i386-portbld-freebsd11.0»; then
./vlc-cache-gen ../modules ;
else
fi
gmake: *** [all] Ошибка 2

#pkg install lua51 lua52 qmake qt4-uic libffi mad
1181 0:39 ./configure —disable-lua —enable-run-as-root —disable-sid
1182 0:39 env CC=gcc5 ./configure —disable-lua —enable-run-as-root
1183 0:45 env CC=gcc5 ./compile
// was core dump 1-st time
1184 2:35 env CC=gcc5 gmake -k

//
1185 3:02 ./vlc
1186 3:03 ./svlc
1187 3:03 ./make-alias
1188 3:03 ./libtool
1189 3:03 ./rvlc

1196 3:04 ./vlc-cache-gen
1197 3:04 ./vlc
1198 3:04 ./vlc
1199 3:04 ./vlc

1204 3:05 ./vlc
1205 3:06 ./vlc
1206 3:07 ldd libvlc.so.9
1207 3:07 cd «`printf «%b» ‘�057usr�057ports�057multimedia�057vlc�057work�057vlc�0552�0561�0565�057lib�057�056libs’`»

1209 3:07 ldd vlc
1210 3:07 ldd vlc-cache-gen

1214 3:08 env CC=gcc5 gmake -k all install
//build modules ok
1217 10:52 ./vlc

1218 10:53 cd «`printf «%b» ‘�057usr�057ports�057multimedia�057vlc�057work’`»
1219 10:53 cd «`printf «%b» ‘�057usr�057ports�057multimedia�057vlc’`»
1220 10:53 cd «`printf «%b» ‘�057usr�057ports�057multimedia’`»
1221 10:53 cd «`printf «%b» ‘�057usr�057ports�057multimedia�057vlc’`»

1227 11:01 cd «`printf «%b» ‘�057root�057conf�055local�055imagick�055zenon’`»
ну точно вот после чего заработало (vlc 2.1.5 и 3.0 git с командной строки — там надо в одном файле .c
подправить вывод по ошибке — на freebsd)
——oOOOOOo———
поправочка на 23.12.14 Собралось. из gnome3. vlc-2.15_13,1 . надо

[code language=»shell» collapse=»true» highlight=»3″ padlinenumbers=»auto»]
make -C /usr/ports/multimedia/libdvdcss reinstall
pkg install -f multimedia/vlc accessibility/atk devel/gettext-runtime print/indexinfo devel/gettext-tools textproc/expat2 devel/glib20 converters/libiconv devel/gmake print/texinfo devel/gmake-lite lang/perl5.18 misc/help2man devel/p5-Locale-gettext devel/libffi devel/pcre devel/pkgconf lang/python27 devel/ncurses devel/readline devel/gobject-introspection devel/bison devel/m4 graphics/cairo graphics/libGL archivers/gtar devel/libdevq devel/makedepend devel/xorg-macros x11/xproto graphics/libdrm devel/libpciaccess misc/pciids devel/libpthread-stubs graphics/libglapi lang/python2 textproc/py-libxml2 devel/py-setuptools27 textproc/libxml2 x11/dri2proto x11/glproto x11/libX11 x11-fonts/xf86bigfontproto x11/bigreqsproto x11/inputproto x11/kbproto x11/libXau x11/libXdmcp x11/libxcb devel/libcheck textproc/libxslt security/libgcrypt security/libgpg-error x11/xcb-proto x11/xcmiscproto x11/xextproto x11/xtrans x11/libXdamage x11/damageproto x11/fixesproto x11/libXfixes x11/libXext x11/libxshmfence x11/presentproto x11/libXxf86vm x11/xf86vidmodeproto graphics/png devel/cmake devel/cmake-modules ftp/curl security/ca_root_nss security/libssh2 www/nghttp2 devel/jansson devel/libevent2 www/spdylay textproc/py-sphinx devel/py-Jinja2 devel/py-babel devel/py-pytz textproc/py-MarkupSafe textproc/py-docutils textproc/py-pygments print/freetype2 x11-fonts/fontconfig x11/libXrender x11/renderproto x11/pixman x11/xcb-util-renderutil x11/xcb-util archivers/minizip devel/autoconf devel/autoconf-wrapper devel/automake devel/automake-wrapper devel/libtool audio/faad audio/flac audio/libogg audio/jack audio/alsa-lib audio/celt audio/libsamplerate audio/libsndfile audio/libvorbis audio/portaudio databases/db6 misc/e2fsprogs-libuuid audio/liba52 audio/libcddb audio/libmad audio/libmodplug audio/libshout audio/speex multimedia/libtheora audio/musepack audio/opus audio/pulseaudio devel/dbus sysutils/gnome_subr x11/libICE x11/libSM devel/json-c devel/libltdl devel/orc math/fftw3 math/fftw3-float net/avahi-app databases/gdbm devel/dbus-glib devel/libdaemon textproc/intltool textproc/p5-XML-Parser sysutils/consolekit sysutils/polkit misc/gnomehier x11/libXtst x11/libXi x11/recordproto audio/taglib audio/twolame devel/desktop-file-utils devel/libgsf graphics/gdk-pixbuf2 graphics/jasper graphics/jpeg graphics/tiff graphics/jbigkit x11-toolkits/libXt devel/libnotify devel/libtar devel/libzvbi devel/libunicode devel/qt4-corelib devel/icu devel/qmake4 devel/qt4-moc devel/qt4-rcc devel/qt4-uic devel/sdl12 audio/esound audio/libaudiofile audio/nas devel/imake devel/gccmakedep devel/tradcpp x11/xorg-cf-files x11-toolkits/libXaw x11-toolkits/libXmu x11/libXp x11/printproto x11/libXpm devel/nasm graphics/aalib graphics/libGLU graphics/svgalib x11/libXrandr x11/randrproto devel/upnp dns/libidn graphics/goom graphics/gtk-update-icon-cache misc/hicolor-icon-theme misc/shared-mime-info x11-toolkits/pango print/harfbuzz graphics/graphite2 x11-fonts/encodings x11-fonts/bdftopcf x11-fonts/libXfont x11-fonts/fontsproto x11-fonts/libfontenc x11-fonts/font-util x11-fonts/mkfontscale x11-fonts/libXft x11-fonts/xorg-fonts-truetype x11-fonts/dejavu x11-fonts/mkfontdir x11-fonts/font-bh-ttf x11-fonts/font-misc-ethiopic x11-fonts/font-misc-meltho x11/libXcomposite x11/compositeproto x11/libXcursor x11/libXinerama x11/xineramaproto graphics/libcaca graphics/freeglut graphics/imlib2 audio/libid3tag graphics/giflib graphics/librsvg2 textproc/libcroco x11-themes/gtk-engines2 x11-toolkits/gtk20 lang/python print/cups-client graphics/sdl_image graphics/webp lang/lua52 multimedia/dirac multimedia/ffmpeg audio/faac multimedia/mp4v2 audio/fdk-aac audio/gsm audio/lame audio/libaacplus audio/openal-soft audio/opencore-amr audio/vo-aacenc audio/vo-amrwbenc devel/yasm graphics/frei0r graphics/opencv-core math/eigen3 graphics/openjpeg15 graphics/lcms2 multimedia/libass converters/enca converters/p5-Unicode-Map8 converters/p5-Unicode-String converters/recode converters/fribidi multimedia/libbluray multimedia/libaacs textproc/flex multimedia/librtmp multimedia/libv4l multimedia/v4l_compat multimedia/libva multimedia/libvdpau multimedia/libvpx shells/bash multimedia/libx264 multimedia/schroedinger multimedia/x265 multimedia/xvid security/gnutls security/libtasn1 security/nettle math/gmp security/p11-kit security/trousers sysutils/libcdio-paranoia sysutils/libcdio textproc/texi2html multimedia/libdca multimedia/libdvbpsi multimedia/libdvdnav multimedia/libdvdread multimedia/libkate multimedia/libmatroska textproc/libebml multimedia/libmpeg2 x11/libXv x11/videoproto multimedia/libmtp net/liveMedia net/samba-libsmbclient databases/tdb devel/talloc devel/tevent x11-toolkits/qt4-gui devel/xdg-utils x11/xprop x11/xset x11-fonts/libXfontcache x11-fonts/fontcacheproto x11/xcb-util-keysyms lang/gcc-ecj45 archivers/zip math/mpfr math/mpc
#
# заминка -из-за одного плагина как выяснилось
#make CC=clang34 CXX=clang++34 CPP=clang-cpp34 LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 build reinstall
вот теперь получилось: (все из gnome3 запускается gnome-terminal)
vlc-dependency.sh

#!/bin/sh
/usr/local/bin/gnome-terminal
#run under gnome3!
#python27

env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 CPP=clang-cpp34 CXX=clang++34 CC=clang34 portmaster -x gcc5 -x pkg -x gcc49 -x binutils libxml2 textproc/p5-XML-Parser textproc/p5-XML-NamespaceSupport textproc/p5-XML-SAX textproc/p5-XML-SAX-Base devel/gettext-runtime devel/gettext-tools textproc/expat2 devel/glib20 converters/libiconv devel/gmake print/texinfo devel/gmake-lite misc/help2man devel/p5-Locale-gettext devel/libffi devel/pcre devel/pkgconf devel/ncurses devel/readline devel/gobject-introspection devel/bison devel/m4 graphics/png devel/cmake devel/cmake-modules x11/xcb-util archivers/minizip devel/autoconf devel/autoconf-wrapper devel/automake devel/automake-wrapper devel/libtool net/liveMedia net/samba-libsmbclient databases/tdb devel/talloc devel/tevent x11-toolkits/qt4-gui devel/xdg-utils
make -C /usr/ports/devel/ORBit2 reinstall
make -C /usr/ports/graphics/aalib reinstall
make -C /usr/ports/accessibility/atk reinstall
make -C /usr/ports/net/avahi-app reinstall
make -C /usr/ports/devel/dbus reinstall
make -C /usr/ports/devel/desktop-file-utils reinstall
make -C /usr/ports/multimedia/dirac reinstall
make -C /usr/ports/audio/faad reinstall
make -C /usr/ports/multimedia/ffmpeg config clean reinstall
make -C /usr/ports/audio/flac reinstall
#make -C /usr/ports/audio/fluidsynth
make -C /usr/ports/x11-fonts/fontconfig reinstall
make -C /usr/ports/net/freerdp reinstall
make -C /usr/ports/print/freetype2 reinstall
make -C /usr/ports/converters/fribidi reinstall
make -C /usr/ports/lang/gcc49 build reinstall
make -C /usr/ports/devel/gconf2 reinstall
make -C /usr/ports/devel/gettext reinstall
make -C /usr/ports/devel/glib20 clean biuld reinstall
make -C /usr/ports/misc/gnome-mime-data reinstall
make -C /usr/ports/devel/gnome-vfs reinstall
make -C /usr/ports/misc/gnomehier reinstall
make -C /usr/ports/security/gnutls reinstall
make -C /usr/ports/graphics/goom reinstall
make -C /usr/ports/x11-toolkits/gtk20 reinstall
make -C /usr/ports/audio/jack reinstall
make -C /usr/ports/graphics/libGL reinstall
make -C /usr/ports/graphics/mesa-demos reinstall
make -C /usr/ports/devel/libIDL reinstall
make -C /usr/ports/x11/libXext reinstall
make -C /usr/ports/x11/libXinerama reinstall
make -C /usr/ports/x11/libXpm reinstall
make -C /usr/ports/audio/liba52 reinstall
make -C /usr/ports/multimedia/libass reinstall
make -C /usr/ports/multimedia/libbluray reinstall
make -C /usr/ports/graphics/libcaca reinstall
make -C /usr/ports/audio/libcddb reinstall
make -C /usr/ports/multimedia/libdca reinstall
make -C /usr/ports/multimedia/libdvbpsi reinstall
make -C /usr/ports/multimedia/libdvdnav reinstall
make -C /usr/ports/multimedia/libdvdread reinstall
make -C /usr/ports/security/libgcrypt reinstall
make -C /usr/ports/audio/libgme reinstall
make -C /usr/ports/devel/libgsf reinstall
make -C /usr/ports/dns/libidn reinstall
make -C /usr/ports/multimedia/libkate reinstall
make -C /usr/ports/audio/libmad reinstall
make -C /usr/ports/multimedia/libmatroska reinstall
make -C /usr/ports/audio/libmodplug reinstall
make -C /usr/ports/multimedia/libmpeg2 reinstall
make -C /usr/ports/multimedia/libmtp reinstall
make -C /usr/ports/devel/libnotify reinstall
make -C /usr/ports/audio/libogg reinstall
make -C /usr/ports/graphics/librsvg2 reinstall
make -C /usr/ports/audio/libsamplerate reinstall
make -C /usr/ports/audio/libshout reinstall
make -C /usr/ports/audio/libsidplay2 reinstall
make -C /usr/ports/security/libssh2 reinstall
make -C /usr/ports/devel/libtar reinstall
make -C /usr/ports/multimedia/libtheora reinstall
make -C /usr/ports/multimedia/libv4l reinstall
make -C /usr/ports/multimedia/libva reinstall
make -C /usr/ports/multimedia/libvdpau reinstall
make -C /usr/ports/audio/libvorbis reinstall
make -C /usr/ports/x11/libxcb reinstall
make -C /usr/ports/textproc/libxml2 reinstall
make -C /usr/ports/devel/libzvbi reinstall
make -C /usr/ports/comms/lirc reinstall
make -C /usr/ports/net/liveMedia reinstall
#live555 git..
make -C /usr/ports/lang/lua52 reinstall
make -C /usr/ports/archivers/minizip reinstall
make -C /usr/ports/audio/musepack reinstall
make -C /usr/ports/audio/opus reinstall
make -C /usr/ports/x11-toolkits/pango reinstall
make -C /usr/ports/devel/pcre reinstall
make -C /usr/ports/graphics/png reinstall
make -C /usr/ports/audio/pulseaudio reinstall
#pkg install -y -f qt4-corelib
make -C /usr/ports/devel/qt4-corelib reinstall
make -C /usr/ports/x11-toolkits/qt4-gui reinstall
make -C /usr/ports/net/samba-libsmbclient reinstall
make -C /usr/ports/multimedia/schroedinger reinstall
make -C /usr/ports/devel/sdl12 reinstall
make -C /usr/ports/graphics/sdl_image reinstall
make -C /usr/ports/audio/speex reinstall
make -C /usr/ports/audio/taglib reinstall
make -C /usr/ports/audio/twolame reinstall
make -C /usr/ports/devel/upnp reinstall
make -C /usr/ports/multimedia/x264 config reinstall
make -C /usr/ports/x11/xcb-util-keysyms reinstall
make -C /usr/ports/x11/xproto reinstall
cp ~/Make-vlc /usr/ports/multimedia/vlc/Makefile
env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 CPP=clang-cpp34 CXX=clang++34 CC=clang34 make CPP=clang-cpp34 CXX=clang++34 CC=clang34 multimedia/vlc build
# core dump (vlc-cache-gen) it needs vlc libraries
cd /usr/ports/multimedia/vlc/work/vlc-2.1.5
#pre-install lib vlc..so relink libs modules
env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 CPP=clang-cpp34 CXX=clang++34 CC=clang34 gmake -k all
env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 CPP=clang-cpp34 CXX=clang++34 CC=clang34 gmake -k install
# if made bboo booo .. core dump ..rebuild all again…
./bin/vlc-cache-gen
#
env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 CPP=clang-cpp34 CXX=clang++34 CC=clang34 ./compile
##!! edit vlc/work/vlc-2.1.5/Makefile vlc/work/vlc-2.1.5/bin/Makefile — near line at "tail" ##vlc-cache-gen ../modules
##!! a little hack — edit " if $host = $build " —>> change to $build != $host
env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 CPP=clang-cpp34 CXX=clang++34 CC=clang34 ./compile
cd /usr/ports/multimedia/vlc
chmod -R 777 /usr/local/lib/vlc/plugins
chmod -R 1777 ./work/stage
env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 CPP=clang-cpp34 CXX=clang++34 CC=clang34 make
env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0.4200.1 CPP=clang-cpp34 CXX=clang++34 CC=clang34 make reinstall
#relink all modules again
## see dependency while install ? if fail — see why
# freebsd 64 — was errors — core dump vlc-cache-gen (remove this files -all ok)
#plugins/demux/libmkv_plugin.so

# Лог команды установки (Makefile edit — was error in libmkv or matroska plugin)
# use clang34

gmake[6]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/lib’
Making install in bin
gmake[6]: Entering directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/bin’
gmake[7]: Entering directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/bin’
/bin/mkdir -p ‘/usr/ports/multimedia/vlc/work/stage/usr/local/bin’
STRIPPROG=’strip’ ../doltlibtool —mode=install /bin/sh /usr/ports/multimedia/vlc/work/vlc-2.1.5/autotools/install-sh -c -s vlc vlc-wrapper ‘/usr/ports/multimedia/vlc/work/stage/usr/local/bin’
libtool: install: /bin/sh /usr/ports/multimedia/vlc/work/vlc-2.1.5/autotools/install-sh -c -s .libs/vlc /usr/ports/multimedia/vlc/work/stage/usr/local/bin/vlc
libtool: install: /bin/sh /usr/ports/multimedia/vlc/work/vlc-2.1.5/autotools/install-sh -c -s vlc-wrapper /usr/ports/multimedia/vlc/work/stage/usr/local/bin/vlc-wrapper
/bin/mkdir -p ‘/usr/ports/multimedia/vlc/work/stage/usr/local/lib/vlc’
STRIPPROG=’strip’ ../doltlibtool —mode=install /bin/sh /usr/ports/multimedia/vlc/work/vlc-2.1.5/autotools/install-sh -c -s vlc-cache-gen ‘/usr/ports/multimedia/vlc/work/stage/usr/local/lib/vlc’
libtool: install: /bin/sh /usr/ports/multimedia/vlc/work/vlc-2.1.5/autotools/install-sh -c -s .libs/vlc-cache-gen /usr/ports/multimedia/vlc/work/stage/usr/local/lib/vlc/vlc-cache-gen
gmake[7]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/bin’
gmake[6]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/bin’
Making install in test
gmake[6]: Entering directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/test’
gmake[7]: Entering directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/test’
gmake[7]: Nothing to be done for ‘install-exec-am’.
gmake[7]: Nothing to be done for ‘install-data-am’.
gmake[7]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/test’
gmake[6]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5/test’
gmake[6]: Entering directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
gmake[7]: Entering directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
/bin/mkdir -p ‘/usr/ports/multimedia/vlc/work/stage/usr/local/bin’
install -o root -g wheel -m 555 cvlc rvlc qvlc svlc nvlc ‘/usr/ports/multimedia/vlc/work/stage/usr/local/bin’
gmake install-exec-hook
gmake[8]: Entering directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
if test "amd64-portbld-freebsd11.0" != "amd64-portbld-freebsd11.0"; then
PATH="/usr/ports/multimedia/vlc/work/stage/usr/local/bin:$PATH"
LD_LIBRARY_PATH="/usr/ports/multimedia/vlc/work/stage/usr/local/lib:$LD_LIBRARY_PATH"
## #"/usr/ports/multimedia/vlc/work/stage/usr/local/lib/vlc/vlc-cache-gen"
#"/usr/ports/multimedia/vlc/work/stage/usr/local/lib/vlc/plugins" ;
else
echo "Cross-compilation: cache generation skipped!" ;
fi
Cross-compilation: cache generation skipped!
gmake[8]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
gmake[7]: Nothing to be done for ‘install-data-am’.
gmake[7]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
gmake[6]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
gmake[5]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
gmake[4]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
gmake[3]: Leaving directory ‘/usr/ports/multimedia/vlc/work/vlc-2.1.5’
====> Compressing man pages (compress-man)
===> Installing for vlc-2.1.5_14,4
===> Registering installation for vlc-2.1.5_14,4
Installing vlc-2.1.5_14,4…
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/lib/libvlccore.so.7.0.0
/usr/local/lib/vlc/plugins/control/libnetsync_plugin.so

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type ‘make deinstall’
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://www.videolan.org/

root@pc1:/usr/ports/multimedia/vlc # pkg create -o ~ vlc
Creating package for vlc-2.1.5_14,4

[/code]

Работает версия новая 2.1.5_14 (и к Рождеству запустилась)
vlc-2-1-5
———————-

[code language=»shell» collapse=»false» highlight=»3, 7″ padlinenumbers=»auto»]
root@pc7:/usr/ports/multimedia/vlc # make CC=clang34 CXX=clang++34 CPP=clang-cpp34 LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 build
1475 17:29 make -C /usr/ports/devel/glib20 clean reinstall clean
1476 17:47 make -C /usr/ports/devel/glib20 clean reinstall clean
cd work/vlc-2.1.5
./configure —help
1477 17:47 ./bootstrap
1478 17:51 ./configure CC=clang34 CXX=clang++34 CPP=clang-cpp34 —enable-run-as-root —disable-lua —disable-alsa —disable-v4l2 —disable-freerdp —disable-sid
# это почти без плагинов (то что Авто — в помощи по конфигурации — ставятся mp3 mp4 flv mpg играет)

gmake -k CC=clang34 CXX=clang++34 CPP=clang-cpp34 LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 all
# gmake -k CC=clang34 CXX=clang++34 CPP=clang-cpp34 LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 ./compile
# (perl)
# удалить старый каталог плагинов rm -rf /usr/local/lib/vlc/plugins
#env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 ./bin/vlc-cache-gen -f /usr/local/lib/vlc/plugins
// или без установки ./bin/vlc-cache-gen -f /modules
# gmake install //не обязательно
997 22:33 ./vlc
1002 16:15 cpan Net::DBus
1004 16:18 cpan Net::SSLeay
1005 16:21 cpan Net::SNMP
1007 17:08 cpan Net::DBus
1008 17:09 cpan IO::Tty
1009 18:37 h 60

# env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 ./bin/vlc-cache-gen -f ./modules

# env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 gmake all install

# ./vlc
VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5)
[0x802a199d0] main demux meta error: corrupt module: /usr/ports/multimedia/vlc/work/vlc-2.1.5/modules/lua/.libs/liblua_plugin.so
[0x802935050] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x802847150] main libvlc: Запуск vlc с интерфейсом…
[0x802a8bd50] main generic error: corrupt module: /usr/ports/multimedia/vlc/work/vlc-2.1.5/modules/lua/.libs/liblua_plugin.so
//отключил а он в каталоге остался можно вкл но надо к luac lua52 указать пути
// еще одна причина что может в кору свалиться — испорченные или неправильно собраные модули
[0x802af32f0] qt4 interface error: Unable to load extensions module
root@pc7:/usr/ports/multimedia/vlc/work/vlc-2.1.5 #

[/code]

проверяю сейчас ускорение видео vdpau -даже работает, ноутбук eeepc radeon r600 как настроить kms — полно инструкций, просто подгрузить 11 версию head (git clone…. /usr/src) и пересобрать ядро kernel world mesa mesa 10 graphics/libosmesa mesa-demos #svn co —non-interactive https://trillian.chruetertee.ch/svn/port
s/trunk/ make.conf WITH_NEW_XORG=yes
WITH_KMS=»YES»
WITH_GALLIUM=yes
WITH_NEW_MESA=yes
проверяется игрушкой (3d hardware)- если 1-2 кадра в секунду то неправильно (вкл swrast) если 150-200 то все работает (собирается только clang 3.3 3.4)
или mesa-demos glxgears на плате nvidia с фирменным proprientary drv 9700 fps
на radeon 600 eee pc это ноутбук ! > 200 если не проверяется vsync

[code language=»shell»]
# vdpauinfo
display: :0.0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name width height types
——————————————-
420 16384 16384 NV12 YV12
422 16384 16384 UYVY YUYV
444 16384 16384 Y8U8V8A8 V8U8Y8A8

Decoder capabilities:

name level macbs width height
——————————————-
MPEG1 0 1048576 16384 16384
MPEG2_SIMPLE 3 1048576 16384 16384
MPEG2_MAIN 3 1048576 16384 16384

Output surface:

name width height nat types
—————————————————-
B8G8R8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R8G8B8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R10G10B10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
B10G10R10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name width height
——————————
B8G8R8A8 16384 16384
R8G8B8A8 16384 16384
R10G10B10A2 16384 16384
B10G10R10A2 16384 16384
A8 16384 16384

Video mixer:

feature name sup
————————————
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL —
INVERSE_TELECINE —
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY —
HIGH QUALITY SCALING — L1 —
HIGH QUALITY SCALING — L2 —
HIGH QUALITY SCALING — L3 —
HIGH QUALITY SCALING — L4 —
HIGH QUALITY SCALING — L5 —
HIGH QUALITY SCALING — L6 —
HIGH QUALITY SCALING — L7 —
HIGH QUALITY SCALING — L8 —
HIGH QUALITY SCALING — L9 —

parameter name sup min max
——————————————————
VIDEO_SURFACE_WIDTH y 48 16384
VIDEO_SURFACE_HEIGHT y 48 16384
CHROMA_TYPE y
LAYERS y 0 4

attribute name sup min max
——————————————————
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y

#
[/code]

видео ускорение только mpeg2, с mp4 если больше 320 на 200 сразу жуткие тормоза на ноутбуке (vdpau
включается только если mpeg2 640 или 320 или 720 на 576 — сверху расписано — Понимает! 10 bit но даже обычный файл 720 -576 — 8 бит цвета проигрывается 2-3 секунды и виснет, в ошибках что то про буферы vdpau) .. вроде пока не доделано ускорение, в 3 версии вроде заработает.

!! Дополнение 2.1.5 работает VDPAU ! radeon r600 eee pc 1015 //kms ati drv 7.2.0 libGL dri mesa10

на этом ЭТОМ файле -перекодированном vlc (use VLC to transcode flv to mpeg2 ts)

[code language=»css»]
[flv @ 0x28a7ee10] Stream discovered after head already parsed
[0x30a741f0] main vout display error: Failed to resize display
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x30a741f0] main vout display error: Failed to resize display
[0x309e5e30] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer
[0x30a741f0] main vout display error: Failed to resize display
[flv @ 0x309b0c10] Stream discovered after head already parsed
[0x28a31eb0] main demux error: corrupt module: /usr/local/lib/vlc/plugins/access/liblive555_plugin.so
[flv @ 0x28a7ee10] Stream discovered after head already parsed
[NULL @ 0x30a38010] ignoring invalid SAR: 0/0
[0x28af54b0] main demux error: corrupt module: /usr/local/lib/vlc/plugins/access/liblive555_plugin.so
[0x2899b8b0] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x34ba8db0] main vout display error: Failed to resize display
[/code]

в окошке сообщений vlc можно вкл. отладку vlc messages window — show all events for debug
VDPAU works for mpeg2 ts only, 8 or 10 bit colors (Radeon r600)

[code language=»css»]
ts debug: libdvbpsi debug (PAT decoder): Table version 29, i_extension 48668, section 0 up to 0, current 1
ts debug: libdvbpsi debug (PAT decoder): ignoring already decoded section 0
ts debug: libdvbpsi debug (PMT decoder): Table version 19, i_extension 1, section 0 up to 0, current 1
ts debug: libdvbpsi debug (PMT decoder): ignoring already decoded section 0
main debug: Buffering 85%
main debug: Buffering 92%
ts debug: libdvbpsi debug (PAT decoder): Table version 29, i_extension 48668, section 0 up to 0, current 1
ts debug: libdvbpsi debug (PAT decoder): ignoring already decoded section 0
ts debug: libdvbpsi debug (PMT decoder): Table version 19, i_extension 1, section 0 up to 0, current 1
ts debug: libdvbpsi debug (PMT decoder): ignoring already decoded section 0
main debug: Buffering 99%
main debug: Stream buffering done (1062 ms in 11 ms)
pulse debug: changed buffer metrics: maxlength=4194304, tlength=60992, prebuf=0, minreq=14112
pulse debug: connected to sink oss_output.dsp1
main debug: output ‘f32l’ 44100 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio volume module matching "any": 2 candidates
main debug: using audio volume module "float_mixer"
main debug: input ‘mpga’ 44100 Hz Stereo frame=1152 samples/1262 bytes
main debug: looking for audio filter module matching "scaletempo": 14 candidates
scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: ‘mpga’->’f32l’ 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio converter module matching "any": 12 candidates
main debug: no audio converter modules matched
main debug: looking for audio converter module matching "any": 12 candidates
mpgatofixed32 debug: mpga->f32l, bits per sample: 32
main debug: using audio converter module "mpgatofixed32"
main debug: conversion pipeline complete
main debug: conversion: ‘f32l’->’f32l’ 44100 Hz->44100 Hz Stereo->Stereo
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 3 candidates
main debug: using audio resampler module "samplerate"
main debug: End of audio preroll
pulse debug: base volume: 65536
pulse debug: changing sink 1: oss_output.dsp1 (/dev/dsp1)
vdpau debug: video surface supported maximum: YUV 4:2:0 16384×16384
vdpau debug: decoding profile supported maximum: 2.3 mb 1048576, 16384×16384
main debug: using hw decoder module "vdpau"
avcodec debug: Available decoder output format 16 (xvmcidct)
avcodec debug: Available decoder output format 38 (vdpau_mpeg2)
avcodec debug: Available decoder output format 109 (vdpau)
avcodec info: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding.
main debug: looking for text renderer module matching "any": 3 candidates
freetype debug: Building font databases.
freetype debug: Took 0 microseconds
freetype debug: Using DejaVu Sans as font from file /usr/local/lib/X11/fonts/dejavu/DejaVuSans.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: looking for video filter2 module matching "any": 54 candidates
swscale debug: 32×32 chroma: YUVA -> 16×16 chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: looking for video filter2 module matching "any": 54 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 10 candidates
main debug: looking for vout window xid module matching "qt4,any": 4 candidates
qt4 debug: requesting video window…
qt4 debug: Video was requested 0, 0
main debug: using vout window xid module "qt4"
main debug: looking for inhibit module matching "any": 2 candidates
dbus_screensaver debug: cannot find service org.freedesktop.ScreenSaver
dbus_screensaver debug: cannot find service org.freedesktop.PowerManagement.Inhibit
dbus_screensaver debug: cannot find service org.mate.SessionManager
dbus_screensaver debug: found service org.gnome.SessionManager
main debug: using inhibit module "dbus_screensaver"
xcb_xv debug: connected to X11.0 server
xcb_xv debug: vendor : The X.Org Foundation
xcb_xv debug: version: 11405000
xcb_xv debug: using screen 0x2b5
xcb_xv debug: using XVideo extension v2.2
xcb_xv debug: using adaptor Radeon Textured Video
xcb_xv debug: using port 63
xcb_xv debug: using image format 0x32315659
xcb_xv debug: using X11 visual ID 0x21 (depth: 24)
xcb_xv debug: using X11 window 0x03e00000
xcb_xv debug: using X11 graphic context 0x03e00002
main debug: VoutDisplayEvent ‘fullscreen’ 0
main debug: VoutDisplayEvent ‘resize’ 384×288 window
main debug: using vout display module "xcb_xv"
main debug: original format sz 352×288, of (0,0), vsz 352×288, 4cc YV12, sar 12:11, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: looking for text renderer module matching "any": 3 candidates
freetype debug: Building font databases.
freetype debug: Took 0 microseconds
freetype debug: Using DejaVu Sans as font from file /usr/local/lib/X11/fonts/dejavu/DejaVuSans.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: End of video preroll
main debug: Received first picture
main debug: looking for video blending module matching "any": 1 candidates
main debug: using video blending module "blend"
xcb_xv debug: display is visible
main error: Failed to resize display
main debug: Decoder buffering done in 1768 ms
pulse debug: cannot synchronize start
pulse debug: deferring start (313117 us)
pulse debug: deferring start (285238 us)
pulse debug: deferring start (257844 us)
pulse debug: deferring start (230311 us)
pulse debug: deferring start (202770 us)
pulse debug: deferring start (175204 us)
pulse debug: deferring start (146887 us)
pulse debug: deferring start (119147 us)
pulse debug: deferring start (91598 us)
pulse debug: deferring start (64012 us)
pulse debug: deferring start (36463 us)
pulse debug: deferring start (8904 us)
pulse warning: starting late (-18638 us)
main warning: playback way too early (-292635): playing silence
main debug: inserting 12905 zeroes
ts debug: libdvbpsi debug (PAT decoder): Table version 29, i_extension 48668, section 0 up to 0, current 1
ts debug: libdvbpsi debug (PAT decoder): ignoring already decoded section 0
ts debug: libdvbpsi debug (PMT decoder): Table version 19, i_extension 1, section 0 up to 0, current 1
ts debug: libdvbpsi debug (PMT decoder): ignoring already decoded section 0
pulse debug: started
pulse debug: changing sink 1: oss_output.dsp1 (/dev/dsp1)
main warning: playback too late (61561): up-sampling
main debug: auto hiding mouse cursor
ts debug: libdvbpsi debug (PAT decoder): Table version 29, i_extension 48668, section 0 up to 0, current 1
..
ts debug: libdvbpsi debug (PAT decoder): ignoring already decoded section 0
ts debug: libdvbpsi debug (PMT decoder): Table version 19, i_extension 1, section 0 up to 0, current 1
ts debug: libdvbpsi debug (PMT decoder): ignoring already decoded section 0
main warning: picture is too late to be displayed (missing 90 ms)
main warning: picture is too late to be displayed (missing 50 ms)
main debug: picture might be displayed late (missing 10 ms)
xcb_xv debug: display is visible
..

[/code]

*************
!! дополнение опять freebsd сейчас с gnome3
ну если он никак не запускается — после gnome2, а все как будто настроено верно

или на первом экране сообщение об ошибке…
(проверить можно startx- если заводится то хотя бы основная настройка и драйвер правильный установлен)
Еще gnome3 очень хочет ускорение графики и 3d — часть настроек по radeon есть на этой странице.
а на nvidia лучше пересобрать kernel world на 11-current и набрать
pkg install nvidia-driver
или
pkg install nvidia-driver-304
да,он еще и linux эмулятор включит, но все работает — проверено на не сильно новом gf7800
и freebsd 64
linux сейчас поменялся на centos 6
еще помогает установка firefox-linux
Надо смотреть-
pkg updating
и здесь (кусочек-не весь) rc.conf с рабочей системе которая на virtualbox

[code language=»css»]
pkg updating
..
#! а там есть такая команда
#find /usr/local/lib -name ‘*.la’ | xargs grep -l ‘libintl.la’ | xargs pkg which
# вместо libintl подставить если что в списке есть:
#grep "^dependency_libs=’..*’" /usr/local/lib/*.la > dependency-libs-la
# Однако надо выведенные на экран файлики *.la поудалять -они
# все путают а ВСЕ выведенные порты (пакеты) С ЗАВисимостями! переустановить
# например:
pkg update -fR libical
# или
portmaster -fr gdm
..
pkg install -fR dbus
pkg install -fR libical
ee /etc/rc.conf
..
частично rc.conf (я мог и пропустить что , если еще ошибки — посмотреть все
в /var/log
# less /var/log/Xorg.0.log
# less /var/log/gdm/:0.log
# less /var/log/messages

##/etc/rc.conf lines ~~7-40
#need for gnome3
kpasswdd_enable="YES"
kpasswd_program="/usr/libexec/kpasswdd"
kdc_enable="YES"
kadmind_enable="YES"
#webmin_enable="YES"
sendmail_enable="YES"
linux_enable="YES"
webcamd_enable="YES"
# use for d-link router (old -linux-based made in China) see ifconfig
ifconfig_em0="SYNCDHCP"
# pptp connect to another branch (windows 2008r2 server)
ppp_enable="NO"
ppp_mode="ddial"
ppp_profile="vpn"
pppoed_enable="NO"
casperd_enable="YES"
inetd_enable="NO"
mysql_enable="YES"
#route_lan2="-net 192.168.0.0/24 192.168.3.8
mysql_server_enable="YES"
apm_enable="YES"
apmd_enable="YES"
amd_enable="YES"
# run order dbus-hald-avahi —gdm (xorg 1.14.4.901).
#slim_enable="YES"
gnome_enable="YES"
##kldload radeonkms
dbus_enable="YES"
hald_enable="YES"
avahi_daemon_enable="YES"
gdm_enable="YES"
gdm_lang="ru_RU.UTF-8"
webcamd_enable="YES"
..
[/code]

на второй машинке которая с nvidia потерялась линка на libvdpau_nvidia

[code language=»css»]
root@pc1:/var/run # ls /usr/local/lib/vdpau/
./ libvdpau_trace.so@
../ libvdpau_trace.so.1@
XXX-libvdpau_trace.so.1.0.0.%%.orig-20141216* libvdpau_trace.so.1.0.0*
libvdpau_nvidia.so.1
root@pc1:/var/run # ldd -a /usr/local/lib/vdpau/libvdpau_nvidia.so.1
/usr/local/lib/vdpau/libvdpau_nvidia.so.1:
libXext.so.6 => /usr/local/lib/libXext.so.6 (0x8017bb000)
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x8019cc000)
libm.so.5 => /lib/libm.so.5 (0x801d05000)
libc.so.7 => /lib/libc.so.7 (0x80081f000)
/usr/local/lib/libXext.so.6:
libX11.so.6 => /usr/local/lib/libX11.so.6 (0x8019cc000)
libc.so.7 => /lib/libc.so.7 (0x80081f000)
/usr/local/lib/libX11.so.6:
libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x801f2e000)
librpcsvc.so.5 => /usr/lib/librpcsvc.so.5 (0x80214d000)
libc.so.7 => /lib/libc.so.7 (0x80081f000)
/lib/libm.so.5:
libc.so.7 => /lib/libc.so.7 (0x80081f000)
/usr/local/lib/libxcb.so.1:
libXau.so.6 => /usr/local/lib/libXau.so.6 (0x802356000)
libpthread-stubs.so.0 => /usr/local/lib/libpthread-stubs.so.0 (0x802558000)
libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x802759000)
libc.so.7 => /lib/libc.so.7 (0x80081f000)
/usr/lib/librpcsvc.so.5:
libc.so.7 => /lib/libc.so.7 (0x80081f000)
/usr/local/lib/libXau.so.6:
libc.so.7 => /lib/libc.so.7 (0x80081f000)
/usr/local/lib/libpthread-stubs.so.0:
libc.so.7 => /lib/libc.so.7 (0x80081f000)
/usr/local/lib/libXdmcp.so.6:
libc.so.7 => /lib/libc.so.7 (0x80081f000)
root@pc1:/var/run # pkg which /usr/local/lib/vdpau/libvdpau_nvidia.so.1
/usr/local/lib/vdpau/libvdpau_nvidia.so.1 was installed by package nvidia-driver-304-304.123
root@pc1:/var/run #
[/code]

сделал ее

[code language=»css»]
root@pc1:/var/run # ln -s /usr/local/lib/vdpau/libvdpau_nvidia.so.1 /usr/local/lib/vdpau/libvdpau_nvidia.so
root@pc1:/var/run # ls /usr/local/lib/vdpau/
./ libvdpau_nvidia.so.1
../ libvdpau_trace.so@
XXX-libvdpau_trace.so.1.0.0.%%.orig-20141216* libvdpau_trace.so.1@
libvdpau_nvidia.so@ libvdpau_trace.so.1.0.0*
root@pc1:/var/run #
[/code]

после перезагрузки
gnome3-run-on-freebsd
gnome3-run-on-freebsd

gnome3run

gnome3run-ok1

********
(это для ноутбука который eee pc 1015 seashell)
xorg.conf dmesg что это за зверь (ну мобильники некоторые быстрее..1200 1,5 память) диск шустренький не ssd конечно
видюшка вроде на одном кристалле с C30 не разбирал совсем тоже шустрая для 2011 года и для нетбука 512 память кусь ddr3

[code language=»css»]
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load "ddc"
Load "vbe"
Load "dbe"
Load "dri2"
# Load "glamoregl"
Load "bitmap"
Load "freetype"
Load "extmod"
Load "record"
Load "glx"
Load "dri"
Load "GLcore"
Load "vnc"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
Option "IgnoreABI" "on"
Option "AIGLX" "true"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

#Section "InputDevice"
# Driver "synaptics"
# Option "SHMConfig" "true"
#EndSection

Section "Monitor"
#DisplaySize 220 130 # mm
Identifier "Monitor0"
VendorName "HSD"
ModelName "3e9"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
Option "AGPMode" "8" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
Option "EnablePageFlip" "True" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
Option "DMAForXv" "True" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
Option "AccelDFS" "True" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "CustomEDID" # [<str>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
Option "ColorTiling" "True" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
Option "RenderAccel" "True" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ClockGating" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
Option "AccelMethod" "EXA" # <str>
Option "AccelMethod" "glamor" # <str>
Option "DRI" "True" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
#Option "ForceLowPowerMode" # [<bool>]
#Option "DynamicPM" # [<bool>]
#Option "NewPLL" # [<bool>]
#Option "ZaphodHeads" # <str>
Option "SHMConfig" "True" # [<bool>]
#Option "TripleBuffer" "true"
Option "DirectRendering" "true"
Option "GARTSize" "64"
Option "DynamicClocks" "on"
Identifier "Card0"
#Driver "vesa"
Driver "ati"
VendorName "Advanced Micro Devices, Inc. [AMD/ATI]"
BoardName "Wrestler [Radeon HD 6250]"
BusID "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
[/code]

 

[code language=»css»]
CPU: AMD C-30 Processor (1197.02-MHz 686-class CPU)
Origin="AuthenticAMD" Id=0x500f10 Family=0x14 Model=0x1 Stepping=0
Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
Features2=0x802209<SSE3,MON,SSSE3,CX16,POPCNT>
AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
AMD Features2=0x35fd<LAHF,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,IBS,SKINIT,WD T>
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST9250315AS 0001SDM1> ATA-8 SATA 2.x device
ada0: Serial Number 5VCACW00
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
info: [drm] Initialized drm 1.1.0 20060810
drmn0: <Wrestler [Radeon HD 6250]> on vgapci0
info: [drm] MSI enabled 1 message(s)
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (PALM 0x1002:0x9805 0x1043:0x84A4).
info: [drm] register mmio base: 0xFEB00000
info: [drm] register mmio size: 262144
info: [drm] radeon_atrm_get_bios: ===> Try ATRM…
info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method…
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT…
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP’s VRAM…
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xc0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xeaebf000 (262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x0000
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM…
info: [drm] radeon_read_bios: Map address: 0xc00c0000 (131072 bytes)
info: [drm] ATOM BIOS: Ontario
drmn0: info: VRAM: 384M 0x0000000000000000 — 0x0000000017FFFFFF (384M used)
drmn0: info: GTT: 512M 0x0000000018000000 — 0x0000000037FFFFFF
info: [drm] Detected VRAM RAM=384M, BAR=256M
info: [drm] RAM width 32bits DDR
[TTM] Zone kernel: Available graphics memory: 832168 kiB
[TTM] Initializing pool allocator
info: [drm] radeon: 384M of VRAM memory ready
info: [drm] radeon: 512M of GTT memory ready.
info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
info: [drm] Driver supports precise vblank timestamp query.
info: [drm] radeon: irq initialized.
info: [drm] GART: num cpu pages 131072, num gpu pages 131072
info: [drm] Loading PALM Microcode
info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
drmn0: info: WB enabled
drmn0: info: fence driver on ring 0 use gpu addr 0x0000000018000c00 and cpu addr
0x0xecb65c00
drmn0: info: fence driver on ring 3 use gpu addr 0x0000000018000c0c and cpu addr
0x0xecb65c0c
info: [drm] ring test on 0 succeeded in 1 usecs
info: [drm] ring test on 3 succeeded in 1 usecs
info: [drm] ib test on ring 0 succeeded in 0 usecs
info: [drm] ib test on ring 3 succeeded in 0 usecs
info: [drm] radeon_device_init: Taking over the fictitious range 0xc0000000-0xd0
..I2C 0xC8
iic7: <I2C generic I/O> on iicbus7
info: [drm] Radeon Display Connectors
info: [drm] Connector 0:
info: [drm] LVDS-1
info: [drm] HPD1
info: [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
info: [drm] Encoders:
info: [drm] LCD1: INTERNAL_UNIPHY
info: [drm] Connector 1:
info: [drm] HDMI-A-1
info: [drm] HPD2
info: [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
info: [drm] Encoders:
info: [drm] DFP1: INTERNAL_UNIPHY
info: [drm] Connector 2:
info: [drm] VGA-1
info: [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4
info: [drm] Encoders:
info: [drm] CRT1: INTERNAL_KLDSCP_DAC1
info: [drm] Internal thermal controller without fan control
info: [drm] radeon: power management initialized
composite sync not supported

[/code]

!!! еще дополнение видео снято в режиме спорт на зеркалку то ли canon — на ноутбуке играет без задержек

[code language=»shell»]
/usr/local/bin/ffmpeg -i "MVI_1201.MOV" -acodec mp2 -b:a 128k -vcodec mpeg2video -pix_fmt yuv420p "mvi1201.ts"
/usr/local/bin/ffmpeg -i "MVI_1226.MOV" -acodec mp2 -b:a 128k -vcodec mpeg2video -pix_fmt yuv420p "mvi1226.ts"
[/code]

режим спорт без заминок hd 720 576 файл
и этот еще
..
если по минимуму собирается то можно и так попробовать ./config.log
«:twisted:» !дополнение — не собрались- надо отключать- нехватает чего то plugin — made core dump
demux/libdirac libmkv
meta_engine/libtaglib (i386-ok)
stream_filter/libdash (amd64 -bad ? i386-ok)
video_output/libcaca
?? audio/fluidsynth //port delete
(удалить из плагинов и ./bin/vlc-cache-gen -f /usr/local/lib/vlc/plugins)
остальное ставится все только clang 3.4 через make CC=clang34 CXX=clang++34 CPP=clang-cpp34 config install // libdash_plugin не отключается
ниже — исправилось вроде — portmaster taglib devel/ncurses

[code language=»css»]
env CC=clang34 CXX=clang++34 CPP=clang-cpp34 ./configure —enable-avcodec —enable-avformat —enable-dvbpsi —enable-fontconfig —enable-freetype —enable-libgcrypt —enable-libxml2 —enable-oss —enable-postproc —enable-swscale —enable-vlc —disable-alsa —disable-chromaprint —disable-crystalhd —disable-dc1394 —disable-decklink —disable-directfb —disable-dv1394 —disable-egl —disable-fdkaac —disable-gles1 —disable-gles2 —disable-kai —disable-kva —disable-libvnc —disable-opencv —disable-projectm —disable-quicksync —disable-silent-rules —disable-telx —disable-tiger —disable-tremor —disable-udev —disable-update-check —disable-vcdx —disable-vsxu —disable-wasapi —disable-x26410b —with-kde-solid=/usr/local/share/apps/solid/actions ac_cv_search_pthread_rwlock_init=-pthread —enable-a52 —with-a52=/usr/local —enable-aa —enable-libass —enable-bonjour —enable-caca —enable-dbus —enable-dca —enable-dirac —enable-dvdnav —enable-dvdread —enable-faad —enable-flac —enable-fluidsynth —enable-libfreerdp —enable-fribidi —enable-gme —enable-gnomevfs —enable-gnutls —enable-goom —enable-httpd —enable-jack —enable-kate —enable-bluray —enable-svg —enable-sftp —enable-lirc —enable-live555 —enable-lua LUAC=luac52 LUA_CFLAGS=-I/usr/local/include/lua52 LUA_LIBS=-L/usr/local/lib —enable-mad —with-mad=/usr/local —enable-mkv —enable-mod —enable-libmpeg2 —enable-mtp —enable-mpc —enable-ncurses —enable-nls —enable-notify —enable-ogg —enable-optimizations —enable-opus —enable-png —enable-pulse —enable-qt —enable-realrtsp —enable-run-as-root —enable-samplerate —enable-schroedinger —enable-sdl —enable-sdl-image —enable-shout —enable-sid —enable-smbclient —enable-speex —enable-sout —enable-taglib —enable-theora —enable-twolame —enable-upnp —enable-v4l2 —enable-libva —enable-vcd —enable-libcddb —enable-vdpau —enable-vorbis —enable-glx —enable-xcb —enable-xvideo —with-x —enable-x264 —enable-zvbi —enable-skins2 —enable-libtar —with-qt-includes=/usr/local/include/qt4 —with-qt-libraries=/usr/local/lib/qt4 —with-extra-includes=/usr/local/include —with-extra-libs=/usr/local/lib —x-libraries=/usr/local/lib —x-includes=/usr/local/include —prefix=/usr/local —mandir=/usr/local/man —infodir=/usr/local/info/ —build=i386-portbld-freebsd11.0
[/code]

по команде установки во второй раз вроде все по местам разложилось запускается и работает
Архив здеся и тута x86 32 около 112Mb и исходник и скомпилировано уже толи clang толи gcc5
какбы не если половина одним а остальное другим (translate to english..)
vlc-after-install-no-c.tar куда 4 гигабайта стой..
чето ноутбук барахлит в пещере простудился что ли и хрипит
vlc1.tar

vlc2

(это скачать распаковать из mc в /usr/ports/multimedia/vlc и все команды конечно из work/vlc
обязательно повторить ./configure если что не найдет то напишет если сразу gmake install то будет кора — да и не захочет через 2-3 дня уже- будет обновлять все. Вроде все было включено и все плагины скомпилились. по умолчанию для скрипта конфигурации и откл. lua. На крайняк из того же mc вручную по полочкам /usr/local/lib .. bin .. ну или как там. В том году весь сервер так настраивался и ниче.. то есть работает еще)

ошибка и дамп -не смог расширить экранчик 800 x 600 для видео hd 1280 720 (sorry media size 1280 720
but display Relisys 11 » into server rack only 800 600 vlc 2.1.5 Rincewind made core dump)
vlc4

vlc-3
binary package 32
ffmpeg-2.3.5,1.txz
x264-0.136.2358_4.txz
vlc-2.1.5_9,4.txz
libav-10.2_4.txz
dri-10.3.2,2.txz
ImageMagick-6.8.9.8_3,1.txz
mesa-demos-8.1.0_2.txz

qvdpautest

vdpauinfo в портах freebsd

libav avconv

radeon linux ускорение видео (и отключение vsync — только для проверки — benchmark)
А если все поставилось и работает — хороший скрипт — сделать пакеты

[code language=»shell»]
#!/bin/sh
#Скрипт для создания всех пакетов, требуемых по зависимостям, для порта в ОС FreeBSD 10-11
#pkgng pack create packages for freebsd port and all dependency

PORTPATH=`whereis -s $1 | awk ‘{print $2}’`
echo $PORTPATH
#make -C $PORTPATH all-depends-list | cut -c 12-127
#pkg create -o /root $1
PACKAGESLINE=$1
echo $PACKAGESLINE
for LINE in `make -C $PORTPATH all-depends-list |cut -c 12-127`
do
echo -n "Creating package (${LINE})…"
PACKAGESLINE="$PACKAGESLINE ${LINE}"
done

echo $PACKAGESLINE
pkg create -o /root $PACKAGESLINE

[/code]

и заодно покажет если вдруг зависимость какая то пропущена

freebsd 11 current desktop vlc gnome-commander wordpress video embed ffmpeg: 1 комментарий

  1. etc / x11 / xorg.conf edit if change video card

    Section «Module»
    Load «dbe»
    Load «dri2»
    Load «ddc»
    Load «vbe»
    Load «glamoregl»
    Load «bitmap»
    Load «freetype»
    Load «extmod»
    Load «record»
    Load «glx»
    EndSection

    Section «InputDevice»
    Identifier «Keyboard0»
    Driver «kbd»
    EndSection

    Section «InputDevice»
    Identifier «Mouse0»
    Driver «mouse»
    Option «Protocol» «auto»
    Option «Device» «/dev/sysmouse»
    Option «ZAxisMapping» «4 5 6 7»
    EndSection

    Section «Monitor»
    # UseModes «Modes[0]»
    # Option «ModeValidation» «NoVertRefreshCheck,NoHorizSyncCheck»
    Identifier «Monitor0»
    VendorName «Philips»
    ModelName «Philips»
    HorizSync 28.0 — 83.0
    VertRefresh 43.0 — 75.0
    ModeLine «1280x1024_60» 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    ModeLine «1280x768_60» 68.25 1280 1328 1360 1440 768 771 778 790 -hsync -vsync
    ModeLine «1024x768_85» 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
    ModeLine «1280x1024_n» 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
    # Option «Preferred Mode» «1280x1024_n»
    # Option «DPMS»
    # Option «ExactModeTimingsDVI» «True»
    EndSection

    ### radeon (!! pkg delete nvidia-driver-304 if change video card!! )
    ### make -C /usr/ports/graphics/dri deinstall install ## libGL mesa-demos xorg xorg-server xorg-drivers xorg-libraries xorg-cf-files xorg-apps libosmesa linux-c6-xorg-libs libvdpau libva # libav ffmpeg vlc audacious gnome3 gnome-shell nautilus
    Section «Device»
    Identifier «Card0»
    Driver «ati»
    Driver «radeon»
    Option «DRI» «on».
    Option «DynamicPM» «on» # Dynamic powersaving.
    Option «ClockGating» «on» # Assisting option for powersaving.
    Option «AccelMethod» «EXA» # EXA should fit most cases.
    Option «ColorTilling» «on» # Hopefully a better performance
    Option «EXAVSync» «on» # Sync to lcd controller
    Option «DMAForXv» «on» # Forced option in order to enable Xv o
    Option «ScalerWidth» «2048» # That should fix some very rare bugs.
    Option «EnablePageFlip» «on» # It will not be enabled on R5xx cards.
    Option «RenderAccel» «on» # Optional. It should be enabled by def
    Option «AccelDFS» «on»..
    BusID «PCI:1:0:0»
    #Driver «nvidia»
    #BusID «PCI:3:0:0» ## slot on the motherboard see Xorg —configure
    EndSection
    Section «Screen»
    Identifier «Screen0»
    Device «Card0»
    Monitor «Monitor0»
    DefaultDepth 24
    Option «MetaModes» «1280x1024_n; 1024x768_n»
    # Option «metamodes» «CRT-0: nvidia-auto-select +1280+0»
    # Option «UseEDIDFreqs» «False»
    Option «UseEDIDDpi» «False»
    # Option «IgnoreEDID» «True»
    # Option «ModeValidation» «NoVesaModes,NoXServerModes,NoEDIDModes»
    SubSection «Display»
    Viewport 0 0
    Depth 24
    Modes «1280x1024_n» «1024x768_n»
    EndSubSection
    SubSection «Display»
    Viewport 0 0
    Depth 16
    Modes «1280x1024_n» «1024x768_n»
    EndSubSection

    ………….
    second script (virtualbox 5.0.12 as host chromium firefox vlc gstreamer — for freebsd 10-11)

    ———-
    make -C /usr/ports/x11/xcb-util-keysyms reinstall
    make -C /usr/ports/x11/xproto reinstall
    # graphics/dri
    # — graphics/libGL
    env CPP=clang-cpp CXX=clang++ CC=clang make CPP=clang-cpp CXX=clang++ CC=clang —
    C /usr/ports/graphics/libGL reinstall
    # /usr/ports/multimedia/libvdpau
    make CPP=clang-cpp CXX=clang++ CC=clang -C /usr/ports/multimedia/libvdpau reins
    tall
    make CPP=clang-cpp CXX=clang++ CC=clang -C /usr/ports/multimedia/libva-vdpau-dr
    iver reinstall
    make CPP=clang-cpp CXX=clang++ CC=clang -C /usr/ports/multimedia/gstreamer-plug
    ins-vdpau reinstall
    # — graphics/gbm
    env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang++ CC=c
    lang make LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang+
    + CC=clang -C /usr/ports/graphics/gbm reinstall

    # — graphics/libEGL

    env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang++ CC=c
    lang make LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang+
    + CC=clang -C /usr/ports/graphics/libEGL reinstall

    # — graphics/libglapi
    env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang++ CC=c
    lang make LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang+
    + CC=clang -C /usr/ports/graphics/libglapi reinstall

    # — graphics/libglesv2
    env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang++ CC=c
    lang make LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang+
    + CC=clang -C /usr/ports/graphics/libglesv2 reinstall

    # — graphics/libosmesa
    env LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang++ CC=c
    lang make LD_PRELOAD=/usr/local/lib/libgobject-2.0.so.0 CPP=clang-cpp CXX=clang+
    + CC=clang -C /usr/ports/graphics/libosmesa reinstall
    —————
    another (use make all-depends-list)

    ———-
    #!/bin/sh
    #pkgng pack create packages for freebsd port and all dependency
    # virtualbox and vlc mplayer libav mesa -all new and not from ports up to date
    #/usr/update-svn
    #n=4
    n=$#
    for ARG in $*
    do
    echo $ARG
    echo $n
    #if $$i == «» then break
    #fi
    PORTPATH=`whereis -s $ARG | awk ‘{print $2}’`
    echo $PORTPATH
    #make -C $PORTPATH all-depends-list | cut -c 12-127
    #pkg create -o /root $1

    make -C /usr/ports/ports-mgmt/pkg build

    echo $PACKAGESLINE
    PACKAGESLINE=$ARG
    echo $PACKAGESLINE
    for LINE in `make -C $PORTPATH all-depends-list |cut -c 12-127`
    do
    if (test «$LINE» != «ports-mgmt/pkg») then
    echo -n «build (${LINE})…»
    PORTP=`whereis -s $LINE | awk ‘{print $2}’`
    echo -n $PORTP
    PACKAGESLINE=»$PACKAGESLINE ${LINE}»
    printf «${LINE}n» >> /root/reins-port-log
    #echo «n» >> /root/reins-log
    make -C /usr/ports/${LINE} build deinstall install
    make -C /usr/ports/${LINE} reinstall | tail >>~/reins.texi
    #make -C /usr/ports/ports-mgmt/pkg install
    fi
    done

    echo $PACKAGESLINE
    done
    #make -C /usr/ports/${LINE} clean
    #pkg install -f $PACKAGESLINE

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте как обрабатываются ваши данные комментариев.