[FFmpeg-user] Can ffmpeg transcode from mp4(h264/aac) to tsparallel
Tony Song
ssaoying at gmail.com
Tue Sep 25 19:27:11 CEST 2012
I have the same problem.
I use following command line:
ffmpeg -i /data/a.ts -ss 00:00:10.00 -t 00:00:10.00 -c copy -f mpegts
/data/b.ts
and ffmpeg -i /data/b.ts get following information:
Input #0, mpegts, from '/data/b.ts':
Duration: 00:00:10.04, start: 1.418656, bitrate: 5631 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x101](zho): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16, 192 kb/s
but i want the start time of ts file is the time of -ss,
like this:
Input #0, mpegts, from '/data/m3u8/ipad0_0.ts':
Duration: 00:00:10.00, start: 10.000000, bitrate: 571 kb/s
Program 1
Stream #0:0[0x101]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p, 576x432 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x102]: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz,
stereo, s16, 48 kb/s
Any suggestions are appreciated.
More information about the ffmpeg-user
mailing list