[Cin] mpeg2 encoding with ffmpeg (for dvd, from doom9 forums)
Phyllis Smith
phylsmith2017 at gmail.com
Sun Nov 21 17:21:16 CET 2021
>
> I tried to create mpeg2 two-pass video profiles according to
>
>
> https://cinelerra-gg.org/download/CinelerraGG_Manual/Two_pass_Encoding_with_FFmp.html
>
> and info above
>
> see attached (I tested those on android, so cin_stat_file must be altered
> for more generic logfile location)
>
> Note, second pass will crash if logfile was not created or removed...
>
>>
>> As starting point for first shot just increase bitrates to BD-levels?
>>
>> In doing a quick test of the 2 pass mpeg this morning after changing the
location of the logfile, it worked. But it did put out a couple of error
messages on pass 2which I am not too sure about. However, when I ran pass
2 without having run pass 1 first, it put out correct standard error
messages and did not crash - which is good. Attached you will see the 2
error messages on pass 2 as also shown below. And my audio was not set up
to work but I am not sure if 2 passes even allow for that.
FFStream::encode_frame: encode failed.
file: /tmp/junbefore1.mpeg
err: Operation not permitted
FFStream::flush failed
:file:/tmp/junbefore1.mpeg
err: Operation not permitted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211121/3c390732/attachment.htm>
-------------- next part --------------
Cinelerra Infinity - built: Nov 20 2021 17:46:56
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.
build plugin index for: /tmp/cintoday/cinelerra-5.1/bin/plugins
build lv2 index for: $CIN_PATH/lv2
build ladspa plugin index for: /tmp/cintoday/cinelerra-5.1/bin/ladspa
int FFMPEG::init_encoder(const char*):
Render::render_single: Session finished.
video_pts_padding: video start padding pid 00 @ 939 ( 31.464756) 4
video_pts_padding: video end padding pid 00 @ 945 ( 31.531489) 3
video_pts_skipping: video start skipping pid 00 @ 948 ( 31.498122) 4 frames
video_pts_skipping: video end skipping pid 00 @ 951 ( 31.731689) 4 frames
video_pts_padding: video start padding pid 00 @ 2076 ( 69.402656) 4
video_pts_padding: video end padding pid 00 @ 2082 ( 69.469389) 3
video_pts_skipping: video start skipping pid 00 @ 2085 ( 69.436022) 4 frames
video_pts_skipping: video end skipping pid 00 @ 2088 ( 69.736322) 4 frames
Render::render_single: Session finished.
** rendered 2712 frames in 12.656 secs, 214.286 fps
video_pts_padding: video start padding pid 00 @ 939 ( 31.464756) 4
video_pts_padding: video end padding pid 00 @ 945 ( 31.531489) 3
video_pts_skipping: video start skipping pid 00 @ 948 ( 31.498122) 4 frames
video_pts_skipping: video end skipping pid 00 @ 2088 ( 69.736322) 4 frames
[mpeg2video encoder @ 0x7f3bd0044340] Input is longer than 2-pass log file
FFStream::encode_frame: encode failed.
file: /tmp/junbefore1.mpeg
err: Operation not permitted
FFStream::flush failed
:file:/tmp/junbefore1.mpeg
err: Operation not permitted
Render::render_single: Session finished.
** rendered 2712 frames in 10.158 secs, 266.982 fps
More information about the Cin
mailing list