User Tools

Site Tools


ubuntu:handbrake

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu:handbrake [2016/12/02 07:12]
tschulz [Ffmeg Split Video File]
ubuntu:handbrake [2017/01/13 14:35] (current)
tschulz [Merge Video Files]
Line 71: Line 71:
 <file bash> <file bash>
 ffmpeg -i <​INPUT_FILE>​ -vcodec libx264 -acodec ac3 -ar 48000 -ab 384k -ac 6 <​OUTPUT_FILE>​ ffmpeg -i <​INPUT_FILE>​ -vcodec libx264 -acodec ac3 -ar 48000 -ab 384k -ac 6 <​OUTPUT_FILE>​
 +</​file>​
 +
 +===== Ffmeg Encode to MP4/AC3 =====
 +<file bash>
 +ffmpeg -i <​INPUT_FILE>​ -vcodec mpeg4 -acodec ac3 -ar 48000 -ab 384k -ac 6 <​OUTPUT_FILE>​
 </​file>​ </​file>​
  
Line 79: Line 84:
 ===== External Refs ===== ===== External Refs =====
 [[https://​trac.handbrake.fr/​wiki/​CLIGuide|Offical CLI Guide]] [[https://​trac.handbrake.fr/​wiki/​CLIGuide|Offical CLI Guide]]
 +
 +===== Merge (Concat) Video Files =====
 +  - Create a text file with the files you want to merge. ​ Simply put one file on each line and start each line with file then the filename in quotes<​file txt mergelist.txt>​
 +file '​jan_2017_game_part1.m4v'​
 +file '​jan_2017_game_part2.m4v'​
 +file '​jan_2017_game_part3.m4v'​
 +file '​jan_2017_game_part4.m4v'​
 +file '​jan_2017_game_part5.m4v'​
 +file '​jan_2017_game_part6.m4v'​
 +file '​jan_2017_game_part7.m4v'​
 +file '​jan_2017_game_part8.m4v'</​file>​
 +  - Then run **ffmpeg** with **-f concat -i <​LISTFILE>​ -copy <​OUTPUTFILE>​** or <​file>​ffmpeg -f concat -i mergelist.txt -c copy output.mp4</​file>​
 +
ubuntu/handbrake.1480684353.txt.gz · Last modified: 2016/12/02 07:12 by tschulz