12 Commits

Author SHA1 Message Date
lummax
882bef5507 examples/transcode-audio: correct time_base handling 2015-09-18 21:42:02 +02:00
meh
8f52dab1e4 examples/transcode-audio: update import paths 2015-09-17 17:34:00 +02:00
lummax
7f0291bf78 examples/transcode-audio: set global headers if needed 2015-09-14 13:57:20 +02:00
lummax
738030bb92 examples/transcode-audio: set encoder time base 2015-09-13 20:21:34 +02:00
meh
b50a3673a1 examples/transcode-audio: do not panic in case of decoding error 2015-09-12 20:42:24 +02:00
meh
a7fcbd81fa examples/transcode-audio: avoid packet reallocation 2015-09-12 20:39:06 +02:00
lummax
71d23d0f92 examples/transcode-audio: fix on input with multiple streams
On input files with muliple streams the best audio streams gets transcoded. If
this stream happens to have an `index > 0` the transcoding crashes as no
associated output stream is available.

This commit fixes this by using the first (and only) output stream.
2015-09-12 14:18:09 +02:00
lummax
b06ebec3b6 examples/transcode-audio: use ChannelLayoutIter.best() 2015-09-11 18:27:50 +02:00
lummax
402657cbfb examples/transcode-audio: dump filter graph as text 2015-09-09 20:25:34 +02:00
lummax
d920fcce7d examples/transcode-audio: fix compilation error 2015-09-09 19:38:45 +02:00
meh
7f130a7448 examples/transcode-audio: update pts setting API usage 2015-09-09 16:48:10 +02:00
meh
bc5ef9cdcf examples/transcode-audio: add audio transcoding example 2015-09-09 14:31:26 +02:00