Using CinGG compiled with your patch, I ran some tests with an H.264/MP4 source file and an audio track. When I set g=1 and b=100M, I keep getting the same errors. If I don't render the audio and set g=1 and b=100M, everything works fine. The resulting file is 2.1GB. When I don't render the audio and don't use those two parameters (i.e., using the original preset), the rendering works (file size is 25.3MB), but I get a long list of warnings: file:/home/paz/test_avc.mxf err: Not yet implemented in FFmpeg, patches welcome FFStream::encode_frame: encode failed. file: /home/paz/test_avc.mxf err: Not yet implemented in FFmpeg, patches welcome FFMPEG::mux_video err: Operation not permitted FFStream::write_packet: write packet failed. file:/home/paz/test_avc.mxf err: Not yet implemented in FFmpeg, patches welcome FFStream::encode_frame: encode failed. file: /home/paz/test_avc.mxf err: Not yet implemented in FFmpeg, patches welcome FFMPEG::mux_video err: Operation not permitted FFStream::write_packet: write packet failed. The difference in size makes me think that our mxf_avcintra_100.mxf preset is actually of the LongGOP type. I found some old FFmpeg bugs (not in FFmpeg 8, though) related to LongGOP sources that caused problems when converting to MXF. I also found other old bugs that mentioned that transcoding to MXF could cause problems due to Annex-B (which I don’t know what it is). For example: https://patchwork.ffmpeg.org/project/ffmpeg/patch/AM7PR03MB66600B2742E305A97... Could they be related to our case, even though we're using FFmpeg 8? P.S.: I'm sorry, but I won't be around for a couple of days.
пт, 26 июн. 2026 г., 12:31 Andrea paz <gamberucci.andrea@gmail.com>:
Using CinGG compiled with your patch, I ran some tests with an H.264/MP4 source file and an audio track. When I set g=1 and b=100M, I keep getting the same errors.
Are you sure you set Project samplerate to 48000 …? If I don't render the audio and set g=1 and b=100M, everything works fine.
The resulting file is 2.1GB. When I don't render the audio and don't use those two parameters (i.e., using the original preset), the rendering works (file size is 25.3MB), but I get a long list of warnings:
file:/home/paz/test_avc.mxf err: Not yet implemented in FFmpeg, patches welcome FFStream::encode_frame: encode failed. file: /home/paz/test_avc.mxf err: Not yet implemented in FFmpeg, patches welcome FFMPEG::mux_video err: Operation not permitted FFStream::write_packet: write packet failed. file:/home/paz/test_avc.mxf err: Not yet implemented in FFmpeg, patches welcome FFStream::encode_frame: encode failed. file: /home/paz/test_avc.mxf err: Not yet implemented in FFmpeg, patches welcome FFMPEG::mux_video err: Operation not permitted FFStream::write_packet: write packet failed.
The difference in size makes me think that our mxf_avcintra_100.mxf preset is actually of the LongGOP type.
Well, this is definitely oversight! I think we better to add g=1 to all I-only encoding profiles. I'll do that.
I found some old FFmpeg bugs (not in FFmpeg 8, though) related to LongGOP sources that caused problems when converting to MXF. I also found other old bugs that mentioned that transcoding to MXF could cause problems due to Annex-B (which I don’t know what it is). For example:
https://patchwork.ffmpeg.org/project/ffmpeg/patch/AM7PR03MB66600B2742E305A97... Could they be related to our case, even though we're using FFmpeg 8?
Ffmpeg cli is more tightly coupled with libav* libraries, as its main consumer. But even this sometimes fail, at least from user perspective. There is more upcoming breakage in the way of ffmpeg 9.0 (in 10 days or so) but honestly I think I just stop upgrading ffmpeg at this point. Moreover, I am very very tired to be dragged via this "update process" no matter what system I use. I think I'll try to just go off Internet for some time, because it just sucks my life out, with its brokeness and constant stream of pointless distractions. Sometimes, I want to enjoy something via teh computers, not serve them (not them really, tech companies behind them) like slave. There is countless amount of ebooks and short vids I accumulated, with enough music to go on for days. There are things I never learned, just consuming endlessly this stream of someone else thoughts. I dislike productive mindset, I dislike how our sociality used against us. There is not much I can do, but at least I can try and walk a bit aside from all this "progress". So I'll work on this bug but then ... I hope to disentangle myself a bit from all this dependency.
P.S.: I'm sorry, but I won't be around for a couple of days.
participants (2)
-
Andrea paz -
Andrew Randrianasulu