Commit Graph

754 Commits

Author SHA1 Message Date
Stefan Seyfried
45576494e5 raspi: fix audio decoding with newer libavcodec
Current libavcodec does no longer always return S16 sample format, but
the conversion needs to be done explicitly. Use libswscale for that.
Not tested on raspbian, only on yocto/ffmpeg.
2014-05-03 21:01:38 +02:00
martii
33726e48d0 libeplayer3/input: no need for alloca() 2014-05-03 14:29:26 +02:00
martii
96ae9b1d40 libeplayer3/input: fix SwitchVideo (unused, but anyway) 2014-05-03 12:35:59 +02:00
martii
263f211cbe libeplayer3: limit video frame skipping to network streams 2014-05-02 15:05:47 +02:00
martii
b0a734c607 libeplayer3: skip video until first audio frame was found 2014-05-02 14:52:10 +02:00
martii
3c2f594147 libeplayer3: minor adjustments 2014-05-02 13:34:08 +02:00
martii
e7d95eb3d3 libeplayer3: fix audio switching on already terminated playback 2014-05-01 12:52:38 +02:00
martii
5ffbeafa49 libeplayer3/writer: add fd to writer class 2014-05-01 12:51:41 +02:00
martii
65890b2e14 libeplayer3/writer: add fd to writer class 2014-05-01 12:51:26 +02:00
martii
de993ea5b1 libeplayer3: cleanup AVFormatContext propagation to writers 2014-05-01 10:15:14 +02:00
martii
64a524ab5c libeplayer3/input: fix audio flush packet initialization 2014-05-01 10:01:36 +02:00
martii
5ab9e2deda libeplayer3/input: stream duration fix 2014-04-30 19:08:30 +02:00
martii
ef58a765bb libeplayer3: remove flac writer (now handled by mp3 writer) 2014-04-27 12:52:15 +02:00
martii
0fe0e5ce6d libeplayer3: remove flac writer (now handled by mp3 writer) 2014-04-27 12:51:40 +02:00
martii
f9931b3b1b libeplayer3/writer: implement decoder flushing 2014-04-27 12:45:15 +02:00
martii
d195c29769 libeplayer3/writer/pcm: remove debug output 2014-04-26 19:54:42 +02:00
martii
8128fe3289 libeplayer3/writer/pcm: move reinit code out of packet loop 2014-04-26 19:20:32 +02:00
martii
32e8bd8252 libeplayer3/writer: remove constructors/destructors from writer class 2014-04-26 14:57:22 +02:00
martii
35ff3bb69c libeplayer3/Makefile: minor rewrite 2014-04-26 14:56:15 +02:00
martii
1b4b110c26 libeplayer3: move calcPts to Input class 2014-04-26 14:54:38 +02:00
martii
fc658e27b0 libeplayer3/output: unbreak GetFrameCount() 2014-04-26 14:53:43 +02:00
martii
40557ac647 libeplayer3/writer/pcm: simplify 2014-04-26 14:53:02 +02:00
martii
dd7db83276 libeplayer3/input: unbreak dvbsub pts calculation 2014-04-26 14:51:54 +02:00
martii
a6b0acda6d libeplayer3/writer/pcm: cleanup 2014-04-21 14:08:40 +02:00
martii
bdc242d29b libeplayer3/writer/pcm: simplify pts handling 2014-04-21 14:00:51 +02:00
martii
6906e9f929 libeplayer3/writer/pcm: minor adjustments 2014-04-21 13:24:52 +02:00
martii
25811b99be libeplayer3: minimize debug output 2014-04-18 16:20:07 +02:00
martii
c5426c8596 libeplayer3: fix backward mode 2014-04-18 16:09:54 +02:00
martii
ae1bcb466b libeplayer3: use av_rescale for pts calulations 2014-04-18 11:16:44 +02:00
martii
9d6397ac35 libeplayer3/input: disable noprobe and retry if probing fails 2014-04-18 09:48:28 +02:00
martii
12845ab18c libeplayer3: minor adjustments 2014-04-16 17:26:53 +02:00
martii
a3eb634030 libeplayer3/writer/pcm: unbreak 2014-04-15 21:59:22 +02:00
martii
06449fcbfd libeplayer3/input: don't segv in deconstructor 2014-04-15 19:47:59 +02:00
martii
b4ec2c34b9 libeplayer3: optimizations (untested) 2014-04-15 17:12:22 +02:00
martii
62d526f799 libeplayer3: use uint64_t instead of float/double for position calculations 2014-04-14 21:47:40 +02:00
martii
046da3c411 libeplayer3/output: reset stream variables after Close() 2014-04-13 21:29:26 +02:00
martii
578dc39595 libeplayer3: minor optimization 2014-04-13 19:29:07 +02:00
martii
d53589353e libeplayer3/input: increase probesize 2014-04-13 16:30:33 +02:00
martii
4b648be6fa libeplayer3/input: fix AV_CODEC_ID_MP2 usage 2014-04-12 16:53:55 +02:00
martii
a8a2d917fb libeplayer3 adjustments 2014-04-11 18:40:39 +02:00
martii
bbe2472f2d libeplayer3: cast away compiler warning 2014-04-11 14:49:42 +02:00
martii
4da9260b54 libeplayer3: cleanup 2014-04-11 14:20:22 +02:00
martii
1a808def2f libeplayer3: ffmpeg now provides teletext details in codec->extradata 2014-04-11 14:11:36 +02:00
martii
6c594a7cda libeplayer3: cleanup 2014-04-10 23:51:17 +02:00
martii
be26d8d46b libeplayer3: work around duplicate ffmpeg stream ids by comparing stream addresses instead of pids (plus a couple of optimizations) 2014-04-10 23:35:38 +02:00
martii
478a83efad libeplayer3/input: rename some variables 2014-04-10 20:47:44 +02:00
martii
3f30607fbd libeplayer3/output: remove redundant videofd check 2014-04-10 20:46:39 +02:00
martii
5f340ec4a8 libeplayer3/writer: unsigned char => uint8_t 2014-04-10 20:45:57 +02:00
martii
33d7a29134 libeplayer3/Makefile: disable debugging flags 2014-04-09 22:07:12 +02:00
martii
6c340eb752 libeplayer3: extend API 2014-04-09 22:06:41 +02:00