[FFmpeg-trac] #542(undetermined:new): Missing audio when encoding to mpeg-ts with "-threads 0"
FFmpeg
trac at avcodec.org
Tue Oct 18 15:36:38 CEST 2011
#542: Missing audio when encoding to mpeg-ts with "-threads 0"
-------------------------------------+-------------------------------------
Reporter: terran | Owner: michael
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by terran):
That command does reproduce the issue:
{{{
ffmpeg -threads 1 -i ../rehearsal_short.mp4 -qscale 1 -strict experimental
-acodec aac out.ts
ffmpeg version N-33726-g0556eee, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 17 2011 17:57:32 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration: --enable-pthreads --enable-avfilter --enable-shared
--enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable-
libfaac
libavutil 51. 21. 0 / 51. 21. 0
libavcodec 53. 20. 1 / 53. 20. 1
libavformat 53. 16. 0 / 53. 16. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../rehearsal_short.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2011-08-17 05:00:00
encoder : Lavf53.15.0
Duration: 00:00:05.03, start: 0.000000, bitrate: 9978 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 10015 kb/s, 30 fps, 30
tbr, 30 tbn, 60 tbc
Metadata:
creation_time : 2011-08-17 05:00:00
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
s16, 33 kb/s
Metadata:
creation_time : 2011-08-17 05:00:00
File 'out.ts' already exists. Overwrite ? [y/N] y
w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[mpegts @ 0xc1223c0] muxrate VBR, pcr every 3 pkts, sdt every 200, pat/pmt
every 40 pkts
Output #0, mpegts, to 'out.ts':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2011-08-17 05:00:00
encoder : Lavf53.16.0
Stream #0:0(eng): Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR
16:9], q=2-31, 200 kb/s, 90k tbn, 30 tbc
Metadata:
creation_time : 2011-08-17 05:00:00
Stream #0:1(eng): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 2011-08-17 05:00:00
Stream mapping:
Stream #0.0 -> #0.0 (h264 -> mpeg2video)
Stream #0.1 -> #0.1 (aac -> aac)
Press [q] to stop, [?] for help
frame= 150 fps= 30 q=1.0 Lsize= 12148kB time=00:00:04.96
bitrate=20036.6kbits/s
video:11218kB audio:32kB global headers:0kB muxing overhead 7.977625%
}}}
{{{
ffmpeg -i out.ts
ffmpeg version N-33726-g0556eee, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 17 2011 17:57:32 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration: --enable-pthreads --enable-avfilter --enable-shared
--enable-gpl --enable-version3 --enable-nonfree --enable-libx264 --enable-
libfaac
libavutil 51. 21. 0 / 51. 21. 0
libavcodec 53. 20. 1 / 53. 20. 1
libavformat 53. 16. 0 / 53. 16. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 6 / 2. 43. 6
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[NULL @ 0xe3e1140] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'out.ts':
Duration: 00:00:04.96, start: 1.400000, bitrate: 20036 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 104857 kb/s, 30 fps, 30 tbr, 90k
tbn, 60 tbc
Stream #0:1[0x101](eng): Audio: aac ([15][0][0][0] / 0x000F), 0
channels, s16
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/542#comment:47>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list