[MPlayer-dev-eng] Patch to display the start time of a media file with -identify
Kevin DeKorte
kdekorte at gmail.com
Sun Jun 6 14:24:06 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/06/2010 02:52 AM, Reimar Döffinger wrote:
> On Sat, Jun 05, 2010 at 09:18:41PM -0600, Kevin DeKorte wrote:
>> On 06/05/2010 12:04 PM, Reimar Döffinger wrote:
>>> This also is definitely the wrong place, and it does not work with
>>> video-only files and will also be quite questionable with files with
>>> very different starting times for different streams.
>>
>>
>> So where would be a better place to put this. I tried putting it where
>> ID_LENGTH is output, but I kept getting zero values.
>
> I'm fairly sure the right value must be known to the demuxer at that time,
> but I don't know how you tried to do it.
> Did you e.g. try to use ds_get_packet_pts ?
Reimar,
So how about this patch?
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkwLk2YACgkQ6w2kMH0L1dFoHQCfQj18Tq7JUDIq9Z8mP7hauPNJ
A2wAnRvmeaZOo6nopZ6JJoJjP7Ku1WaA
=ZKXu
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: display_start_time2.patch
Type: text/x-diff
Size: 901 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100606/eee8a33f/attachment.patch>
More information about the MPlayer-dev-eng
mailing list