[請問]FFMPEG Concat Demuxer (Mac OS)

作者: tenorio5 (sb hacked me)   2018-09-06 21:14:07
想請教,想要不re-encode的方式合併數個(十個)mp4,語法要怎麼作。我先創了一個txt
內容如下:
https://i.imgur.com/LP7HgSS.jpg
txt及10個影片檔都在同一個地方:Macbook Pro>Macintosh HD>Users>我的名稱>downloads
我在terminal輸入以下語法: ffmpeg -f concat -i mylist.txt -c copy output 卻都失
敗,說找不到file directory.
我是哪一步驟作錯了嗚嗚!希望能幫我指正一下,非常感謝!
作者: tntchn (tntchn)   2018-09-06 22:13:00
檔案沒副檔名?
作者: goldie (阿良)   2018-09-06 23:24:00
ffmpeg會由你指定的副檔名來決定要用什麼format
作者: andrew43 (討厭有好心推文後刪文者)   2018-09-07 12:54:00
該不會是沒先 cd ~/downloads檔名用全英文數字就好因為檔名有空白鍵。我說只用英文和數字。要用空白鍵,檔名路徑要用單引號包起來。https://ffmpeg.org/ffmpeg-formats.html#concat 仔細看簡單說檔名把空白鍵刪掉你輸入 cat mylist.txt 檢查該檔是不是真的plain text我懷疑這個檔案不是真的純文字檔

Links booklink

Contact Us: admin [ a t ] ucptt.com