[FFmpeg-user] coder for rawvideo

theairkit theairkit at gmail.com
Wed May 8 13:34:05 CEST 2013


Nicolas George <nicolas.george at normalesup.org> писал(а) в своём письме  
Wed, 08 May 2013 14:24:07 +0700:

> Le nonidi 19 floréal, an CCXXI, theairkit a écrit :
>> Is there a way to encode raw video (audio+video) and code back
>> (audio+video) to raw?
>>
>> I trying:
>>
>> cat ./rawvideo | ffmpeg -re -i -acodec copy -vcodec copy -f rawvideo
>> -y ./outfile
>>
>> But see, that only video copying:
>
> How could there be audio in a raw video file? Raw video means just that:  
> a
> file with just uncompressed video: no headers, no streams or packets
> delimiters, just data.
>
> Where does your "./rawvideo" file come from?

./rawvideo  - result of command:

/data/soft/bmdtools/bmdcapture -M 2 -A 2 -V 3 -m 8 -F nut -f ./rawvideo

this command capture from camera (via HDMI), and write to this file

more about this command: https://github.com/lu-zero/bmdtools


so, then i run ffmpeg i see follow:

Input #0, nut, from 'pipe:':
   Metadata:
     encoder         : Lavf54.63.104
   Duration: N/A, start: 0.000000, bitrate: 1536 kb/s
     Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1920x1080,  
29.97 tbr, 60k tbn, 60k tbc
     Stream #0:1: Audio: pcm_s16le (PSD[16] / 0x10445350), 48000 Hz,  
stereo, s16, 1536 kb/s


More information about the ffmpeg-user mailing list