[FFmpeg-user] Need to convert .m4e to .ts

Jason Reeves jhr at unitedentropy.com
Thu Aug 18 21:58:40 EEST 2016


I cloned the current version in GIT and built it --
$ ~/software/ffmpeg/ffmpeg -version
ffmpeg version N-81385-g703ae35 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration:
libavutil      55. 29.100 / 55. 29.100
libavcodec     57. 54.100 / 57. 54.100
libavformat    57. 47.101 / 57. 47.101
libavdevice    57.  0.102 / 57.  0.102
libavfilter     6. 52.100 /  6. 52.100
libswscale      4.  1.100 /  4.  1.100
libswresample   2.  1.100 /  2.  1.100

Please be gentle, I am a video format novice.  If you find yourself asking
"Why is he doing <x>?" ... the answer is because I don't know any better at
this point.  :)

Here is the console output of my conversion attempts with the latest and
greatest --

$ ~/software/ffmpeg/ffmpeg -i video-MP4V-ES-1-00000-00060.m4e -codec copy
-f mpegts video.ts
ffmpeg version N-81385-g703ae35 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration:
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.100 / 57. 54.100
  libavformat    57. 47.101 / 57. 47.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 52.100 /  6. 52.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
Input #0, m4v, from 'video-MP4V-ES-1-00000-00060.m4e':
  Duration: N/A, start: 27455.800000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[SAR 1:1 DAR 4:3], 1k tbr, 1200k tbn, 1k tbc
[mpegts @ 0x2ac7260] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, mpegts, to 'video.ts':
  Metadata:
    encoder         : Lavf57.47.101
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[SAR 1:1 DAR 4:3], q=2-31, 1k tbr, 90k tbn, 1200k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
11520, current: 11520; changing to 11521. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
96120, current: 96120; changing to 96121. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
165330, current: 165330; changing to 165331. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
249930, current: 249930; changing to 249931. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
690660, current: 690660; changing to 690661. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
771390, current: 771390; changing to 771391. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
852120, current: 852120; changing to 852121. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
925200, current: 925200; changing to 925201. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
1365930, current: 1365930; changing to 1365931. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
1446750, current: 1446750; changing to 1446751. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
1527480, current: 1527480; changing to 1527481. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
1608210, current: 1608210; changing to 1608211. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
2037420, current: 2037420; changing to 2037421. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
2114280, current: 2114280; changing to 2114281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
2195010, current: 2195010; changing to 2195011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
2275740, current: 2275740; changing to 2275741. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
2716470, current: 2716470; changing to 2716471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
2797200, current: 2797200; changing to 2797201. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
2866410, current: 2866410; changing to 2866411. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
3217140, current: 3217140; changing to 3217141. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
3301740, current: 3301740; changing to 3301741. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
3370950, current: 3370950; changing to 3370951. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
3455550, current: 3455550; changing to 3455551. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
3896280, current: 3896280; changing to 3896281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
3977010, current: 3977010; changing to 3977011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
4050090, current: 4050090; changing to 4050091. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
4130820, current: 4130820; changing to 4130821. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
4571550, current: 4571550; changing to 4571551. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
4652280, current: 4652280; changing to 4652281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
4733010, current: 4733010; changing to 4733011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
5164470, current: 5164470; changing to 5164471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
5245200, current: 5245200; changing to 5245201. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
5318280, current: 5318280; changing to 5318281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
5669010, current: 5669010; changing to 5669011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
5749740, current: 5749740; changing to 5749741. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
5830470, current: 5830470; changing to 5830471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
5911290, current: 5911290; changing to 5911291. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
6352020, current: 6352020; changing to 6352021. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
6421230, current: 6421230; changing to 6421231. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
6501960, current: 6501960; changing to 6501961. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
6944850, current: 6944850; changing to 6944851. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
7025670, current: 7025670; changing to 7025671. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
7094880, current: 7094880; changing to 7094881. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
7445610, current: 7445610; changing to 7445611. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
7522470, current: 7522470; changing to 7522471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
7603200, current: 7603200; changing to 7603201. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
7683930, current: 7683930; changing to 7683931. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
8117010, current: 8117010; changing to 8117011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
8197740, current: 8197740; changing to 8197741. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
8278470, current: 8278470; changing to 8278471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
8359200, current: 8359200; changing to 8359201. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
8799930, current: 8799930; changing to 8799931. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
8880750, current: 8880750; changing to 8880751. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
8949960, current: 8949960; changing to 8949961. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
9300690, current: 9300690; changing to 9300691. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
9377550, current: 9377550; changing to 9377551. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
9458280, current: 9458280; changing to 9458281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x2ac7260] Non-monotonous DTS in output stream 0:0; previous:
9539010, current: 9539010; changing to 9539011. This may result in
incorrect timestamps in the output file.
frame=  465 fps=0.0 q=-1.0 Lsize=    9048kB time=00:01:46.24 bitrate=
697.7kbits/s speed=5.65e+03x
video:8344kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 8.439882%

