小编Man*_*lva的帖子

如何在 emacs 中自动换行?

我刚刚使用 Mx 尝试了 Gnu emacs 23 自动长行换行功能auto-fill-mode。它完美地工作。现在我.emacs按如下方式修改了我的文件以始终打开此功能,但它不起作用......

;;; Xemacs backwards compatibility file
(setq user-init-file
      (expand-file-name "init.el"
            (expand-file-name ".xemacs" "~")))
(setq custom-file
      (expand-file-name "custom.el"
            (expand-file-name ".xemacs" "~")))

(load-file user-init-file)
(load-file custom-file)
(global-linum-mode t)

;;; Scrollbar on the right
(set-scroll-bar-mode 'right)

;;; Open help file
(find-file "/home/manu/These/Docs/Emacs-Shortcuts")
(split-window-horizontally)

;;; Transparency
 ;;(set-frame-parameter (selected-frame) 'alpha '(<active> [<inactive>]))
 (set-frame-parameter (selected-frame) 'alpha '(85 50))
 (add-to-list 'default-frame-alist '(alpha 85 50))

;;; Auto fill to wrap long lines
(add-hook 'text-mode-hook 'turn-on-auto-fill)
Run Code Online (Sandbox Code Playgroud)

我哪里错了?

linux emacs

3
推荐指数
2
解决办法
6028
查看次数

如何从 .avi 容器转换为 .mp4

我有一个.avi包含以下流的文件:

Stream #0.0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 608x256 [PAR 1:1 DAR 19:8], 23.98 tbn, 23.98 tbc

Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16p, 128 kb/s
Run Code Online (Sandbox Code Playgroud)

我想在应该支持 mpeg4 视频流的 Iphone 上播放这部电影,如上一个问题所述。目前,我不关心音频流(Iphone 似乎不支持 mp3)

因此,我正在寻找一种方法来将我的文件的“容器”格式从Iphone 所需的格式转换.avi.mp4所需的格式。它是否可行,如果是,我该怎么做?

linux ffmpeg video-conversion libav

1
推荐指数
1
解决办法
2816
查看次数

标签 统计

linux ×2

emacs ×1

ffmpeg ×1

libav ×1

video-conversion ×1