Timestamps are unset

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Timestamps are unset

Tom Worton
I hope that I am doing this right, the format of sending emails is a little different then posting on other forums that I have reached out to in the past. I have been using ffmpeg for only a short period of time and while it has worked great, I am running into an issue and need a little assistance.  I have been moving my movies to a drive and then I will stream to the TV's in the house.  Unfortunately due to the devices that I am streaming the movies with,  I am limited to AC3 and not True HD or even DTS.  So I have been converting all of the audio in my movies to AC3 with ffmpeg.  Below is the command that I have been using


ffmpeg.exe -i myvideofile.mkv -map 0 -vcodec copy -scodec copy -acodec ac3 -b:a 640k myvideofilewithAC3.mkv


As I said this has worked great for nearly all of my movies, but I am getting an error with several of them.  The error reads "Time stamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your time code to set the timestamp properly."


While I am pretty new to this, I am confused as I am coping the video with no changes and yet there are issues.  I am also confused as to why most of my movies not have any problems, but a several do? Most important question is how do I fix this.  I have searched online and I haven't found anything that helps.


Thanks,


Tom
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Timestamps are unset

Carl Eugen Hoyos-2
2019-02-24 10:10 GMT+01:00, Tom Worton <[hidden email]>:

> ffmpeg.exe -i myvideofile.mkv -map 0 -vcodec copy -scodec copy
> -acodec ac3 -b:a 640k myvideofilewithAC3.mkv

Complete, uncut console output missing.

If you are just worried about a warning message:
You are not the intended recipient (and there is
nothing you can do about it).

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Timestamps are unset

Tom Worton
I hope what is below is what you are looking for, like I said, I am new to this.


Tom



Microsoft Windows [Version 10.0.17763.316]
(c) 2018 Microsoft Corporation. All rights reserved.

F:\Video>ffmpeg.exe -i HOP.mkv -map 0 -vcodec copy -scodec copy -acodec ac3 -b:a 640k HOPAC3.mkv
ffmpeg version N-93069-g6dc06e979c Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20181201
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 46.100 / 58. 46.100
  libavformat    58. 26.100 / 58. 26.100
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, matroska,webm, from 'HOP.mkv':
  Metadata:
    title           : HOP
    encoder         : libmakemkv v1.14.1 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2018-12-19T07:43:30.000000Z
  Duration: 01:35:08.70, start: 0.000000, bitrate: 35193 kb/s
    Chapter #0:0: start 0.000000, end 330.788792
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 330.788792, end 463.087625
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 463.087625, end 586.752833
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 586.752833, end 924.256667
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 924.256667, end 1211.460250
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1211.460250, end 1553.760542
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1553.760542, end 1730.145083
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1730.145083, end 1932.764167
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 1932.764167, end 2182.013167
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2182.013167, end 2598.512583
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2598.512583, end 2865.487625
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2865.487625, end 3120.909458
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3120.909458, end 3492.113625
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 3492.113625, end 3963.417792
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 3963.417792, end 4279.191583
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 4279.191583, end 4631.543583
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 4631.543583, end 4967.504208
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 4967.504208, end 5215.543667
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 5215.543667, end 5380.541833
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 5380.541833, end 5708.703000
    Metadata:
      title           : Chapter 20
    Stream #0:0(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 31303269
      DURATION-eng    : 01:35:08.703000000
      NUMBER_OF_FRAMES-eng: 136872
      NUMBER_OF_BYTES-eng: 22337633478
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-19 07:43:30
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 3887058
      DURATION-eng    : 01:35:08.704000000
      NUMBER_OF_FRAMES-eng: 535191
      NUMBER_OF_BYTES-eng: 2773758544
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-19 07:43:30
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, matroska, to 'HOPAC3.mkv':
  Metadata:
    title           : HOP
    encoder         : Lavf58.26.100
    Chapter #0:0: start 0.000000, end 330.788792
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 330.788792, end 463.087625
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 463.087625, end 586.752833
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 586.752833, end 924.256667
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 924.256667, end 1211.460250
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1211.460250, end 1553.760542
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1553.760542, end 1730.145083
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1730.145083, end 1932.764167
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 1932.764167, end 2182.013167
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2182.013167, end 2598.512583
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2598.512583, end 2865.487625
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2865.487625, end 3120.909458
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3120.909458, end 3492.113625
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 3492.113625, end 3963.417792
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 3963.417792, end 4279.191583
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 4279.191583, end 4631.543583
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 4631.543583, end 4967.504208
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 4967.504208, end 5215.543667
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 5215.543667, end 5380.541833
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 5380.541833, end 5708.703000
    Metadata:
      title           : Chapter 20
    Stream #0:0(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
    Metadata:
      BPS-eng         : 31303269
      DURATION-eng    : 01:35:08.703000000
      NUMBER_OF_FRAMES-eng: 136872
      NUMBER_OF_BYTES-eng: 22337633478
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-19 07:43:30
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp (24 bit), 640 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 3887058
      DURATION-eng    : 01:35:08.704000000
      NUMBER_OF_FRAMES-eng: 535191
      NUMBER_OF_BYTES-eng: 2773758544
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-12-19 07:43:30
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      encoder         : Lavc58.46.100 ac3
[matroska @ 000001ce03a5f0c0] 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
frame=136872 fps=159 q=-1.0 Lsize=22268493kB time=01:35:08.69 bitrate=31955.4kbits/s speed=6.61x
video:21814095kB audio:445992kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.037760%








