[Ffmpeg-devel] codecs problem
Zoltan NAGY
nagyz
Thu May 19 17:13:12 CEST 2005
M?ns Rullg?rd wrote:
>Zoltan NAGY <nagyz at nefty.hu> writes:
>
>
>
>>hello!
>>
>>How can I specify to libavcodec which codec to use?
>>I'm having troubles with av_find_stream_info(), because it does not
>>find any suitable codecs..
>>mplayer sais it's mpeg4, with mp2 audio.
>>the file is a fragment from an mpegts stream... and I'd like to play
>>this whit ffplay :)
>>
>>
>
>Give us a sample.
>
>
allright:
http://nefty.hu/~nagyz/mpegts_stream_sample.mpg
mplayer sais:
TS file format detected.
VIDEO MPEG4(pid=68)...AUDIO A52(pid=69) NO SUBS (yet)! PROGRAM N. 1
Opened TS demuxer, audio: 2000(pid 69), video: 10000004(pid 68)...POS=8084
FPS seems to be: 250000/10000
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
vlc plays it also correctly.
put ffplay fails:
devbox:~/t# ./ffplay ~/teszt/outstream.ize
SDL_OpenAudio: 1 (mono) and 2 (stereo) channels supported
/root/teszt/outstream.ize: could not open codecs
devbox:~/t#
ideas? fixes? :)
Thanks in advance,
Zoltan NAGY,
Software Engineer
More information about the ffmpeg-devel
mailing list