Thanks for your reply.
I am running Debian bookworm and "apt-get update && apt-get upgrade -y " daily.
I do not have any camera connected to the Pi. I understood /dev/video0 is irrelevant now. Thanks a lot.
I tried to transcode an mpeg2ts file to h264 mp4 file, with h264_v4l2m2m codec.
commandline:
>>ffmpeg -i test.ts -an -c:v h264_v4l2m2m test.mp4 2>log
log:It seems that ffmpeg error message matches the missing /dev/video1* issue.
What should I examine next?
Any suggestion will be welcomed. Thanks in advance.
I am running Debian bookworm and "apt-get update && apt-get upgrade -y " daily.
I do not have any camera connected to the Pi. I understood /dev/video0 is irrelevant now. Thanks a lot.
I tried to transcode an mpeg2ts file to h264 mp4 file, with h264_v4l2m2m codec.
commandline:
>>ffmpeg -i test.ts -an -c:v h264_v4l2m2m test.mp4 2>log
log:
Code:
ffmpeg version 5.1.4-0+deb12u1 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12 (Debian 12.2.0-14) configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared WARNING: library configuration mismatch avcodec configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100[libaribb24 @ 0xaaaac4d11d20] arib parser was created[libaribb24 @ 0xaaaac4d11d20] arib decoder was created[mpeg2video @ 0xaaaac4d108a0] Invalid frame dimensions 0x0. Last message repeated 9 times[mpegts @ 0xaaaac4d0b5e0] start time for stream 3 is not set in estimate_timings_from_pts[mpegts @ 0xaaaac4d0b5e0] Could not find codec parameters for stream 4 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaaac4d0b5e0] Could not find codec parameters for stream 5 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaaac4d0b5e0] Could not find codec parameters for stream 6 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaaac4d0b5e0] Could not find codec parameters for stream 7 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaaac4d0b5e0] Could not find codec parameters for stream 8 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaaac4d0b5e0] Could not find codec parameters for stream 9 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaaac4d0b5e0] Could not find codec parameters for stream 10 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[libaribb24 @ 0xaaaac4d11d20] arib decoder destroyed[libaribb24 @ 0xaaaac4d11d20] arib parser was destroyedInput #0, mpegts, from 'test.ts': Duration: 00:00:58.71, start: 14579.152267, bitrate: 15001 kb/s Program 1024 Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn Side data: cpb: bitrate max/min/avg: 20000000/0/0 buffer size: 9781248 vbv_delay: N/A Stream #0:1[0x110]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 71 kb/s Stream #0:2[0x130]: Subtitle: arib_caption (Profile A) ([6][0][0][0] / 0x0006) Stream #0:3[0x138]: Data: bin_data ([6][0][0][0] / 0x0006) Stream #0:4[0x140]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:5[0x160]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:6[0x161]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:7[0x162]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:8[0x170]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:9[0x171]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:10[0x172]: Unknown: none ([13][0][0][0] / 0x000D)File 'test.mp4' already exists. Overwrite? [y/N] Not overwriting - exitingffmpeg version 5.1.4-0+deb12u1 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12 (Debian 12.2.0-14) configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared WARNING: library configuration mismatch avcodec configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100[libaribb24 @ 0xaaab06ce6d20] arib parser was created[libaribb24 @ 0xaaab06ce6d20] arib decoder was created[mpeg2video @ 0xaaab06ce58a0] Invalid frame dimensions 0x0. Last message repeated 9 times[mpegts @ 0xaaab06ce05e0] start time for stream 3 is not set in estimate_timings_from_pts[mpegts @ 0xaaab06ce05e0] Could not find codec parameters for stream 4 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaab06ce05e0] Could not find codec parameters for stream 5 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaab06ce05e0] Could not find codec parameters for stream 6 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaab06ce05e0] Could not find codec parameters for stream 7 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaab06ce05e0] Could not find codec parameters for stream 8 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaab06ce05e0] Could not find codec parameters for stream 9 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[mpegts @ 0xaaab06ce05e0] Could not find codec parameters for stream 10 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codecConsider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options[libaribb24 @ 0xaaab06ce6d20] arib decoder destroyed[libaribb24 @ 0xaaab06ce6d20] arib parser was destroyedInput #0, mpegts, from 'test.ts': Duration: 00:00:58.71, start: 14579.152267, bitrate: 15001 kb/s Program 1024 Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn Side data: cpb: bitrate max/min/avg: 20000000/0/0 buffer size: 9781248 vbv_delay: N/A Stream #0:1[0x110]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 71 kb/s Stream #0:2[0x130]: Subtitle: arib_caption (Profile A) ([6][0][0][0] / 0x0006) Stream #0:3[0x138]: Data: bin_data ([6][0][0][0] / 0x0006) Stream #0:4[0x140]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:5[0x160]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:6[0x161]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:7[0x162]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:8[0x170]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:9[0x171]: Unknown: none ([13][0][0][0] / 0x000D) Stream #0:10[0x172]: Unknown: none ([13][0][0][0] / 0x000D)Stream mapping: Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_v4l2m2m))Press [q] to stop, [?] for help[h264_v4l2m2m @ 0xaaab06d0f420] Could not find a valid device[h264_v4l2m2m @ 0xaaab06d0f420] can't configure encoderError initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or heightConversion failed!
What should I examine next?
Any suggestion will be welcomed. Thanks in advance.
Statistics: Posted by kitahachi — Wed May 08, 2024 9:59 am