2016-12-02 14:13 GMT+01:00 Daniel Tisch <[email protected]>:
>>
>> > 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).

Yes, but you are generally responsible for your command line.
(That requests codec and format)

> Then I have 2 options to achieve my goal, right?
> 1) Choose some (preferably lossless) codec to use in mpegts
> instead of raw data.

FFmpeg contains its own lossless codec, ffv1.

> 2) Choose some other muxer instead of mpegts.

mkv does have a live option but it is not really suitable
for rawvideo either.

Carl Eugen
_______________________________________________
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".

Reply via email to