Opened 3 years ago

Closed 2 years ago

#9213 closed defect (invalid)

Ffmpeg examples not working

Reported by: Rafael Lopez Owned by:
Priority: normal Component: undetermined
Version: 4.3.2 Keywords: h264 examples
Cc: Rafael Lopez Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

The video resulting from running the examples is not playable by VLC

./encode_video /tmp/test.mp4 libx264

Also no duration with ffmpeg -i:

ffmpeg -i /tmp/test.mp4

ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers

built with gcc 8 (Debian 8.3.0-6)
configuration: --disable-doc --disable-shared --enable-pic --enable-gpl --enable-nonfree --enable-libtheora --enable-libx264 --enable-openssl --enable-libvpx --prefix=/opt/ffmpeg-4.3.1/
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100

Input #0, h264, from 'prueba.mp4':

Duration: N/A, bitrate: N/A

Stream #0:0: Video: h264 (High), yuv420p(progressive), 352x288, 25 fps, 25 tbr, 1200k tbn, 50 tbc

Change History (2)

comment:1 by Rafael Lopez, 3 years ago

Summary: Ffmpex examples not workingFfmpeg examples not working

comment:2 by Elon Musk, 2 years ago

Resolution: invalid
Status: newclosed

Example encode raw format, not .mp4.

This is by design.

Note: See TracTickets for help on using tickets.