Opened 7 years ago

Closed 6 years ago

#6433 closed defect (fixed)

I tried to convert mp4 file to f4v and it gives me error.

Reported by: hhov Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I tried to convert mp4 file to f4v and it gives me error that it was unable to read header of input file. Also I would like to mention that I can play specified video with VLC player.

Command line was:
ffmpeg -report -v 9 -loglevel 99 -i video.mp4 video_output.f4v 2>output.log

ffmpeg version is 3.3.1

Content of report file (ffmpeg-20170601-103329.log) is:
ffmpeg started on 2017-06-01 at 10:33:29
Report written to "ffmpeg-20170601-103329.log"
Command line:
ffmpeg -report -v 9 -loglevel 99 -i video.mp4 video_output.f4v
ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers

built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100

Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'video.mp4'.
Reading option 'video_output.f4v' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input url video.mp4.
Successfully parsed a group of options.
Opening an input file: video.mp4.
[file @ 0x7ff56ef00340] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff56f800000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff56f800000] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff56f800000] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff56f800000] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff56f800000] error reading header
[AVIOContext @ 0x7ff56ef00480] Statistics: 156082 bytes read, 1 seeks
video.mp4: Invalid data found when processing input

Attachments (2)

ffmpeg-20170601-103329.log (2.4 KB ) - added by hhov 7 years ago.
output.log (1.3 MB ) - added by hhov 7 years ago.

Download all attachments as: .zip

Change History (6)

by hhov, 7 years ago

Attachment: ffmpeg-20170601-103329.log added

by hhov, 7 years ago

Attachment: output.log added

comment:1 by hhov, 7 years ago

I can also provide video file, but I can't attach it as it's size (about 40MB) is more than limit of attachments.

comment:2 by Carl Eugen Hoyos, 7 years ago

Component: ffmpegundetermined
Keywords: mov added; mp4 convert removed

Please use a filehoster of your choice (like dropbox).
And please remember to always test current FFmpeg git head.

comment:3 by hhov, 7 years ago

Hi,

This is Dropbox link to that video:
https://www.dropbox.com/s/k3areuaq6iih22y/video.mp4?dl=0

I installed ffmpeg with brew and I tried to upgrade and it gives me this:
Error: ffmpeg 3.3.1 already installed
I think I use latest version.

Regards,
Hovhannes

comment:4 by Carl Eugen Hoyos, 6 years ago

Component: undeterminedavformat
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

Fixed in a9901840079b156c88c6d9ad4a61bc6e7e9c6235, needs -an for conversion.

Note: See TracTickets for help on using tickets.