When I play this file in VLC, it reports the duration as 1:43 (the file is
supposed to be 60 seconds), but it seems to play through the file very
jumpy in 5-7 second increments.  Trick play doesn't seem to work.

$ ~/software/ffmpeg/ffmpeg -i video-MP4V-ES-1-00000-00060.m4e -copyts -f
mpegts video.ts
ffmpeg version N-81385-g703ae35 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration:
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.100 / 57. 54.100
  libavformat    57. 47.101 / 57. 47.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 52.100 /  6. 52.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
Input #0, m4v, from 'video-MP4V-ES-1-00000-00060.m4e':
  Duration: N/A, start: 27455.800000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[SAR 1:1 DAR 4:3], 1k tbr, 1200k tbn, 1k tbc
[mpegts @ 0x33a6260] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, mpegts, to 'video.ts':
  Metadata:
    encoder         : Lavf57.47.101
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 640x480 [SAR 1:1 DAR
4:3], q=2-31, 200 kb/s, 240 fps, 90k tbn, 240 tbc
    Metadata:
      encoder         : Lavc57.54.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
frame=   99 fps=0.0 q=2.0 Lsize=    6312kB time=07:38:31.96 bitrate=
1.9kbits/s dup=0 drop=366 speed=1.16e+05x
video:5843kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 8.034420%

When I play this file in VLC, it reports the duration as 0:56 (the file is
supposed to be 60 seconds) but it seems to play through the file very jumpy
in 5-7 second increments.  Trick play works a little better, but too much
trick play generates a lot of VLC errors and it eventually crashes.
Some of the VLC output ....
[mpeg2video @ 0x7f694cc96de0] ac-tex damaged at 0 26
[mpeg2video @ 0x7f694cc96de0] ac-tex damaged at 0 27
[mpeg2video @ 0x7f694cc96de0] skipped MB in I frame at 1 28
[mpeg2video @ 0x7f694cc96de0] invalid mb type in I Frame at 1 29


$ ~/software/ffmpeg/ffmpeg -i video-MP4V-ES-1-00000-00060.m4e -vcodec copy
-acodec copy -f mpegts video.ts
ffmpeg version N-81385-g703ae35 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration:
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.100 / 57. 54.100
  libavformat    57. 47.101 / 57. 47.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 52.100 /  6. 52.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
Input #0, m4v, from 'video-MP4V-ES-1-00000-00060.m4e':
  Duration: N/A, start: 27455.800000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[SAR 1:1 DAR 4:3], 1k tbr, 1200k tbn, 1k tbc
