QSV Decoder in FFMPEG needs video stream to start with an I Frame. Live Streams usually does not get an I Frame at the begging, and FFMPEG using QSV Decoder returns error.
I've get to decode and encode a Live Stream using QSV using a workaround (copying the live stream into a pipe, and then transcoding that pipe usign QSV Decoder/Encoder): ffmpeg -i " http://localhost:1212/upnp/channelstream/3713217958821953687%7ClaSexta%20HD%20%28spa%29.ts" -vcodec copy -acodec copy -f mpegts pipe:1|ffmpeg.exe -hwaccel qsv -vcodec h264_qsv -i pipe:0 -vcodec h264_qsv -bufsize 4M -b:v 3200k -r 50 -map 0:a:0 -map 0:v:0 -vf deinterlace_qsv -acodec aac -ab 256k -ar 48000 -async 1 -y test.ts The thing is I need to put the command line into a third program which doesn't support pipes ("|")... Is there anyway to get FFMPEG discard the beggining of the live stream until it gets an IFrame, seek to an IFrame in an input buffer or similar without using a pipe "|" ? Thanks in advance. _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
