Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5378 closed defect (fixed)

Remuxing interlaced file from camera Sony A7S results in broken video

Reported by: rmk Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: h264
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

see subject. Resulting files play back with frame order problems in Quicktime.

Command line and output:

ffmpeg -i /Users/krueger/lesspain/samples/incoming/sony_a7s_50i_2s.MTS -an -vcodec copy -y ~/tmp/a7s_50i_remux_ffmpeg_video_only.mov
ffmpeg version N-79103-gd4773c9 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: 
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 28.103 / 57. 28.103
  libavformat    57. 28.102 / 57. 28.102
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 39.102 /  6. 39.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
Input #0, mpegts, from '/Users/krueger/lesspain/samples/incoming/sony_a7s_50i_2s.MTS':
  Duration: 00:00:02.08, start: 1.040000, bitrate: 15501 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25.25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
    Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
Output #0, mov, to '/Users/krueger/tmp/a7s_50i_remux_ffmpeg_video_only.mov':
  Metadata:
    encoder         : Lavf57.28.102
    Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25.25 fps, 25 tbr, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mov @ 0x7f9932813400] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mov @ 0x7f9932813400] pts has no value
    Last message repeated 51 times
frame=  104 fps=0.0 q=-1.0 Lsize=    3648kB time=00:00:01.94 bitrate=15405.5kbits/s speed= 181x    
video:3647kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.026561%

BTW remuxing the file using ffmbc results in a file playing correctly in Quicktime.

Sample sony_a7s_50i_2s.MTS uploaded to incoming

Change History (2)

comment:1 by Carl Eugen Hoyos, 8 years ago

Keywords: h264 added
Version: unspecifiedgit-master

Looks like a duplicate of ticket #502.

comment:2 by Elon Musk, 8 years ago

Resolution: fixed
Status: newclosed
Last edited 8 years ago by Elon Musk (previous) (diff)
Note: See TracTickets for help on using tickets.