________________________________
From: ffmpeg-user <[hidden email]> on behalf of Carl Eugen Hoyos <[hidden email]>
Sent: Sunday, February 24, 2019 8:16 AM
To: FFmpeg user questions
Subject: Re: [FFmpeg-user] Timestamps are unset

2019-02-24 10:10 GMT+01:00, Tom Worton <[hidden email]>:

> ffmpeg.exe -i myvideofile.mkv -map 0 -vcodec copy -scodec copy
> -acodec ac3 -b:a 640k myvideofilewithAC3.mkv

Complete, uncut console output missing.

If you are just worried about a warning message:
You are not the intended recipient (and there is
nothing you can do about it).

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&amp;data=02%7C01%7C%7Cc767b45cfd794f80814608d69a737ce1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636866218140783088&amp;sdata=PrsmYXxdBnBDRXUlp74g%2F%2BarTQe%2BnSEF2Zq1tavvvNI%3D&amp;reserved=0

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Timestamps are unset

Tom Worton
In reply to this post by Tom Worton
Carl,

In your last email you said that I was missing the complete uncut console output. If I am doing it correct. I replied with the missing information. Do you have any further advice?

Aside from stating that I did not include the console output information, you said "If you are just worried about a warning message:
You are not the intended recipient (and there is
nothing you can do about it)." I dont understand what you are saying here. Are you saying that the warning is just a warning and the data is really fine or there are legitimate errors and there is nothing I can do?  I hope it's not the later and you have some advice for a remedy to my errors.

Thanks,

Tom



Sent from my T-Mobile 4G LTE Device

-------- Original message --------
From: Carl Eugen Hoyos <[hidden email]>
Date: 2/24/19 8:16 AM (GMT-08:00)
To: FFmpeg user questions <[hidden email]>
Subject: Re: [FFmpeg-user] Timestamps are unset

2019-02-24 10:10 GMT+01:00, Tom Worton <[hidden email]>:

> ffmpeg.exe -i myvideofile.mkv -map 0 -vcodec copy -scodec copy
> -acodec ac3 -b:a 640k myvideofilewithAC3.mkv

Complete, uncut console output missing.

If you are just worried about a warning message:
You are not the intended recipient (and there is
nothing you can do about it).

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-user&amp;data=02%7C01%7C%7Cc767b45cfd794f80814608d69a737ce1%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636866218140783088&amp;sdata=PrsmYXxdBnBDRXUlp74g%2F%2BarTQe%2BnSEF2Zq1tavvvNI%3D&amp;reserved=0

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Timestamps are unset

Carl Eugen Hoyos-2
2019-02-26 10:40 GMT+01:00, Tom Worton <[hidden email]>:

> In your last email you said that I was missing the complete uncut console
> output. If I am doing it correct. I replied with the missing information. Do
> you have any further advice?

No.
You are not the recipient of the warning message.
If your output file is fine, there is nothing you can do.

> Aside from stating that I did not include the console output information,
> you said "If you are just worried about a warning message:
> You are not the intended recipient (and there is
> nothing you can do about it)." I dont understand what you are saying here.

> Are you saying that the warning is just a warning and the data is really
> fine or there are legitimate errors and there is nothing I can do?

I said that there is nothing you can do about the warning.
If you have no issues with the output file, there should be nothing wrong.

Please avoid top-posting on this mailing list.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".