FORUMS: list search recent posts

Concatenated File has Video but no audio?

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Les Garten
Concatenated File has Video but no audio?
on Aug 23, 2015 at 4:28:47 am

I am having an issue with this concat command: ffmpeg -i "concat:Part1.ts|Part2.ts" -c copy -bsf:a aac_adtstoasc output.mp4

I converted 2 mp4 files to ts to concatenate. These files work perfectly when played separately as ts files. When I concat, I get perfect video with no audio.

Here is the mp4 codec info:

Stream0
Type: Video
Codec:H264-MPEG-4 AVC (part10)(avc1)
Resolution:3840x2160
Frame Rate:29.970029
Decoded Format:4:2:0 YUV

Stream 1
Type:Audio
Codec:MPEG AAC Audio (mp4a)
Channels: Stereo
Sample Rate: 48000 Hz

I'll attach the file shoring the error

Any idea what is going wrong?
ffmpeg started on 2015-08-22 at 00:38:57
Report written to "ffmpeg-20150822-003857.log"
Command line:
ffmpeg -i "concat:Part1.ts|Part2.ts" -c copy -bsf aac_adtstoasc -report full.mp4
ffmpeg version N-74539-g45f3d4e Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 58.100 / 56. 58.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 36.100 / 5. 36.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument 'concat:Part1.ts|Part2.ts'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-bsf' ... matched as option 'bsf' (A comma-separated list of bitstream filters) with argument 'aac_adtstoasc'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option 'full.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file concat:Part1.ts|Part2.ts.
Successfully parsed a group of options.
Opening an input file: concat:Part1.ts|Part2.ts.
[mpegts @ 0000000002fa1220] Format mpegts probed with size=2048 and score=100
[mpegts @ 0000000002fa1220] stream=0 stream_type=1b pid=100 prog_reg_desc=
[mpegts @ 0000000002fa1220] stream=1 stream_type=f pid=101 prog_reg_desc=
[mpegts @ 0000000002fa1220] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[h264 @ 0000000002fc79a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002fc79a0] non-existing SPS 0 referenced in buffering period
[h264 @ 0000000002fc79a0] no picture ooo
[h264 @ 0000000002fc79a0] no picture ooo
[h264 @ 0000000002fc79a0] no picture
[mpegts @ 0000000002fa1220] Probe buffer size limit of 5000000 bytes reached
[mpegts @ 0000000002fa1220] decoding for stream 0 failed
[mpegts @ 0000000002fa1220] rfps: 27.500000 0.019811
[mpegts @ 0000000002fa1220] rfps: 27.500000 0.019811
[mpegts @ 0000000002fa1220] rfps: 27.583333 0.018497
[mpegts @ 0000000002fa1220] rfps: 27.666667 0.017228
[mpegts @ 0000000002fa1220] rfps: 27.750000 0.016004
[mpegts @ 0000000002fa1220] rfps: 27.833333 0.014825
[mpegts @ 0000000002fa1220] rfps: 27.833333 0.014825
[mpegts @ 0000000002fa1220] rfps: 27.916667 0.013691
[mpegts @ 0000000002fa1220] rfps: 28.000000 0.012603
[mpegts @ 0000000002fa1220] rfps: 28.083333 0.011559
[mpegts @ 0000000002fa1220] rfps: 28.166667 0.010560
[mpegts @ 0000000002fa1220] rfps: 28.166667 0.010560
[mpegts @ 0000000002fa1220] rfps: 28.250000 0.009607
[mpegts @ 0000000002fa1220] rfps: 28.250000 0.009607
[mpegts @ 0000000002fa1220] rfps: 28.333333 0.008699
[mpegts @ 0000000002fa1220] rfps: 28.416667 0.007835
[mpegts @ 0000000002fa1220] rfps: 28.500000 0.007017
[mpegts @ 0000000002fa1220] rfps: 28.500000 0.007017
[mpegts @ 0000000002fa1220] rfps: 28.583333 0.006244
[mpegts @ 0000000002fa1220] rfps: 28.583333 0.006244
[mpegts @ 0000000002fa1220] rfps: 28.666667 0.005516
[mpegts @ 0000000002fa1220] rfps: 28.750000 0.004833
[mpegts @ 0000000002fa1220] rfps: 28.750000 0.004833
[mpegts @ 0000000002fa1220] rfps: 28.833333 0.004196
[mpegts @ 0000000002fa1220] rfps: 28.833333 0.004196
[mpegts @ 0000000002fa1220] rfps: 28.916667 0.003603
[mpegts @ 0000000002fa1220] rfps: 28.916667 0.003603
[mpegts @ 0000000002fa1220] rfps: 29.000000 0.003056
[mpegts @ 0000000002fa1220] rfps: 29.083333 0.002553
[mpegts @ 0000000002fa1220] rfps: 29.083333 0.002553
[mpegts @ 0000000002fa1220] rfps: 29.166667 0.002096
[mpegts @ 0000000002fa1220] rfps: 29.166667 0.002096
[mpegts @ 0000000002fa1220] rfps: 29.250000 0.001684
[mpegts @ 0000000002fa1220] rfps: 29.250000 0.001684
[mpegts @ 0000000002fa1220] rfps: 29.333333 0.001316
[mpegts @ 0000000002fa1220] rfps: 29.416667 0.000994
[mpegts @ 0000000002fa1220] rfps: 29.416667 0.000994
[mpegts @ 0000000002fa1220] rfps: 29.500000 0.000717
[mpegts @ 0000000002fa1220] rfps: 29.500000 0.000717
[mpegts @ 0000000002fa1220] rfps: 29.583333 0.000486
[mpegts @ 0000000002fa1220] rfps: 29.583333 0.000486
[mpegts @ 0000000002fa1220] rfps: 29.666667 0.000299
[mpegts @ 0000000002fa1220] rfps: 29.750000 0.000157
[mpegts @ 0000000002fa1220] rfps: 29.750000 0.000157
[mpegts @ 0000000002fa1220] rfps: 29.833333 0.000061
[mpegts @ 0000000002fa1220] rfps: 29.833333 0.000061
[mpegts @ 0000000002fa1220] rfps: 29.916667 0.000009
[mpegts @ 0000000002fa1220] rfps: 29.916667 0.000009
[mpegts @ 0000000002fa1220] rfps: 30.000000 0.000003
[mpegts @ 0000000002fa1220] rfps: 30.000000 0.000003
[mpegts @ 0000000002fa1220] rfps: 60.000000 0.000012
[mpegts @ 0000000002fa1220] rfps: 60.000000 0.000012
[mpegts @ 0000000002fa1220] rfps: 120.000000 0.000047
[mpegts @ 0000000002fa1220] rfps: 120.000000 0.000047
[mpegts @ 0000000002fa1220] rfps: 240.000000 0.000187
[mpegts @ 0000000002fa1220] rfps: 240.000000 0.000187
[mpegts @ 0000000002fa1220] rfps: 29.970030 0.000000
[mpegts @ 0000000002fa1220] rfps: 29.970030 0.000000
[mpegts @ 0000000002fa1220] rfps: 59.940060 0.000000
[mpegts @ 0000000002fa1220] rfps: 59.940060 0.000000
[NULL @ 0000000002fa40e0] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 0000000002fa1220] stream 1 : no TS found at start of file, duration not set
[mpegts @ 0000000002fa1220] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0000000002fa1220] After avformat_find_stream_info() pos: 0 bytes read:7475920 seeks:4 frames:7
Input #0, mpegts, from 'concat:Part1.ts|Part2.ts':
Duration: 00:04:08.15, start: 1.500100, bitrate: 193113 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100], 7, 1/90000: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x101](und), 0, 1/90000: Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp
Successfully opened the file.
Parsing a group of options: output file full.mp4.
Applying option c (codec name) with argument copy.
Applying option bsf (A comma-separated list of bitstream filters) with argument aac_adtstoasc.
Successfully parsed a group of options.
Opening an output file: full.mp4.
Successfully opened the file.
[mp4 @ 0000000005b727e0] Codec for stream 0 does not use global headers but container format requires global headers
Output #0, mp4, to 'full.mp4':
Metadata:
encoder : Lavf56.40.101
Stream #0:0, 0, 1/90000: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 0000000002fc79a0] non-existing SPS 0 referenced in buffering period
frame= 356 fps=0.0 q=-1.0 size= 139556kB time=00:00:11.74 bitrate=97338.0kbits/s
frame= 758 fps=666 q=-1.0 size= 295703kB time=00:00:25.15 bitrate=96285.7kbits/s
frame= 1143 fps=691 q=-1.0 size= 447239kB time=00:00:38.00 bitrate=96403.4kbits/s
frame= 1518 fps=700 q=-1.0 size= 592016kB time=00:00:50.51 bitrate=96003.0kbits/s
frame= 1900 fps=708 q=-1.0 size= 743082kB time=00:01:03.26 bitrate=96222.2kbits/s
frame= 2279 fps=716 q=-1.0 size= 888636kB time=00:01:15.90 bitrate=95900.2kbits/s
frame= 2653 fps=720 q=-1.0 size= 1034896kB time=00:01:28.38 bitrate=95916.2kbits/s
frame= 2997 fps=716 q=-1.0 size= 1167277kB time=00:01:39.86 bitrate=95751.2kbits/s
frame= 3347 fps=712 q=-1.0 size= 1305167kB time=00:01:51.54 bitrate=95853.2kbits/s
frame= 3726 fps=715 q=-1.0 size= 1451773kB time=00:02:04.19 bitrate=95763.4kbits/s
frame= 4106 fps=719 q=-1.0 size= 1598757kB time=00:02:16.87 bitrate=95689.4kbits/s
frame= 4481 fps=721 q=-1.0 size= 1744921kB time=00:02:29.38 bitrate=95689.8kbits/s
frame= 4859 fps=722 q=-1.0 size= 1894282kB time=00:02:41.99 bitrate=95792.7kbits/s
frame= 5237 fps=725 q=-1.0 size= 2039336kB time=00:02:54.60 bitrate=95678.7kbits/s
frame= 5621 fps=726 q=-1.0 size= 2189085kB time=00:03:07.42 bitrate=95683.1kbits/s
frame= 5948 fps=722 q=-1.0 size= 2315726kB time=00:03:18.33 bitrate=95650.1kbits/s
frame= 6332 fps=723 q=-1.0 size= 2466641kB time=00:03:31.14 bitrate=95701.0kbits/s
[mpegts @ 0000000002fa1220] Continuity check failed for pid 17 expected 11 got 0
[mpegts @ 0000000002fa1220] Continuity check failed for pid 0 expected 1 got 0
[mpegts @ 0000000002fa1220] Continuity check failed for pid 4096 expected 1 got 0
[mpegts @ 0000000002fa1220] Continuity check failed for pid 256 expected 11 got 0
timestamp discontinuity -217217000, new offset= 215716900
[mpegts @ 0000000002fa1220] Continuity check failed for pid 257 expected 7 got 0
frame= 6697 fps=723 q=-1.0 size= 2610775kB time=00:03:43.32 bitrate=95769.2kbits/s
frame= 7087 fps=725 q=-1.0 size= 2760093kB time=00:03:56.33 bitrate=95671.7kbits/s
frame= 7466 fps=726 q=-1.0 size= 2907285kB time=00:04:08.98 bitrate=95655.4kbits/s
frame= 7799 fps=722 q=-1.0 size= 3037167kB time=00:04:20.09 bitrate=95659.8kbits/s
frame= 8183 fps=723 q=-1.0 size= 3186337kB time=00:04:32.90 bitrate=95646.4kbits/s
frame= 8563 fps=724 q=-1.0 size= 3335382kB time=00:04:45.58 bitrate=95675.3kbits/s
frame= 8939 fps=725 q=-1.0 size= 3481007kB time=00:04:58.13 bitrate=95650.6kbits/s
frame= 9319 fps=726 q=-1.0 size= 3630585kB time=00:05:10.81 bitrate=95690.9kbits/s
frame= 9692 fps=726 q=-1.0 size= 3775764kB time=00:05:23.25 bitrate=95685.9kbits/s
frame=10061 fps=727 q=-1.0 size= 3919880kB time=00:05:35.56 bitrate=95693.3kbits/s
frame=10444 fps=727 q=-1.0 size= 4068781kB time=00:05:48.34 bitrate=95684.4kbits/s
frame=10814 fps=728 q=-1.0 size= 4213365kB time=00:06:00.69 bitrate=95693.1kbits/s
frame=11191 fps=729 q=-1.0 size= 4358538kB time=00:06:13.27 bitrate=95654.3kbits/s
frame=11570 fps=729 q=-1.0 size= 4505889kB time=00:06:25.91 bitrate=95647.7kbits/s
frame=11958 fps=730 q=-1.0 size= 4654649kB time=00:06:38.86 bitrate=95598.4kbits/s
frame=12337 fps=730 q=-1.0 size= 4803656kB time=00:06:51.51 bitrate=95626.9kbits/s
frame=12722 fps=730 q=-1.0 size= 4952411kB time=00:07:04.35 bitrate=95603.8kbits/s
frame=13109 fps=732 q=-1.0 size= 5095605kB time=00:07:17.27 bitrate=95463.2kbits/s
frame=13495 fps=730 q=-1.0 size= 5242899kB time=00:07:30.14 bitrate=95412.3kbits/s
frame=13865 fps=730 q=-1.0 size= 5385034kB time=00:07:42.49 bitrate=95383.0kbits/s
No more output streams to write to, finishing.
frame=13950 fps=731 q=-1.0 Lsize= 5418079kB time=00:07:45.33 bitrate=95383.4kbits/s
video:5417731kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.006439%
Input file #0 (concat:Part1.ts|Part2.ts):
Input stream #0:0 (video): 13950 packets read (5547756075 bytes);
Input stream #0:1 (audio): 0 packets read (0 bytes);
Total: 13950 packets (5547756075 bytes) demuxed
Output file #0 (full.mp4):
Output stream #0:0 (video): 13950 packets muxed (5547756075 bytes);
Total: 13950 packets (5547756075 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000005b72ee0] Statistics: 34 seeks, 176318 writeouts
[AVIOContext @ 0000000002faabc0] Statistics: 5997571400 bytes read, 4 seeks


SETUP: Win7 x64, Intensity Shuttle, 12 GB RAM, i7-970, x58 Gigabyte GA-X58A-UD3R


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]