Opened 11 years ago

Closed 11 years ago

#2411 closed defect (needs_more_info)

video passthru for .mts to .mov ->results in frame issues

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

Description (last modified by Carl Eugen Hoyos)

When using video (and audio) passthru a .mts to .mov or .mp4 containers results in wrong framerate.

The source has 25fps.
The destination file has 50fps.

When doing the same to .mkv container it works fine.

Included the .mts file as an example.

Output:

/Users/xtophe/Library/Application\ Support/iFFmpeg/ffmpeg -i /Volumes/Data/Movies/00000.m2ts -c:a copy -c:v copy -y  "/Users/xtophe/Movies/00000.mov"

ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 15 2013 23:55:08 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: --prefix=/Volumes/tempdisk/sw --as=yasm --enable-gpl --enable-pthreads --disable-ffplay --disable-ffserver --disable-shared --enable-static --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-avfilter --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-postproc --enable-runtime-cpudetect
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x7ff2c0818e00] max_analyze_duration 5000000 reached at 5000000 microseconds
[mpegts @ 0x7ff2c0818e00] PES packet size mismatch
Input #0, mpegts, from '/Volumes/Data/Movies/00000.m2ts':
  Duration: 00:00:10.06, start: 599.960011, bitrate: 4848 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
[mov @ 0x7ff2c0819400] track 1: codec frame size is not set
Output #0, mov, to '/Users/xtophe/Movies/00000.mov':
  Metadata:
    encoder         : Lavf54.63.104
    Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 90k tbn, 90k tbc
    Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x7ff2c0818e00] PES packet size mismatch
frame=  502 fps=0.0 q=-1.0 Lsize=    5540kB time=00:00:10.08 bitrate=4499.1kbits/s    
video:5295kB audio:236kB subtitle:0 global headers:0kB muxing overhead 0.182235%

Change History (2)

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: FFmpegundetermined
Description: modified (diff)

Please provide the input sample 00000.m2ts.

comment:2 by Carl Eugen Hoyos, 11 years ago

Resolution: needs_more_info
Status: newclosed

Please reopen if you can provide a sample that allows to reproduce the problem.

Note: See TracTickets for help on using tickets.