summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_rtp_codec.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update Libav API usesUoti Urpala2012-02-011-1/+1
| | | | | | | | | | | | | | | | | | | Change various code to use the latest Libav API. The libavcodec error_recognition setting has been removed and replaced with different semantics. I removed the "--lavdopts=er=<value>" option accordingly, as I don't think it's widely enough used to be worth attempting to emulate the old option semantics using the new API. A new option with the new semantics can be added later if needed. Libav dropped APIs that were necessary with all Libav versions until quite recently (like setting avctx->age), and it would thus not be possible to keep compatibility with previous Libav versions without adding workarounds. The new APIs also had some bugs/limitations in the recent Libav release 0.8, and it would not work fully (at least some avcodec options would not be set correctly). Because of those issues, this commit makes no attempt to maintain compatibility with anything but the latest Libav git head. Hopefully the required fixes and improvements will be included in a following Libav point release.
* configure, build: remove --disable-libav supportUoti Urpala2011-12-111-4/+0
| | | | | Remove support for building the player without libavcodec and libavformat. These libraries are now always required.
* cleanup: do libav* initialization on startupUoti Urpala2011-07-181-1/+0
| | | | | | | Do the global initialization of libavcodec and libavformat (avcodec_register_all(), av_register_all()) immediately on program startup and remove the initialization calls from various individual modules that use libavcodec/libavformat functionality.
* cleanup: remove NULL checks before free() all over the codecboesch2010-11-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
* build: enable/disable all FFmpeg libraries togetherUoti Urpala2010-11-021-2/+2
| | | | | | | | | Enable all of libavcodec, libavformat, libswscale, and libpostproc together (libavutil is always required). based on svn commit by diego: git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32226 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silence permanent warning messages when decoding H264 over rtsp withcehoyos2010-05-021-1/+6
| | | | | | | | | live555. Patch by Gil Pedersen, gil A cmi D aau D dk git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31128 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silence two gcc warnings: suggest parentheses around && within ||cehoyos2009-11-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make *avcctx AVCodecContext instead of void.cehoyos2009-08-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a crash when playing some H264 over rtsp streams: Do pass ancehoyos2009-08-111-0/+2
| | | | | | | AVCodecContext to the H264 parser. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Parse BitsPerSample and SamplesPerSec when playing PCM in X-QT overcehoyos2009-08-111-0/+4
| | | | | | | RTSP. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29490 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix QT RLE in X-QT via rtsp://.cehoyos2009-08-051-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29477 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license header to all files in libmpdemux.diego2009-05-081-2/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix audio in some rtsp streams, ok'd by lu_zerocompn2008-08-111-0/+1
| | | | | | | | patch by Changjin Liu - !lcj.liu!at!gmail!com! http://thread.gmane.org/gmane.comp.video.mplayer.user/56893/focus=56894 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27449 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-301-2/+2
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include base64.h with full path.diego2008-04-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26518 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change force_fps and force_ofps to doublereimar2008-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25997 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation of live555 support after FFmpegs r10173.cehoyos2007-08-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24123 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support h264 over rtspcehoyos2007-04-011-0/+57
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle X-QT extradata in a slightly more correct waycehoyos2007-03-261-6/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22827 b3059339-0415-0410-9bf9-f77b7e298cf2
* Every X-QT stream needs video frame rate (not just avc, mpeg4 and svq3)cehoyos2007-03-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22774 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for AMR; it works inserting in the first byte of the demux_packetnicodvb2007-03-061-0/+4
| | | | | | | | | a 1-byte header that live555 seems to be stripping for some reason, although according to the specs it should be there. Patch by Carl Eugen Hoyos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22481 b3059339-0415-0410-9bf9-f77b7e298cf2
* assign missing frametime as 1.0/fps; patch by Carl Eigen Hoyosnicodvb2007-02-271-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22372 b3059339-0415-0410-9bf9-f77b7e298cf2
* copy the content of QDM2 atom as extradata for ffqdm2 playback; patch by ↵nicodvb2007-02-261-0/+19
| | | | | | Carl Eugen Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22354 b3059339-0415-0410-9bf9-f77b7e298cf2
* insert extradata in sh_video->bih+1 instead of pushing it to demuxer->video ↵nicodvb2007-02-201-6/+19
| | | | | | as separate packet; patch by C.E.Hoyos git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22296 b3059339-0415-0410-9bf9-f77b7e298cf2
* omit length field of AAC-LATM audio streams; fixes decoding by faad. Patch ↵nicodvb2007-02-171-0/+2
| | | | | | by Carl Eugen Hoyos (cehoyos ag or at) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22253 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for H263-2000; patch by Carl Eugen Hoyosnicodvb2007-02-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22229 b3059339-0415-0410-9bf9-f77b7e298cf2
* when the video codec is mpeg4video copy the content of the esds in ↵nicodvb2007-02-071-1/+4
| | | | | | extradata; patch by ceyes ag or at git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22172 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for SVQ3 in X-QT; patch by Carl Eugen Hoyos (cehoyos ag or at) ↵nicodvb2007-02-041-2/+3
| | | | | | approved by Ross git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22130 b3059339-0415-0410-9bf9-f77b7e298cf2
* better autodetection of framerate in case of h264; it works correctly with ↵nicodvb2007-01-231-2/+8
| | | | | | | | | b-frames. Patch by Eugen Hoyos (cehoyos ag or at) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22001 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_rtp_codec.cpp:100: `INT_MAX' undeclared (first use this function)diego2007-01-151-0/+1
| | | | | | | patch by Carl Eugen Hoyos, cehoyos ag.or at git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21929 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for avc1 in X-QT over RTSPgpoirier2007-01-121-0/+21
| | | | | | | patch by Carl Eugen Hoyos cehoyos at ag.or.at git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21889 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplistic attempt to make H.264 over RTSP work.reimar2006-08-161-0/+4
| | | | | | | | Did not work for me, but reason is unclear. This at least moves things one step step closer to working git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19421 b3059339-0415-0410-9bf9-f77b7e298cf2
* "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".rsf2005-09-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16573 b3059339-0415-0410-9bf9-f77b7e298cf2
* Oops, removed a debugging printf from teh previous version.rsf2003-11-061-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Increased the threshold for how many incoming frames to look at while guessingrsf2003-11-061-1/+2
| | | | | | | the video frame rate (if "-fps" isn't used) - from 100, to 300. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support for the "L16" and "L8" (raw PCM audio) RTP payload formats.rsf2003-07-271-3/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10479 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor code cleanup.rsf2003-04-121-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved RTP packet buffering, by relying on the underlying OS's UDPrsf2003-03-111-25/+73
| | | | | | | | | | socket buffering. Improve A/V sync by dropping packets when one stream gets too far behind the other. Now tries to figure out the video frame rate automatically (if "-fps" is not used). Added support for MPEG-4 Elementary Stream video and MPEG-4 Generic audio RTP streams. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Motion-JPEG RTP streams can now be played. Some MPEG-4 ES video RTParpi2003-02-091-3/+10
| | | | | | | | streams can also be played. patch by Ross Finlayson <finlayson@live.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9371 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restruct by Ross Finlayson <finlayson@live.com>bertrand2003-02-031-0/+203
The code now supports 'QuickTime generic' RTP streams (the "X-QT" MIME type), which - thanks to the QuickTime codecs - makes it possible to play more QuickTime RTP streams. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9251 b3059339-0415-0410-9bf9-f77b7e298cf2