Gabriel Gambetta a écrit :
> I'm using FFMPEG libs compiled from r15261.
>
> Playback of an AVI using a previous version worked fine. However, with this
> version, my code doesn't event find any stream in the AVI - nb_streams is
> zero. Here's the code (simplified, of course)
>
>     av_register_all();
>
>     if (av_open_input_file(&m_pFormatCtx, sFilename, NULL, 0, NULL) != 0)
>         (error)
>
>     if (av_find_stream_info(m_pFormatCtx) < 0)
>         (error)
>
>     for (unsigned int i = 0; i < m_pFormatCtx->nb_streams; i++) *//
> nb_streams is always 0 here
> *
> Not sure what's wrong. An older version of the libs (not compiled by me)
> worked fine. Curiously enough, ffplay works fine with my current libs - even
> more curiously, I've tried to "break" ffplay making its init code look just
> like mine, but I couldn't - it happily plays the video.
>
> I realize this sounds like a n00b question which I'd answer "if ffplay works
> and your code doesn't, there IS a difference somewhere". I'll continue
> trying to figure out what's wrong, but I'm also asking here because I'm kind
> of desperate/frustrated by this.
>
> Thanks,
> --Gabriel
>
>
>   
Hello all,

I am experiencing the same issue.
Same code that works fine under r13712 now fails to find any stream with 
r15986...
It only happens with a very limited set of files, namely 2 MOV videos. 
(codec: MPEG4-AVC)
I'm not too sure how to assess the problem, I will try to get a sample 
to share.

Joan.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to