Commit Graph

1689 Commits

Author SHA1 Message Date
reimar 21f2437d9b Fix DVD audio and subtitle stream mapping, esp. for DVD with both 4:3 and
16:9 subtitles.
Patch by Lehel Bernadt (lehel at pmc-services hu) with minor modifications.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16650 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-03 14:29:01 +00:00
reimar c82d1bfbd0 10l, forgotten call to paranoia_modeset to actually set the desired mode.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16636 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-02 16:30:01 +00:00
reimar ce1fc3dcb4 another url_free that shouldn't be commented out.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16615 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-28 15:43:24 +00:00
reimar 58b3c487ec Detect eof when seeking and do _not_ restart the video.
Also fixes some invalid reads.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16614 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-28 15:37:30 +00:00
reimar 03a2df9a8b Report total time
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16613 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 19:04:10 +00:00
reimar 47b5a39d38 Sanity-check codecdata_len, fixes crash in libfaad due to failed malloc for
http://images.apple.com/movies/us/hd_gallery/gl1800/480p/the_brothers_grimm_m480pa.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16612 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 11:21:13 +00:00
rtognimp 2b04744d21 Don't pass NULL pointers to demux_info_add()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16605 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-26 20:13:10 +00:00
reimar f1e016fb24 the on suboption of -rawaudio and -rawvideo do not work anymore since the
demuxer API rework. So remove them and change the docs to use -demuxer raw*.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16599 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 17:29:45 +00:00
rsf b383ffa4b7 "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16573 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-23 22:35:04 +00:00
gpoirier 3b01938238 Prints the numbers of start and end tracks and MSF length for each
track of a VCD when -identify is given.
Patch by kiriuja < mplayer TIREH patches AH en TIREH directo POIS net >
Original Thread:
Date: Sep 11, 2005 3:30 AM
Subject: [MPlayer-dev-eng] [PATCH] -identify VCD tracks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16548 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-22 08:46:05 +00:00
gpoirier 1134bc63df Prints the number of titles, DVD disk ID, the numbers of chapters and
angles for each title, and the time length of each title if -identify
is given when playing a DVD.
Patch by kiriuja < mplayer TIREH patches AH en TIREH directo POIS net >
Original thread at:
Date: Sep 16, 2005 12:24 AM
Subject: [MPlayer-dev-eng] [PATCH] -identify DVD titles


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16545 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-22 07:40:25 +00:00
alex 00857cf5ce Disassemble comments and pass it to the demux_info interface
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16538 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 22:52:03 +00:00
alex 3d37f2a4f3 fix my email address
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16537 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 22:47:16 +00:00
gpoirier 55b7fc210e Prints the number of tracks and MSF length for each track of an audio CD,
prints ID_CDDA_TRACK=N output showing the currently played track number
when -identify is given.
Patch by kiriuja < mplayer TIRET patches CHEZ en TIRET directo POIS net >
Doxygen comments by Guillaume POIRIER
Original thread:
Date: Sep 11, 2005 10:49 PM
Subject: Re: [MPlayer-dev-eng] [PATCH] -identify audio CD tracks


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16525 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 18:22:09 +00:00
gpoirier c437f82e72 Prints -identify output for:
- video codec of the current file;
- signal numbers;
- demuxer help header.
Patch by  kiriuja <mplayer DATH patches AH en DATH directo POIS net>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16523 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-19 16:33:39 +00:00
nicodvb e7bdf32721 removed dependency on glibc's %a in sscanf()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16517 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-18 19:17:23 +00:00
reimar b99cb8d8a5 Fix H264 packetizer. Might not work with arbitrary slice order.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16506 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-17 18:36:43 +00:00
reimar 8771ad0741 add a demux_peekc function that allows to just "have a look" at the next
byte of data from the demuxer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16505 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-17 18:05:55 +00:00
reimar a6f6008e30 Wrong editlist handling: end pts must be included.
Fixes another BBC sample (why is it always BBC samples that break MPlayer??):
http://images.apple.com/movies/us/hd_gallery/gl1800/720p/bbc-africa_m720p.mov


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16497 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-16 11:05:29 +00:00
diego 7b14f06edb Make the fourcc output endianness-independent.
patch by Luca Barbato < lu_zero -- at -- gentoo -- at -- org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16478 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 18:13:58 +00:00
diego 82e1a7303f Avoid duplicated messages from demux_avi.c and demuxer.c.
patch by Luca Barbato < lu_zero -- at -- gentoo -- at -- org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16477 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 18:12:48 +00:00
aurel f8617ee059 cycle through tv channels (patch by Andrew Calkin < calkina at geexbox.org >)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16470 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-12 22:48:14 +00:00
henry b5fc357962 use system videodev2.h instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16444 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-10 18:39:28 +00:00
henry 4655eb7787 - remove useless /dev/video* checks
- add a proper configure check for v4l2
- prepare for videodev2.h removal


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16443 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-10 18:38:23 +00:00
reimar 021f63cd71 Ignore movi_end (except on error) to allow playing growing files.
Also adds a check if stream_read read the requested length.
This and the movi_end check on error help not accidently playing ID3 tags.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16439 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 20:05:42 +00:00
reimar d57b55823e We can not seek, so set seekable to 0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16425 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 23:11:30 +00:00
reimar 54aa920577 memleak fix, escfilename was not freed for an invalid url
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16422 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:45:40 +00:00
reimar 92850fab06 memleak fixes when using an http proxy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16420 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:14:55 +00:00
reimar c871483f14 check4proxies always creates a copy, so url should be freed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16419 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:08:36 +00:00
reimar e036d0cf35 memleak fixes when invalid http url specified.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16418 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:00:57 +00:00
reimar cb1bcc8b79 better bitrate calculation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16415 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 20:35:14 +00:00
reimar a6c5758715 execute the check function even when a demuxer is forced, to avoid crashes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16414 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:50:21 +00:00
reimar aacbf3f8c4 Forgotten mpc demuxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16413 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:46:48 +00:00
reimar b23444d997 Changes forgotten during demuxer API change, introduce a check function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16412 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 19:40:19 +00:00
faust3 ac2c5730ce replace sleep with usec_sleep, required for recent mingw versions, patch by Robert Swain <robert.swain at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16373 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-03 10:58:52 +00:00
reimar 9a684fa55f faster mpg and much faster gxf demuxing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16370 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-03 08:58:34 +00:00
reimar ab37415f63 10l, typo in last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16364 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 19:31:29 +00:00
reimar d8ba059c02 Support D-Cinema audio demuxer and decoder from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16363 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 19:22:22 +00:00
ods15 d620029e4b Make -identify's 'ID_LENGTH=' print a float and not an integer.. The
accuracey may be totally fake for some demuxers (mpg), but accurate for
others.. (avi)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16347 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-02 08:32:32 +00:00
wanderer ff123e3a88 fix longstanding typo - "patentend"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16331 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 21:13:05 +00:00
reimar e1d1e3bc74 Fix move playlists (control must be returned to mplayer.c, with the demuxer
returning the real URL as a packet).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16327 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-31 13:04:22 +00:00
reimar b03226df69 Sparcs do not like wild pointer typecasting (unaligned access).
Fixes bugzilla bug #365.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16323 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:59:21 +00:00
reimar 0446e090b1 Allow forcing of demuxers and codecs by prepending '+'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16322 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:56:24 +00:00
reimar c1f2df8f53 extra size checks for samples array to avoid crashes in some rare cases.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16321 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 23:24:47 +00:00
nicodvb 24096d2755 multiplying fps by 10000 is no more necessary (when determining mp4v and h264 framerate)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16320 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 22:07:30 +00:00
rtognimp b79c4cc293 Fix nsv detection with new demuxer structure
With old method there was an hack to skip detection for streamed nsv,
because demuxer did the chek only on first 4 bytes and live nsv streams
starts at random place in the file. The detection code was changed to
search for nsv signature in the first 64k of the file.
The check was changed to "unsafe" and thus moved later because now is
more expensive.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16319 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-30 19:06:55 +00:00
rtognimp 16670aff3a Fix mpeg-pes playback
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16315 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-26 22:53:59 +00:00
reimar 655334804b support MPEG in GXF container with extension-based detection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16311 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-26 17:40:02 +00:00
mosu a030e2fe1c Fixed seeking for AVC-in-Matroska (wrong assumption of what kind of references may be present for a non-I-frame).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16303 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-24 12:33:32 +00:00
gpoirier dd4390af8b Crash fix for: "[MPlayer-users] Crash of mencoder in demux_ts.c line 2728"
"The code which crashes looks like its trying to parse the subtitle stream,
 and failing, I assume because dvbsub_lang is a invalid pointer, or null."
Patch by Nico Sabi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16293 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-23 08:23:53 +00:00