Opened 6 years ago

Closed 6 years ago

#7705 closed defect (invalid)

Cut mp4 file has no audio stream

Reported by: apait Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffmpeg.exe -ss 00:00:49.598 -i mp4noaudiostream.mp4 -t 00:00:28.163 -c:v copy -c:a copy output.m4v
ffmpeg version 4.1
built with gcc 8.2.1 (GCC) 20181017

Attachments (1)

ffmpeg-20190128-171859.log (68.4 KB ) - added by apait 6 years ago.
ffmpeg report log

Download all attachments as: .zip

Change History (7)

comment:1 by Carl Eugen Hoyos, 6 years ago

Resolution: needs_more_info
Status: newclosed

comment:2 by apait, 6 years ago

I have the file uploaded via VideoLAN File Uploader

by apait, 6 years ago

Attachment: ffmpeg-20190128-171859.log added

ffmpeg report log

comment:3 by apait, 6 years ago

Resolution: needs_more_info
Status: closedreopened

in reply to:  description comment:4 by apait, 6 years ago

Replying to apait:

Summary of the bug:
How to reproduce:

% ffmpeg.exe -ss 00:00:49.598 -i mp4noaudiostream.mp4 -t 00:00:28.163 -c:v copy -c:a copy output.m4v
ffmpeg version 4.1
built with gcc 8.2.1 (GCC) 20181017

C:\ffmpeg-4.1\bin>ffmpeg.exe -ss 00:00:49.598 -i mp4noaudiostream.mp4 -t 00:00:28.163 -c:v copy -c:a copy output.m4v
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers

built with gcc 8.2.1 (GCC) 20181017
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'mp4noaudiostream.mp4':

Metadata:

major_brand : mp42
minor_version : 0
compatible_brands: mp42isom

Duration: 00:01:40.28, start: 0.000000, bitrate: 748 kb/s

Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 512x288 [SAR 1:1 DAR 16:9], 548 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)

Output #0, ipod, to 'output.m4v':

Metadata:

major_brand : mp42
minor_version : 0
compatible_brands: mp42isom
encoder : Lavf58.20.100
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 512x288 [SAR 1:1 DAR 16:9], q=2-31, 548 kb/s, 25 fps, 25 tbr, 90k tbn, 90k tbc (default)
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)

Stream mapping:

Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)

Press [q] to stop, ? for help
frame= 718 fps=0.0 q=-1.0 Lsize= 2027kB time=00:00:28.16 bitrate= 589.7kbits/s speed=1.66e+03x
video:2022kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.208394%

comment:5 by apait, 6 years ago

After I cut the mp4 file, the output file has no audio stream

Last edited 6 years ago by apait (previous) (diff)

comment:6 by apait, 6 years ago

Resolution: invalid
Status: reopenedclosed

Issue was corrupt media file.

Note: See TracTickets for help on using tickets.