[FFmpeg-user] Transcode mjpeg to mpeg-ts or ts-file

christian at ilm-provider.de christian at ilm-provider.de
Tue May 14 12:18:24 EEST 2019


Hello,


i will transcode an mjpeg url from mobotix cam:

http://192.168.1.10/control/faststream.jpg?stream=full&quality=90

to an mpegts ts.

Is this possible?

Also an ts-file is for me possible.

Input #0, mpjpeg, from 
'http://192.168.1.10/control/faststream.jpg?stream=full&quality=90':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 
1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
[swscaler @ 000001c5e96fac80] deprecated pixel format used, make sure 
you did set range correctly
Output #0, mpegts, to 'test.ts':
   Metadata:
     encoder         : Lavf58.20.100
     Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 
DAR 16:9], q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
     Metadata:
       encoder         : Lavc58.35.100 mpeg2video
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
[mpjpeg @ 000001c5e964a040] Expected boundary '--' not found, instead 
found a line of 4 bytes
http://192.168.1.10/control/faststream.jpg?stream=full&quality=90: 
Invalid data found when processing input
frame=    2 fps=0.0 q=2.0 Lsize=     510kB time=00:00:00.00 
bitrate=380101818.2kbits/s speed=1.75e-05x
video:473kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 7.896975%



thanks

Christian




More information about the ffmpeg-user mailing list