Re: [FFmpeg-user] MotionJpeg2000/ MXF

2016-12-02 Thread Christoph Gerstbauer
Hi Joseph, Do you want to use MJPEG2000 or MJPEG2000 mathematically LOSSLESS? Best Regards Christoph Am 30.11.16 um 02:08 schrieb Crystal Mastering: Hi Guys I need to convert some video files to MotionJpeg2000, and wrap them in an MXF container. I’m using iffmepg as an interface but it

[FFmpeg-user] How do I add an audio track to an xdcam video?

2016-12-02 Thread Marian Montagnino
How do I add an audio track to an xdcam video using FFMPEG via command line? ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org

[FFmpeg-user] testing rtmp input

2016-12-02 Thread Ricardo Kleemann
Hi, What would be the best way to test whether an rtmp stream is present? I'm reading an rtmp stream as input and creating an mp4 as output. But the stream isn't always present. I was thinking of doing a quick test for stream presence, maybe reading 5 seconds of input as a test prior to

Re: [FFmpeg-user] Faster codec with alpha

2016-12-02 Thread Joshua Grauman
I'll keep that in mind if I really need extra speed. Thanks! Josh On Fri, 2 Dec 2016, Fred Perie wrote: 2016-12-02 17:38 GMT+01:00 Joshua Grauman : Thanks guys, I'll look into these ideas! Josh On Fri, 2 Dec 2016, Paul B Mahol wrote: On 12/2/16, Joshua Grauman

Re: [FFmpeg-user] Faster codec with alpha

2016-12-02 Thread Fred Perie
2016-12-02 17:38 GMT+01:00 Joshua Grauman : > > Thanks guys, I'll look into these ideas! > > Josh > > > On Fri, 2 Dec 2016, Paul B Mahol wrote: > >> On 12/2/16, Joshua Grauman wrote: >>> >>> Hello all, >>> >>> I am using the following command successfully to

Re: [FFmpeg-user] fault-tolerant streaming and local saving at the same time

2016-12-02 Thread Daniel Tisch
> > > 1) Choose some (preferably lossless) codec to use in mpegts > > instead of raw data. > > FFmpeg contains its own lossless codec, ffv1. > mpegts does not support ffv1 either. ffmpeg can write ffv1 to mpegts without warning (just like for yuv), but can not read that back. user@host:~$

Re: [FFmpeg-user] Faster codec with alpha

2016-12-02 Thread Joshua Grauman
Thanks guys, I'll look into these ideas! Josh On Fri, 2 Dec 2016, Paul B Mahol wrote: On 12/2/16, Joshua Grauman wrote: Hello all, I am using the following command successfully to generate a screencast. The video comes from my program 'gen-vid' which outputs the raw

Re: [FFmpeg-user] Faster codec with alpha

2016-12-02 Thread Paul B Mahol
On 12/2/16, Joshua Grauman wrote: > Hello all, > > I am using the following command successfully to generate a screencast. > The video comes from my program 'gen-vid' which outputs the raw frames > with alpha channel. The resulting .avi has alpha channel as well which is > my

Re: [FFmpeg-user] Faster codec with alpha

2016-12-02 Thread Carl Eugen Hoyos
2016-12-02 16:51 GMT+01:00 Joshua Grauman : > Hello all, > > I am using the following command successfully to generate a screencast. The > video comes from my program 'gen-vid' which outputs the raw frames with > alpha channel. The resulting .avi has alpha channel as well which

[FFmpeg-user] Faster codec with alpha

2016-12-02 Thread Joshua Grauman
Hello all, I am using the following command successfully to generate a screencast. The video comes from my program 'gen-vid' which outputs the raw frames with alpha channel. The resulting .avi has alpha channel as well which is my goal. It all works great except that my computer can't handle

Re: [FFmpeg-user] VAAPI Decoding/Encoding with C code

2016-12-02 Thread Mark Thompson
On 02/12/16 14:05, Victor dMdB wrote: > Thanks for the response Mark! > > I might be misreading the source code, but for decoding, doesn't > vaapi_decode_init > do all the heavy lifting? > It seems to already call the functions and sets the variables you > mentioned. > > So might the code be

Re: [FFmpeg-user] VAAPI Decoding/Encoding with C code

2016-12-02 Thread Victor dMdB
Thanks for the response Mark! I might be misreading the source code, but for decoding, doesn't vaapi_decode_init do all the heavy lifting? It seems to already call the functions and sets the variables you mentioned. So might the code be just: avcodec_open2(codecCtx, codec,NULL);

Re: [FFmpeg-user] fault-tolerant streaming and local saving at the same time

