Skip to main content

Thread: Convert AVCHD to mpg


hi there. did little search, didn't understand of said.

pleas , explain how convert avchd (mts) video files mp4, or avi.
these videos of kids keep quality, while reducing space.
in advance

hi kaizoku typically m2ts has hi specs blu ray

reduce size of file maybe can make frame size bit smaller [720p] , keep audio same as keep high quality see sample used below , reductions [all in red]

reduce video bit rate 16000k 5000k still quality
, reduces file size 2 thirds can change 8000k or whatever want be

chose mkv extension can pick avi or mp4 or mpg if wish. have reduced 1080p 720p. if want retain 1080 replace -s hd720 -s hd1080 [of course increase size of file]

=========



so put file(s) on desktop in folder called conversion

open terminal

enter
code:
cd desktop/conversion
then
f in *.m2ts ; ffmpeg -i "$f" -b 5000k -s hd720 -ab 256k "${f%.m2ts}.mkv"; done

and it


check properties of new file opposed earlier should third in size still def



hope





=========






mediainfo sample_1.m2ts



video
id : 4113 (0x1011)
menu id : 1 (0x1)
format : avc
format/info : advanced video codec
format profile : main@l4.0
format settings, cabac : yes
format settings, reframes : 2 frames
format settings, gop : m=2, n=15
codec id : 27
duration : 17s 951ms
bit rate mode : variable
bit rate : 11.2 mbps
maximum bit rate : 16.0 mbps

width : 1 440 pixels
height : 1 080 pixels

display aspect ratio : 16:9
frame rate : 29.970 fps
color space : yuv
chroma subsampling : 4:2:0
bit depth : 8 bits
scan type : interlaced
scan order : top field first
bits/(pixel*frame) : 0.240
stream size : 24.0 mib (92%)


mediainfo sample_1.mkv

video
id : 1
format : mpeg-4 visual
format profile : simple@l1
format settings, bvop : no
format settings, qpel : no
format settings, gmc : no warppoints
format settings, matrix : default (h.263)
codec id : v_mpeg4/iso/asp
codec id/info : advanced simple profile
duration : 18s 35ms
bit rate : 3 782 kbps
width : 1 280 pixels
height : 720 pixels

display aspect ratio : 2.35:1
original display aspect ratio : 2.35:1
frame rate : 59.940 fps
color space : yuv
chroma subsampling : 4:2:0
bit depth : 8 bits
scan type : progressive
compression mode : lossy
bits/(pixel*frame) : 0.068
stream size : 8.13 mib (95%)
writing library : lavc53.6.0
language : english
default : yes
forced : no


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] Convert AVCHD to mpg


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?