Cr0t l33t
Joined: 27 Apr 2002 Posts: 944 Location: USA
|
Posted: Wed Jun 18, 2014 7:18 pm Post subject: ffmpeg unable to copy video stream untouched |
|
|
I have a couple of video *.TS file video files with more than one language on it. FFMPEG is supposed just to copy it without touching the stream, but it is still re-encoding it. Code: | #ffmpeg -i file.ts -map 0:0 -map 0:1 -c copy file_new.ts
...
Duration: 00:23:30.60, start: 0.362344, bitrate: 15628 kb/s
Program 1
Stream #0:0[0x212]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], max. 18000 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc
Stream #0:1[0x210](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:2[0x211](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
Output #0, mpegts, to 'foo.ts':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, max. 18000 kb/s, 59.94 fps, 90k tbn, 59.94 tbc
Stream #0:1(eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), 384 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
|
mediainfo on the original file Code: | Video
ID : 530 (0x212)
Menu ID : 1 (0x1)
Format : MPEG Video
Commercial name : HDV 720p
Format version : Version 2
Format profile : Main@High
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=15
Codec ID : 2
Duration : 23mn 30s
Bit rate mode : Variable
Bit rate : 14.3 Mbps
Maximum bit rate : 18.0 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
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.258
Time code of first frame : 00:00:00;00
Time code source : Group of pictures header
Stream size : 2.34 GiB (91%) | now on the new file Code: | Video
ID : 256 (0x100)
Menu ID : 1 (0x1)
Format : MPEG Video
Commercial name : HDV 720p
Format version : Version 2
Format profile : Main@High
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Codec ID : 2
Duration : 23mn 30s
Bit rate mode : Variable
Bit rate : 15.0 Mbps
Maximum bit rate : 18.0 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
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.272
Time code of first frame : 00:00:00;00
Time code source : Group of pictures header
Stream size : 2.47 GiB (93%) | Any ideas on how to copy the stream without re-enconding it? _________________ cya |
|