2016-12-02 Thread Carl Eugen Hoyos
2016-12-02 14:13 GMT+01:00 Daniel Tisch : >> >> > ffmpeg -i some_source -acodec pcm_u16le -vcodec yuv4 -f mpegts >> >> This command line cannot work: >> You cannot put random data into mpegts. >> > Ok, now I see that mpegts container does not support these raw codecs >

Re: [FFmpeg-user] fault-tolerant streaming and local saving at the same time

2016-12-02 Thread Daniel Tisch
> > > ffmpeg -i some_source -acodec pcm_u16le -vcodec yuv4 -f mpegts > > This command line cannot work: > You cannot put random data into mpegts. > Ok, now I see that mpegts container does not support these raw codecs (however ffmpeg does not print a warning about that). Then I have 2 options to

Re: [FFmpeg-user] VAAPI Decoding/Encoding with C code

2016-12-02 Thread Mark Thompson
On 02/12/16 10:57, Victor dMdB wrote: > I was wondering if there were any examples of implementations with > avformatcontext? > > I've looked at the source of ffmpeg vaapi implementation: > https://www.ffmpeg.org/doxygen/trunk/ffmpeg__vaapi_8c_source.html > > and there is a reference to the cli

Re: [FFmpeg-user] No pixel format specified - meaning of yuv420p?

2016-12-02 Thread Andy Furniss
Andy Furniss wrote: Possibly, or you didn't restrict to baseline. You really should know what format the source video is is to do things properly. If say it's interlaced and stored as 422 or 411 then the default conversion to 420 will be wrong. You would need to add interl=1 to the scale

Re: [FFmpeg-user] No pixel format specified - meaning of yuv420p?

2016-12-02 Thread Andy Furniss
MRob wrote: Thank you for the very fast response, it's appreciated. On 2016-12-01 16:23, Lou wrote: On Thu, Dec 1, 2016, at 03:00 PM, MRob wrote: I'm exporting a video from an older Adobe Elements (Windows) with intention to put it on the web (both H.264 and VP8). I exported using Adobe's "DV

Re: [FFmpeg-user] fault-tolerant streaming and local saving at the same time

2016-12-02 Thread Carl Eugen Hoyos
2016-12-02 12:30 GMT+01:00 Daniel Tisch : > ffmpeg -i some_source -acodec pcm_u16le -vcodec yuv4 -f mpegts This command line cannot work: You cannot put random data into mpegts. > ffmpeg version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg Please understand

[FFmpeg-user] fault-tolerant streaming and local saving at the same time

2016-12-02 Thread Daniel Tisch
Hi Folks, I am trying to achieve what the subject says, and I would like to get some feedback on my setup and a bit of help. The problem: if I use a single ffmpeg command line to read the raw frames from my Blackmagic Decklink capture card, encode it and A) stream over RTMP to a remote server

Re: [FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature ,

2016-12-02 Thread Carl Eugen Hoyos
2016-12-02 11:22 GMT+01:00 Puneet Singh : > I am trying to convert a set of images to a video file. I have tried > various ffmpeg command options but they all have failed. > ffmpeg -r 1 -i image%02d.png Since your files are actually jpeg, not png, you have to force

Re: [FFmpeg-user] continuous live stream from video files

2016-12-02 Thread MRob
On 2016-12-01 23:22, Anthony Ettinger wrote: I found the concatenate option with ffmpeg as described here: https://trac.ffmpeg.org/wiki/Concatenate#protocol I can concatenate static files if I know the list ahead of time and produce an m3u8 stream Would you kindly describe what tools/setup

[FFmpeg-user] VAAPI Decoding/Encoding with C code

2016-12-02 Thread Victor dMdB
I was wondering if there were any examples of implementations with avformatcontext? I've looked at the source of ffmpeg vaapi implementation: https://www.ffmpeg.org/doxygen/trunk/ffmpeg__vaapi_8c_source.html and there is a reference to the cli values here

[FFmpeg-user] unable to convert png to movie, error: Invalid PNG signature ,

2016-12-02 Thread Puneet Singh
Hi all, I am trying to convert a set of images to a video file. I have tried various ffmpeg command options but they all have failed. (command & error logs attached: ffmpeg_errors.txt) The following seems to work for me: ffmpeg -f concat -safe 0 -i <(cat

Re: [FFmpeg-user] continuous live stream from video files

2016-12-02 Thread Paul B Mahol
On 12/2/16, Anthony Ettinger wrote: > I found the concatenate option with ffmpeg as described here: > > https://trac.ffmpeg.org/wiki/Concatenate#protocol > > I can concatenate static files if I know the list ahead of time and produce > an m3u8 stream as output with this: > >