[mpegts @ 0x243d520] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, mpegts, to 'video.ts':
  Metadata:
    encoder         : Lavf57.47.101
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[SAR 1:1 DAR 4:3], q=2-31, 1k tbr, 90k tbn, 1200k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
11520, current: 11520; changing to 11521. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
96120, current: 96120; changing to 96121. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
165330, current: 165330; changing to 165331. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
249930, current: 249930; changing to 249931. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
690660, current: 690660; changing to 690661. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
771390, current: 771390; changing to 771391. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
852120, current: 852120; changing to 852121. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
925200, current: 925200; changing to 925201. This may result in incorrect
timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
1365930, current: 1365930; changing to 1365931. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
1446750, current: 1446750; changing to 1446751. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
1527480, current: 1527480; changing to 1527481. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
1608210, current: 1608210; changing to 1608211. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
2037420, current: 2037420; changing to 2037421. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
2114280, current: 2114280; changing to 2114281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
2195010, current: 2195010; changing to 2195011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
2275740, current: 2275740; changing to 2275741. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
2716470, current: 2716470; changing to 2716471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
2797200, current: 2797200; changing to 2797201. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
2866410, current: 2866410; changing to 2866411. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
3217140, current: 3217140; changing to 3217141. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
3301740, current: 3301740; changing to 3301741. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
3370950, current: 3370950; changing to 3370951. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
3455550, current: 3455550; changing to 3455551. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
3896280, current: 3896280; changing to 3896281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
3977010, current: 3977010; changing to 3977011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
4050090, current: 4050090; changing to 4050091. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
4130820, current: 4130820; changing to 4130821. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
4571550, current: 4571550; changing to 4571551. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
4652280, current: 4652280; changing to 4652281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
4733010, current: 4733010; changing to 4733011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
5164470, current: 5164470; changing to 5164471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
5245200, current: 5245200; changing to 5245201. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
5318280, current: 5318280; changing to 5318281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
5669010, current: 5669010; changing to 5669011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
5749740, current: 5749740; changing to 5749741. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
5830470, current: 5830470; changing to 5830471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
5911290, current: 5911290; changing to 5911291. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
6352020, current: 6352020; changing to 6352021. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
6421230, current: 6421230; changing to 6421231. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
6501960, current: 6501960; changing to 6501961. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
6944850, current: 6944850; changing to 6944851. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
7025670, current: 7025670; changing to 7025671. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
7094880, current: 7094880; changing to 7094881. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
7445610, current: 7445610; changing to 7445611. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
7522470, current: 7522470; changing to 7522471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
7603200, current: 7603200; changing to 7603201. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
7683930, current: 7683930; changing to 7683931. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
8117010, current: 8117010; changing to 8117011. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
8197740, current: 8197740; changing to 8197741. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
8278470, current: 8278470; changing to 8278471. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
8359200, current: 8359200; changing to 8359201. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
8799930, current: 8799930; changing to 8799931. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
8880750, current: 8880750; changing to 8880751. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
8949960, current: 8949960; changing to 8949961. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
9300690, current: 9300690; changing to 9300691. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
9377550, current: 9377550; changing to 9377551. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
9458280, current: 9458280; changing to 9458281. This may result in
incorrect timestamps in the output file.
[mpegts @ 0x243d520] Non-monotonous DTS in output stream 0:0; previous:
9539010, current: 9539010; changing to 9539011. This may result in
incorrect timestamps in the output file.
frame=  465 fps=0.0 q=-1.0 Lsize=    9048kB time=00:01:46.24 bitrate=
697.7kbits/s speed=5.54e+03x
video:8344kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 8.439882%

VLC reports this file as having a duration of 1:43 (supposed to be 60
seconds), and playback is very jumpy.  Trick play is even more jumpy.

$ ~/software/ffmpeg/ffmpeg -i video-MP4V-ES-1-00000-00060.m4e  -f mpegts
video.ts

ffmpeg version N-81385-g703ae35 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration:
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.100 / 57. 54.100
  libavformat    57. 47.101 / 57. 47.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 52.100 /  6. 52.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
Input #0, m4v, from 'video-MP4V-ES-1-00000-00060.m4e':
  Duration: N/A, start: 27455.800000, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 640x480
[SAR 1:1 DAR 4:3], 1k tbr, 1200k tbn, 1k tbc
[mpegts @ 0x343c240] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, mpegts, to 'video.ts':
  Metadata:
    encoder         : Lavf57.47.101
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 640x480 [SAR 1:1 DAR
4:3], q=2-31, 200 kb/s, 240 fps, 90k tbn, 240 tbc
    Metadata:
      encoder         : Lavc57.54.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
frame=  437 fps=0.0 q=31.0 Lsize=    1054kB time=00:01:45.30 bitrate=
82.0kbits/s dup=0 drop=28 speed= 287x
video:907kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 16.207972%

VLC reports this file as having a duration of 0:00 (I'm guessing it can't
guess duration from this file) and playback is very jumpy.  Trick play
doesn't seem to work.



On Thu, Aug 18, 2016 at 1:23 PM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Thu, Aug 18, 2016 at 13:16:27 -0500, Jason Reeves wrote:
> > Thanks, Moritz.  Here's my existing ffmpeg version info.  It's pretty
> > recent, but I'll go ahead and download source and compile a fresh copy.
> > $ ffmpeg -version
> > ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg
> developers
>
> Well, that's the right ffmpeg, for one, and that version is quite okay.
> Testing most recent would indeed be optimal though.
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list