V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  IgniteWhite  ›  全部回复第 172 页 / 共 200 页
回复总数  3990
1 ... 168  169  170  171  172  173  174  175  176  177 ... 200  
2016-02-14 21:12:04 +08:00
回复了 rock_cloud 创建的主题 问与答 V 友们有懂电路设计的吗?
@benmaowang 你说的那种自己做板子是不用考虑电阻电容的, CPU 那么多管脚,电路那么复杂你怎么分析零极点去。

能自己配电阻电容的板子是用 74 系列和什么 LM565 、 DAC0832 级别的芯片搭起来的。比如做一个调制解调电路,你十分熟悉 LM565 的 10 个管脚内部的电路,才知道怎么计算电容电阻大小。这个例子算是一个比较具体的“选电容电阻基础知识”。也有一些更基础但不可或缺的原则,比如退耦消除寄生反馈。

另外你要配电阻电容还需要示波器……我想说的是,你需要搭的东西是计算机体系结构范畴的,以时序和汇编为主,编 JTAG 需要 C ,等等。所以你想自己做的那个并不是收音机等级的高频电路,并没有给你 DIY 选择布线的余地。所以也没必要为 datasheet 和电阻电容头疼啦。
2016-02-14 20:52:30 +08:00
回复了 IgniteWhite 创建的主题 macOS 求解 mpv 播放网页视频问题
@squid157 我大概是在两个月前,用打包好的 mpv 看的,遇到的问题是无论怎么写配置文件,中文德文必有一者不能显示。前两天换成了 Homebrew 编译版,我刚刚看了一下,写成 sub-codepage=gb2312 就好了,中文没问题,德文üß之类的字母也可以显示。

看了一下文档,里面说:
By default, uchardet will be used to guess the charset. If mpv is not compiled with uchardet, enca will be used. If mpv is compiled with neither uchardet nor enca, UTF-8:UTF-8-BROKEN is the default, which means it will try to use UTF-8, otherwise the UTF-8-BROKEN pseudo codepage.

看来 Homebrew 编译版本应该是有 uchardet 或者 enca 的。但是要正确显示中文 srt 字幕,必须标明 gb2312 。
2016-02-14 18:20:48 +08:00
回复了 Showfom 创建的主题 iOS Jan 1, 1970
日常
@dadupi 好的,又是一个经验
2016-02-14 16:43:21 +08:00
回复了 rock_cloud 创建的主题 问与答 V 友们有懂电路设计的吗?
学了四年微电子的我表示你做的东西不是“理论入门”。因为直接用开发板搭的东西,平时学校也不教的。课上讲的是原理,这样一路用 FPGA 或者标准流片来做开发算是“科班出身”。

但是拿个开发板做东西,所有人的起点是相似的,因为各家开发板都是十分易于使用的产品。这叫做“应用入门”。这种入门是不用学习电路设计的。

