Skip to content

Commit 27f2144

Browse files
committed
updated README.md for convert option
1 parent 8168989 commit 27f2144

File tree

1 file changed

+121
-1
lines changed

1 file changed

+121
-1
lines changed

README.md

+121-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,124 @@ Video Stream (h264) operation [copy]
8282
Primary Audio Stream (aac) operation [copy]
8383
Second Audio Stream (ac3) operation [none]
8484
```
85-
85+
#### Convert Command
86+
```
87+
~/work/myprojects/godevelopment/src/github.com/snoby/mkv2Appletv$ ./mkv2Appletv -t -i ~/Public/public/JL.mkv -o ~/Public/public/test.mp4 convert
88+
Input filename: /Users/snoby/Public/public/JL.mkv
89+
Information about file: /Users/snoby/Public/public/JL.mkv
90+
Number of Streams: 2
91+
File has duration: 4494.688000 (s)
92+
Master Video codec: h264
93+
Master Audio codec: ac3 numChannels:6
94+
***
95+
Primary Video Stream (h264)
96+
Primary Audio Stream (ac3)
97+
----------Planned Output-----------------
98+
Video Stream (h264) operation [copy]
99+
Primary Audio Stream (aac) operation [convert]
100+
Second Audio Stream (ac3) operation [copy]
101+
[-hide_banner -y -i /Users/snoby/Public/public/JL.mkv -map_metadata 0:g -t 00:00:10 -map 0:0 -c:v copy -map 0:1 -c:a:0 aac -b:a:0 256k -map 0:1 -c:a:1 copy /Users/snoby/Public/public/test.mp4]About to start
102+
103+
104+
&{/opt/local/bin/ffmpeg [ffmpeg -hide_banner -y -i /Users/snoby/Public/public/JL.mkv -map_metadata 0:g -t 00:00:10 -map 0:0 -c:v copy -map 0:1 -c:a:0 aac -b:a:0 256k -map 0:1 -c:a:1 copy /Users/snoby/Public/public/test.mp4] [] <nil> <nil> <nil> [] <nil> <nil> <nil> <nil> false [] [] [] [] <nil>}
105+
Input #0, matroska,webm, from '/Users/snoby/Public/public/JL.mkv':
106+
Metadata:
107+
encoder : libebml v1.3.0 + libmatroska v1.4.0
108+
creation_time : 2014-05-29 05:41:22
109+
Duration: 01:14:54.69, start: 0.000000, bitrate: 3914 kb/s
110+
Chapter #0:0: start 0.000000, end 233.233000
111+
Metadata:
112+
title : Prologue and Credits
113+
Chapter #0:1: start 233.233000, end 406.406000
114+
Metadata:
115+
title : War Over
116+
Chapter #0:2: start 406.406000, end 620.620000
117+
Metadata:
118+
title : Like Vigilantes
119+
Chapter #0:3: start 620.620000, end 818.150000
120+
Metadata:
121+
title : Live for the Moment
122+
Chapter #0:4: start 818.150000, end 1066.398000
123+
Metadata:
124+
title : Las Vegas Rescue
125+
Chapter #0:5: start 1066.398000, end 1260.259000
126+
Metadata:
127+
title : Damaged Goods
128+
Chapter #0:6: start 1260.259000, end 1423.922000
129+
Metadata:
130+
title : You Will All Be Judged
131+
Chapter #0:7: start 1423.922000, end 1724.222000
132+
Metadata:
133+
title : The Real Ferris Aircraft
134+
Chapter #0:8: start 1724.222000, end 2005.503000
135+
Metadata:
136+
title : It's All True
137+
Chapter #0:9: start 2005.503000, end 2248.746000
138+
Metadata:
139+
title : Mission to Mars
140+
Chapter #0:10: start 2248.746000, end 2538.369000
141+
Metadata:
142+
title : Space Rescue
143+
Chapter #0:11: start 2538.369000, end 2808.305000
144+
Metadata:
145+
title : Lantern Legacy
146+
Chapter #0:12: start 2808.305000, end 2949.613000
147+
Metadata:
148+
title : It's Coming
149+
Chapter #0:13: start 2949.613000, end 3123.453000
150+
Metadata:
151+
title : Biblical Scale
152+
Chapter #0:14: start 3123.453000, end 3395.225000
153+
Metadata:
154+
title : We Work Together
155+
Chapter #0:15: start 3395.225000, end 3680.009000
156+
Metadata:
157+
title : Dinosaurs Unleashed
158+
Chapter #0:16: start 3680.009000, end 3864.861000
159+
Metadata:
160+
title : Fight On
161+
Chapter #0:17: start 3864.861000, end 4025.521000
162+
Metadata:
163+
title : Godspeed
164+
Chapter #0:18: start 4025.521000, end 4195.858000
165+
Metadata:
166+
title : The Ring and the Will
167+
Chapter #0:19: start 4195.858000, end 4310.806000
168+
Metadata:
169+
title : New Frontier
170+
Chapter #0:20: start 4310.806000, end 4494.688000
171+
Metadata:
172+
title : End Credits
173+
Stream #0:0: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
174+
Metadata:
175+
title : ETRG
176+
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
177+
Metadata:
178+
title : ETRG
179+
[mp4 @ 0x7f8cb401e400] track 2: codec frame size is not set
180+
Output #0, mp4, to '/Users/snoby/Public/public/test.mp4':
181+
Metadata:
182+
creation_time : 2014-05-29 05:41:22
183+
encoder : Lavf57.25.100
184+
Chapter #0:0: start 0.000000, end 10.000000
185+
Metadata:
186+
title : Prologue and Credits
187+
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 16k tbn, 1k tbc (default)
188+
Metadata:
189+
title : ETRG
190+
Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, 5.1(side), fltp, 256 kb/s (default)
191+
Metadata:
192+
title : ETRG
193+
encoder : Lavc57.24.102 aac
194+
Stream #0:2(eng): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, 5.1(side), 640 kb/s (default)
195+
Metadata:
196+
title : ETRG
197+
Stream mapping:
198+
Stream #0:0 -> #0:0 (copy)
199+
Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
200+
Stream #0:1 -> #0:2 (copy)
201+
Press [q] to stop, [?] for help
202+
frame= 242 fps=159 q=-1.0 Lsize= 5394kB time=00:00:10.01 bitrate=4411.7kbits/s speed=6.58x
203+
video:4285kB audio:1096kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.243517%
204+
[aac @ 0x7f8cb403d000] Qavg: 153.092
205+
```

0 commit comments

Comments
 (0)