Yes, I'm using linux.
What is strange is that I have tried this :
ffmpeg -f oss -ac 2 -i /dev/dsp test.wav
and I've just tried your exemple, and both seem to work... at least, I have
no error.
So I looked in ffmpeg.c and I saw "avcodec_register_all" and
"avdevice_register_all". It is not used in my project.
I have also modified "utils.c" so that "av_find_input_format" prints all the
AVInputFormat->name. And I don't know why, but what is printed is different
when I launch my project and ffmpeg...
When I try your exemple, I can see "oss" in the formats found, but not when
I launch my project.
2008/6/3, Luca Abeni <[EMAIL PROTECTED]>:
>
> Hi,
>
> Nicolas Krieger wrote:
> [...]
>
> > I have now another problem, "audio_device" can't be found
> > (av_find_input_format("audio_device");)
> > It works well in the last version, but not now. I've tried with "oss"
> > instead of "audio_device" but there is no difference.
>
>
> Are you using Linux? If yes, "oss" should be the right name.
> What happens if you try to run
> ./ffmpeg -f oss -i /dev/dsp /tmp/test.avi
> ?
>
>
> Luca
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user