[FFmpeg-trac] #6284(ffmpeg:new): FFMPEG doesn't output video with MP4 file that has broken frames
FFmpeg
trac at avcodec.org
Fri Mar 31 21:13:34 EEST 2017
#6284: FFMPEG doesn't output video with MP4 file that has broken frames
-------------------------------------+-------------------------------------
Reporter: mrcatmann | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version:
Keywords: mp4 broken | unspecified
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
I'm trying to re-encode a MP4 video with FFMPEG version
3.2.4-1~14.04.york1 (the original video is playable in all Windows players
like WMP or MPC):
{{{
ffmpeg -re -i /home/clip.mp4 -y -preset ultrafast -crf 35 -c:a aac
-threads 2 /home/conv1.mp4
}}}
But the converter freezes at the first frame, there are many such
identical strings:
{{{
frame= 0 fps=0.0 q=0.0 Lsize=
}}}
So the output has no video, just an audio track.
And FFProbe says that it seems the video container normally:
{{{
ffprobe version git-2017-01-22-f1214ad Copyright (c) 2007-2017 the FFmpeg
developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg
--mandir=/usr/share/man --enable-avresample --disable-debug --enable-
nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb
--enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb
--enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264
--enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-
libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-
libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-
libvidstab --enable-libwavpack --enable-nvenc
libavutil 55. 44.100 / 55. 44.100
libavcodec 57. 75.100 / 57. 75.100
libavformat 57. 63.100 / 57. 63.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 69.100 / 6. 69.100
libavresample 3. 2. 0 / 3. 2. 0
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/clip.mp4':
Metadata:
major_brand : dash
minor_version : 0
compatible_brands: iso6avc1mp41
creation_time : 2016-03-17T09:39:29.000000Z
Duration: 00:04:18.46, start: 0.000000, bitrate: 3109 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1440x1080 [SAR 1:1 DAR 4:3], 2981 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
(default)
Metadata:
creation_time : 2016-03-17T09:39:29.000000Z
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 125 kb/s (default)
Metadata:
creation_time : 2016-03-17T09:36:59.000000Z
handler_name : SoundHandler
}}}
Tried converting the video to different formats - still same results, no
video.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6284>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list