View Issue Details

IDProjectCategoryView StatusLast Update
0000089Cinelerra-GGBugpublic2019-01-06 01:42
ReporterMatN Assigned ToPhyllisSmith  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionnot fixable 
Platformx86_64OSLinuxMintOS Version18.3
Product Version2018-11 
Summary0000089: Youtube rendering fails when using compression hd_h264.youtube
DescriptionTest setup: load HD 1080p50 video, 5:44 minutes, 450 MByte, 2 audio tracks.

I applied no changes, just rendered to ffmpeg.youtube, using the default compression hd.youtube, no changes in the video setting otherwise. This gives after some 15 minutes on my system a file of 95 MByte which plays fine.

Then I did the render again, this time format ffmpeg.youtube with compression hd_h264.youtube, again with no other changes in the video settings, using a slightly different file name. I got two pop-up error windows: one a real error, another that it cannot open the file (but it has created that file with a size of some 550K).

Pop-up window titled: Cinelerra: errors
The window contains two lines:
   int FFMPEG::init_encode(const char *):
   mismatch audio/video file format: /home/mat/Enkhuizen2.youtube

So there are two errors here:
- this "mismatch¨ error.
- the second window should not appear, it was able to create the file and write something to it.

I've labeled the "severity" minor, because the default settings work fine. But if this should be different (major), please change it.
Steps To ReproduceSee description
TagsNo tags attached.

Activities

PhyllisSmith

2018-12-31 02:41

manager   ~0000451

I will try to reproduce this tomorrow

PhyllisSmith

2019-01-02 20:21

manager   ~0000459

I could not find an easier way to relay to an user the need to change the audio setup when you change the video setup. So if you look at the parameters in the Video wrench you will see the comments as the top:

# YOUTUBE High Definition; for resolution of 1920x1080;
# 24/25/30 fps. Change audio to: stereo_with_h264. ...

Basically you have to change the audio wrench to "stereo_with_h264" in order to use this opts file. The standard default setup was for users who just want to make a youtube video by default and not have to read or figure much out. This is not really explained in Features 5 either as it was just a quick addition. All of the youtube and various other formats need flushing out -- something that can relatively easily be done by a non-programmer. Feel free to request a feature in MantisBT and add a tag of "HELP needed". I will close this tomorrow.

MatN

2019-01-05 22:11

reporter   ~0000499

Confirmed. If I change the audio settings to what you say, it works, producing a 452M file in 28 minutes, so twice as long.
I now noticed the text you refer to, but normally I would not look at those texts, assuming they are parameters for experts.
Maybe Cinelerra should detect mismatches and refuse to render with an informative message.

PhyllisSmith

2019-01-06 01:42

manager   ~0000504

The error message that comes back from ffmpeg when there is a mismatch is passed along to the user as in the last line:

Pop-up window titled: Cinelerra: errors
The window contains two lines:
   int FFMPEG::init_encode(const char *):
   mismatch audio/video file format: /home/mat/Enkhuizen2.youtube

so that "mismatch audio/video file format" is about all that is easily reported. Without actually looking, I suspect this line is what ffmpeg would report if you also did the encode from an ffmpeg command line. If a better way than putting a comment in the audio opts file comes up, we can implement that instead. It is still better than just putting it in a manual that gets missed. There are probably a lot better ways to make a youtube video than cinelerra, but at least a casual user can get a default one created.

Issue History

Date Modified Username Field Change
2018-12-30 19:41 MatN New Issue
2018-12-31 02:38 PhyllisSmith Assigned To => PhyllisSmith
2018-12-31 02:38 PhyllisSmith Status new => assigned
2018-12-31 02:41 PhyllisSmith Note Added: 0000451
2019-01-02 20:21 PhyllisSmith Note Added: 0000459
2019-01-05 22:11 MatN Note Added: 0000499
2019-01-06 01:42 PhyllisSmith Status assigned => closed
2019-01-06 01:42 PhyllisSmith Resolution open => not fixable
2019-01-06 01:42 PhyllisSmith Note Added: 0000504