News:

--

Main Menu

DV/MJPEG Encoding

Started by McBrady, November 11, 2020, 02:02:27 PM

Previous topic - Next topic

McBrady

Hello...

I tried to encode a video in DV or MJPEG for demonstration purposes. AVIDEMUX contains both codecs, but I can't get them to work properly.

Any attempt to encode the video in MJPEG the result is a blocky image.

Setting the DV codec doesn't work at all. There is just an error message popping up: "Can't configure encoder. Is the bitrate too low?" (Translated from German)
Hitting 'Configure' when DV is selected has no effect, so how can the bitrate issue be fixed?

If you need any information (log-files or screenshots) please reply and I will provide them.

Thanks in advance for your help...

eumagga0x2a

Please ensure you use the latest build https://avidemux.org/nightly/win64/ (currently from Nov 9, 2020), the issue with very bad MJPEG quality was fixed over two years ago.

Regarding DV, the encoder is extremely limited regarding input pixel format and dimensions. libavcodec logs following on attempt to use the encoder in Avidemux:

[adm_lavLogCallback] 14:14:30-920  [lavc] Found no DV profile for 720x480 yuv420p video. Valid DV profiles are:
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 720x480; pixel format: yuv411p, framerate: 30000/1001
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 720x576; pixel format: yuv420p, framerate: 25/1
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 720x576; pixel format: yuv411p, framerate: 25/1
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 720x480; pixel format: yuv422p, framerate: 30000/1001
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 720x576; pixel format: yuv422p, framerate: 25/1
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 1280x1080; pixel format: yuv422p, framerate: 30000/1001
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 1440x1080; pixel format: yuv422p, framerate: 25/1
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 960x720; pixel format: yuv422p, framerate: 60000/1001
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 960x720; pixel format: yuv422p, framerate: 50/1
 [adm_lavLogCallback] 14:14:30-920  [lavc] Frame size: 720x576; pixel format: yuv420p, framerate: 25/1

As the internal pixel format in Avidemux is YV12 (yuv420p with U and V planes swapped), this means that only 720x576 at 25fps is viable.

McBrady

Thanks a lot. Both options did the trick...