大概这就是问题:如果模块化的东西不能满足需求怎么办?这时候仍然不建议再入门理论,也不用深挖 MEMS 原理去挑元器件;这时候你需要问一些内行的人啦,你的老板会理解你的需求吧。
2016-02-14 16:10:03 +08:00
回复了 fourstring 创建的主题 macOS 求助, Mac 上有什么好的视频播放以及压缩文件软件?
@BXIA 我看了一下:
7-Zip [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16
p7zip Version 15.09 beta (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64)

Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
[<@listfiles...>]

你看我理解的对不对:用 Homebrew 下载 p7zip ,命令是 7z ?
2016-02-14 15:51:38 +08:00
回复了 fourstring 创建的主题 macOS 求助, Mac 上有什么好的视频播放以及压缩文件软件?
@BXIA p7zip 我找不到 manual …有什么使用资料吗?
@Andy1999 7z 有 mac 版?
2016-02-14 15:47:42 +08:00
回复了 fourstring 创建的主题 macOS 求助, Mac 上有什么好的视频播放以及压缩文件软件?
@nuomi 请问 keka 有办法解决解压时中文乱码问题吗? The Unarchiver 可以选择编码但是不能压缩…
2016-02-14 15:44:49 +08:00
回复了 endosome 创建的主题 macOS 还有和我一样热爱 RSS 阅读的么?你们都订阅了哪些 RSS?
@wujunze 个人最推荐的是 Safari 阅读列表!其实是坠好的!一定要应用程序的话就是 Reeder 2 ,配上 Inoreader 的服务。

用一段时间你会发现,若非 RSS 老人,还是 Safari 更方便。
@maomaomao001 啊怎么叫都可以的,我就是按业界用语讲话,不同的讲法各有各的出发点,各有各自的适用场合,对于本帖不重要的。真正应该抨击的是曲线救国一词的滥用。

我给楼主出了个主意,感觉可以解决楼主的问题,这个比较重要。个人感觉 mpv 和 youtube-dl 结合起来很好用,楼主可以一试。
2016-02-13 23:20:30 +08:00
回复了 IgniteWhite 创建的主题 macOS 求解 mpv 播放网页视频问题
为了看带德语的字幕(比如《国土安全》最新季),我在 codepage 里加了 iso8859 ,但是会使得中文乱码。各位知道如何解决吗?
2016-02-13 23:18:29 +08:00
回复了 IgniteWhite 创建的主题 macOS 求解 mpv 播放网页视频问题
这是 lua-settings/osc.conf :
# When to enable the OSC
showwindowed=yes
showfullscreen=yes

# OSC scale
scalewindowed=2
scalefullscreen=1

# Scale the OSC with the video
# no tries to keep the OSC size constant as much as the window size allows
vidscale=yes

# Duration in ms until the OSC hides if no mouse movement, negative value disables auto-hide
hidetimeout=500

# Duration of fade out in ms, 0 = no fade
fadeduration=200

# Size of the deadzone. Values between 0 and 1
deadzonesize=1

# The layout for the OSC. Currently available are: box, slimbox, bottombar and topbar
layout=topbar

# Sets the style of the seekbar, slider (diamond marker) or bar (fill)
seekbarstyle=bar
2016-02-13 23:17:18 +08:00
回复了 IgniteWhite 创建的主题 macOS 求解 mpv 播放网页视频问题
也不是什么问题了……分享我注释过的配置,这是 mpv.conf :
# You can also write file-specific configuration files
# You can also put the configuration file in the same directory as the file to be played
# Both require you to set the --use-filedir-conf option (either on the command line or in your global config file)
use-filedir-conf=yes
# If a file-specific configuration file is found in the same directory,
# no file-specific configuration is loaded from ~/.config/mpv.
# In addition, the --use-filedir-conf option enables directory-specific configuration files.
# For this, mpv first tries to load a mpv.conf from the same directory as the file played
# and then tries to load any file-specific configuration.

# Track Selection
# Specify a priority list of audio languages to use
alang=en,eng,zh,cmn,chi,zho
# Specify a priority list of subtitle languages to use
slang=cmn,chi,zho,zh,eng,en

# Program Behavior
# Always save the current playback position on quit
save-position-on-quit

# Video
# Specify a priority list of video output drivers to be used
vo=opengl-hq:interpolation:icc-profile-auto
# Set the display FPS used with the --video-sync=display-* modes
display-fps=60
# Specify the hardware video decoding API that should be used if possible
hwdec=auto

# Audio
# Specify a list of audio filters to apply to the audio stream
af=drc
# Set the startup volume
# 0 means silence, 100 means no volume reduction or amplification
# A value of -1 (the default) will not change the volume
volume=100

# Subtitles
# If your system supports iconv(3), you can use this option to specify the subtitle codepage
# For Arabic subtitles use 'cp1256'.
# For Chinese subtitles use 'gb2312'.
# For Western Europe(including German) subtitles use 'iso8859'.
# If the file seems to be valid UTF-8, prefer UTF-8.
sub-codepage=utf8:gb2312
# Load additional subtitle files matching the video filename
sub-auto=fuzzy

# Window
# Play video with window border and decorations
# Since this is on by default, use --no-border to disable the standard window decorations
border
# Adjust the initial window position or size
# If a percentage sign (%) is given after the argument, it turns the value into a percentage of the screen size in that direction
geometry=50%:50%
# Set the initial window size
# This option behaves exactly like --autofit,
# except the window size is only changed if the window would be larger than the specified size
autofit-larger=90%x90%
# This option behaves exactly like --autofit,
# except that it sets the minimum size of the window (just as --autofit-larger sets the maximum)
autofit-smaller=30%x30%

# OSD, On Screen Display
# Set the duration of the OSD messages in ms (default: 1000)
osd-duration=2000
# Specify font to use for OSD and for subtitles that do not themselves specify a particular font
# The default is sans-serif
osd-font='STZhongsong'
sub-text-font='STZhongsong'
# Specify the OSD/sub font size
# The unit is the size in scaled pixels at a window height of 720
osd-font-size=28
sub-text-font-size=32
# Height of the OSD bar, in percentage of the screen height (default: 3.125)
osd-bar-h=2.8
# See --osd-color. Color used for the OSD/sub font border
osd-border-color='#99000000'
# Size of the OSD/sub font border in scaled pixels (see --osd-font-size for details)
osd-border-size=2
sub-text-border-size=3
# Specify the color used for OSD
osd-color='#CCFFFFFF'

# Screenshot
# Specify the filename template used to save screenshots
screenshot-template=~/Pictures/mpv/%F_%p

# Miscellaneous
# How the player synchronizes audio and video
video-sync=display-resample
@maomaomao001 这都小事, HTML5 刚出来的时候 V 站里有热议论。

@loversInJapan 参见 /t/256302 , mpv 可以播放不支持 HTML5 的网站视频。 FFmpeg 硬解发热小。
2016-02-13 19:12:24 +08:00
回复了 liuxl8964 创建的主题 macOS 完蛋了 我不小心把整個盤放進垃圾桶裏了
好吓人
2016-02-12 21:28:04 +08:00
回复了 IgniteWhite 创建的主题 macOS homebrew linkapps 的问题
@cxbig 搞定了!以前用的是 mpv 官网打好包的,写过配置文件。由于我想方便更新软件,就开始用之前不熟悉的 homebrew
2016-02-12 21:21:58 +08:00
回复了 IgniteWhite 创建的主题 macOS homebrew linkapps 的问题
@pocketkids 啊刚刚打回复,刚刚看到~感谢!
2016-02-12 21:21:17 +08:00
回复了 IgniteWhite 创建的主题 macOS homebrew linkapps 的问题
@cxbig
谢谢耐心解答!

brew doctor 经常做的,刚刚看了没问题;

brew info mpv ,结果有这么一行:
==> Options
--with-bundle
Enable compilation of the .app bundle.
所以请问这个 option 是哪个命令的 option ?是 mpv 的还是 brew install 的?
2016-02-12 21:11:48 +08:00
回复了 IgniteWhite 创建的主题 macOS homebrew linkapps 的问题
@cxbig 执行完那条之后没有 info …… log 文件在哪里?
2016-02-12 12:25:44 +08:00
回复了 myhu 创建的主题 macOS 如何通过一根网线实现 Win 与 Mac 之间数据传输?
@mystryl “曲线救国”是最有特点的业界习语,体现了工程师们的
1 ... 168  169  170  171  172  173  174  175  176  177 ... 200  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1013 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 55ms · UTC 23:22 · PVG 07:22 · LAX 16:22 · JFK 19:22
Developed with CodeLauncher
♥ Do have faith in what you're doing.