Opened 7 months ago

Closed 7 months 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 7 months ago.
ffmpeg report log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 months ago by cehoyos

  • Resolution set to needs_more_info
  • Status changed from new to closed

comment:2 Changed 7 months ago by apait

I have the file uploaded via VideoLAN File Uploader

Changed 7 months ago by apait

ffmpeg report log

comment:3 Changed 7 months ago by apait

  • Resolution needs_more_info deleted
  • Status changed from closed to reopened

comment:4 in reply to: ↑ description Changed 7 months ago by apait

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 Changed 7 months ago by apait

The output file has no audio stream

Version 0, edited 7 months ago by apait (next)

comment:6 Changed 7 months ago by apait

  • Resolution set to invalid
  • Status changed from reopened to closed

Issue was corrupt media file.

Note: See TracTickets for help on using tickets.