Andreas <[email protected]> added the comment:
I'm very sorry, it's my first entry here - I thought some video settings are
required. The simplest option string would be:
ffmpeg -i sample.ts -ar 44100 -ac 2 -f mp4 sample.mp4
############################### OUTPUT #################################
FFmpeg version SVN-r25326, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 3 2010 20:15:09 with gcc 4.2.1 (Apple Inc. build 5664)
configuration: --enable-gpl --enable-postproc --enable-libx264
--enable-libvpx --enable-libxvid --enable-libopenjpeg
libavutil 50.32. 0 / 50.32. 0
libavcore 0. 9. 0 / 0. 9. 0
libavcodec 52.92. 0 / 52.92. 0
libavformat 52.79. 0 / 52.79. 0
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.48. 0 / 1.48. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mpegts @ 0x10100b000] max_analyze_duration reached
Input #0, mpegts, from 'sample.ts':
Duration: 00:00:13.32, start: 180.518489, bitrate: 5481 kb/s
Program 1
Stream #0.0[0xc9]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3],
15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0.1[0xca]: Audio: mp2, 48000 Hz, 1 channels, s16, 192 kb/s
Stream #0.2[0xcc](): Subtitle: [6][0][0][0] / 0x0006
[buffer @ 0x100e03530] w:720 h:576 pixfmt:yuv420p
Output #0, mp4, to 'sample.mp4':
Metadata:
encoder : Lavf52.79.0
Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31,
200 kb/s, 25 tbn, 25 tbc
Stream #0.1: Audio: aac, 44100 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 319 fps=191 q=31.0 Lsize= 825kB time=13.07 bitrate= 517.1kbits/s
video:667kB audio:150kB global headers:0kB muxing overhead 1.000350%
##########################################################################
Please specify how I can reproduce it on the MP2 audio encoder.
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2292>
________________________________________________