[Libav-user] (no subject)
Blake Senftner
bsenftner at earthlink.net
Wed Dec 21 17:46:39 EET 2016
Is the h264 file you are using available online to test against?
I have been using the h264 film trailers from here http://www.hd-trailers.net/movie/rogue-one-a-star-wars-story/ <http://www.hd-trailers.net/movie/rogue-one-a-star-wars-story/>
And they open and play without issue. Do you get the same issue with your software using one of these clips?
You may need to post your function that opens a stream up to the point where you call avcodec_open2()...
Sincerely,
-Blake Senftner
Computer Stuff
> On Dec 21, 2016, at 7:24 AM, sea <2509044372 at qq.com> wrote:
>
> In transcoding project of LeiXiaoHua(demo of usage of filters), if I use media file with h264 video stream as input file, the function avcodec_open2 will return -1. Media file with video stream in other format, such as mpeg4, mjpeg return 0 (OK). Why ? Someone meets the same problem?
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20161221/5d7e232c/attachment.html>
More information about the Libav-user
mailing list