the streamingserver was not running now it is ok
thanks allot Am Do., 27. Feb. 2020 um 13:27 Uhr schrieb Gerhard Dorner < [email protected]>: > only the stream does not work > > > > > with input file: >> >> ffmpeg -i small.mp4 -c:v h264_omx -r 10 -b:v 2M -an -f rtsp >> rtsp://localhost:80/live/stream >> ffmpeg version git-2020-02-22-c116dd8 Copyright (c) 2000-2020 the FFmpeg >> developers >> built with gcc 8 (Raspbian 8.3.0-6+rpi1) >> configuration: --arch=armel --target-os=linux --enable-gpl --enable-omx >> --enable-omx-rpi --enable-nonfree --enable-libfreetype --enable-libx264 >> --enable-libmp3lame --enable-mmal --enable-indev=alsa --enable-outdev=alsa >> libavutil 56. 41.100 / 56. 41.100 >> libavcodec 58. 72.100 / 58. 72.100 >> libavformat 58. 39.100 / 58. 39.100 >> libavdevice 58. 9.103 / 58. 9.103 >> libavfilter 7. 76.100 / 7. 76.100 >> libswscale 5. 6.100 / 5. 6.100 >> libswresample 3. 6.100 / 3. 6.100 >> libpostproc 55. 6.100 / 55. 6.100 >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'small.mp4': >> Metadata: >> major_brand : mp42 >> minor_version : 0 >> compatible_brands: mp42isomavc1 >> creation_time : 2010-03-20T21:29:11.000000Z >> encoder : HandBrake 0.9.4 2009112300 >> Duration: 00:00:05.57, start: 0.000000, bitrate: 551 kb/s >> Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / >> 0x31637661), yuv420p(tv, bt709), 560x320, 465 kb/s, 30 fps, 30 tbr, 90k >> tbn, 60 tbc (default) >> Metadata: >> creation_time : 2010-03-20T21:29:11.000000Z >> encoder : JVT/AVC Coding >> Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, >> mono, fltp, 83 kb/s (default) >> Metadata: >> creation_time : 2010-03-20T21:29:11.000000Z >> Stream mapping: >> Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_omx)) >> Press [q] to stop, [?] for help >> [h264_omx @ 0x1e7d710] Using OMX.broadcom.video_encode >> Could not write header for output file #0 (incorrect codec parameters ?): >> Invalid data found when processing input >> Error initializing output stream 0:0 -- >> Conversion failed! >> > > > > with in and out file: > >> ffmpeg -i small.mp4 -c:v h264_omx -r 10 -b:v 2M -an test.mp4 >> ffmpeg version git-2020-02-22-c116dd8 Copyright (c) 2000-2020 the FFmpeg >> developers >> built with gcc 8 (Raspbian 8.3.0-6+rpi1) >> configuration: --arch=armel --target-os=linux --enable-gpl --enable-omx >> --enable-omx-rpi --enable-nonfree --enable-libfreetype --enable-libx264 >> --enable-libmp3lame --enable-mmal --enable-indev=alsa --enable-outdev=alsa >> libavutil 56. 41.100 / 56. 41.100 >> libavcodec 58. 72.100 / 58. 72.100 >> libavformat 58. 39.100 / 58. 39.100 >> libavdevice 58. 9.103 / 58. 9.103 >> libavfilter 7. 76.100 / 7. 76.100 >> libswscale 5. 6.100 / 5. 6.100 >> libswresample 3. 6.100 / 3. 6.100 >> libpostproc 55. 6.100 / 55. 6.100 >> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'small.mp4': >> Metadata: >> major_brand : mp42 >> minor_version : 0 >> compatible_brands: mp42isomavc1 >> creation_time : 2010-03-20T21:29:11.000000Z >> encoder : HandBrake 0.9.4 2009112300 >> Duration: 00:00:05.57, start: 0.000000, bitrate: 551 kb/s >> Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / >> 0x31637661), yuv420p(tv, bt709), 560x320, 465 kb/s, 30 fps, 30 tbr, 90k >> tbn, 60 tbc (default) >> Metadata: >> creation_time : 2010-03-20T21:29:11.000000Z >> encoder : JVT/AVC Coding >> Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, >> mono, fltp, 83 kb/s (default) >> Metadata: >> creation_time : 2010-03-20T21:29:11.000000Z >> Stream mapping: >> Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_omx)) >> Press [q] to stop, [?] for help >> [h264_omx @ 0x397daf0] Using OMX.broadcom.video_encode >> Output #0, mp4, to 'test.mp4': >> Metadata: >> major_brand : mp42 >> minor_version : 0 >> compatible_brands: mp42isomavc1 >> encoder : Lavf58.39.100 >> Stream #0:0(und): Video: h264 (h264_omx) (avc1 / 0x31637661), >> yuv420p, 560x320, q=2-31, 2000 kb/s, 10 fps, 10240 tbn, 10 tbc (default) >> Metadata: >> creation_time : 2010-03-20T21:29:11.000000Z >> encoder : Lavc58.72.100 h264_omx >> frame= 57 fps=0.0 q=-0.0 Lsize= 284kB time=00:00:05.60 bitrate= >> 415.8kbits/s dup=0 drop=109 speed= 7.3x >> video:283kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB >> muxing overhead: 0.363408% >> pi@garage-rpi:~/Videos $ >> > > > camera in file out: > >> pi@garage-rpi:~/Videos $ ffmpeg -input_format yuyv422 -f video4linux2 -s >> 1280x720 -r 10 -i /dev/video0 -c:v h264_omx -r 10 -b:v 2M -an test.mp4 >> ffmpeg version git-2020-02-22-c116dd8 Copyright (c) 2000-2020 the FFmpeg >> developers >> built with gcc 8 (Raspbian 8.3.0-6+rpi1) >> configuration: --arch=armel --target-os=linux --enable-gpl --enable-omx >> --enable-omx-rpi --enable-nonfree --enable-libfreetype --enable-libx264 >> --enable-libmp3lame --enable-mmal --enable-indev=alsa --enable-outdev=alsa >> libavutil 56. 41.100 / 56. 41.100 >> libavcodec 58. 72.100 / 58. 72.100 >> libavformat 58. 39.100 / 58. 39.100 >> libavdevice 58. 9.103 / 58. 9.103 >> libavfilter 7. 76.100 / 7. 76.100 >> libswscale 5. 6.100 / 5. 6.100 >> libswresample 3. 6.100 / 3. 6.100 >> libpostproc 55. 6.100 / 55. 6.100 >> Input #0, video4linux2,v4l2, from '/dev/video0': >> Duration: N/A, start: 7448.439089, bitrate: 147456 kb/s >> Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, >> 147456 kb/s, 10 fps, 10 tbr, 1000k tbn, 1000k tbc >> File 'test.mp4' already exists. Overwrite? [y/N] y >> Stream mapping: >> Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_omx)) >> Press [q] to stop, [?] for help >> [h264_omx @ 0x2e367b0] Using OMX.broadcom.video_encode >> Output #0, mp4, to 'test.mp4': >> Metadata: >> encoder : Lavf58.39.100 >> Stream #0:0: Video: h264 (h264_omx) (avc1 / 0x31637661), yuv420p, >> 1280x720, q=2-31, 2000 kb/s, 10 fps, 10240 tbn, 10 tbc >> Metadata: >> encoder : Lavc58.72.100 h264_omx >> frame= 142 fps= 13 q=-0.0 Lsize= 3477kB time=00:00:14.10 >> bitrate=2019.9kbits/s speed=1.26x >> video:3475kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB >> muxing overhead: 0.040662% >> > > > > > > > > > Am Do., 27. Feb. 2020 um 12:59 Uhr schrieb Carl Eugen Hoyos < > [email protected]>: > >> Am Do., 27. Feb. 2020 um 12:09 Uhr schrieb Gerhard Dorner >> <[email protected]>: >> >> > ffmpeg -input_format yuyv422 -f video4linux2 -s 1280x720 -r 10 -i >> > /dev/video0 -c:v h264_omx -r 10 -b:v 2M -an -f rtsp >> > rtsp://localhost:80/live/stream >> >> Is the issue you see only reproducible with device input and network >> output or is it also reproducible with filter (or file) input and file >> output? >> >> Carl Eugen >> _______________________________________________ >> ffmpeg-user mailing list >> [email protected] >> https://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> To unsubscribe, visit link above, or email >> [email protected] with subject "unsubscribe". > > > > -- > Freundliche Grüsse > > *Gerhard Dorner* > -- Freundliche Grüsse *Gerhard Dorner* _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
