View Issue Details

IDProjectCategoryView StatusLast Update
0000327Cinelerra-GG[All Projects] Bugpublic2019-10-21 14:37
ReporterAndrew-R Assigned ToPhyllisSmith  
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version2019-09 
Target VersionFixed in Version 
Summary0000327: FFMPEG/xvid encoding doesn't allow me to select audio, only video
DescriptionTry to render file as FFMPEG, type xvid. CinGG will not allow you to set audio encoding checkbox, so resulting file will be video-only
Steps To ReproduceOpen any video file recognizable by CinGG, select small region, try to render it as ffmpeg/xvid type.
Additional InformationProbably all ffmpeg/avi encoders are affected, i tried to add asv1 avi opt file, and it was showing same behavior
TagsNo tags attached.

Activities

PhyllisSmith

PhyllisSmith

2019-10-21 13:46

manager   ~0002310

Last edited: 2019-10-21 14:37

View 2 revisions

Confirmed. GG sort of remembers having addressed this once but will have to look at it again.
Andrew: I did not see your follow up notes for some reason so will now pass them along to gg.

Andrew-R

Andrew-R

2019-10-20 22:50

reporter   ~0002307

Actually, setting it like this
codec_tag 1145656920

makes correct avi file with fourcc XVID.

Found via "hexdump -C" + kcalc (hex->dec conversion) + ffmpeg's documentation at https://www.ffmpeg.org/doxygen/3.2/structAVCodecContext.html

avi-2.xvid (31 bytes)
Andrew-R

Andrew-R

2019-10-20 15:46

reporter   ~0002306

Still, resulting .xvid file doesn't have xvid vtag:


mplayer /dev/shm/msmpeg4.xvid -demuxer avi
MPlayer SVN-r38152-5.5.0 (C) 2000-2019 MPlayer Team
224 audio & 466 video codecs

Playing /dev/shm/msmpeg4.xvid.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [FMP4] 720x400 24bpp 25.000 fps 322.2 kbps (39.3 kbyte/s)

may be cosmetics, but it seems vtag option from opt file not really applied for some reason .....
Andrew-R

Andrew-R

2019-10-20 15:09

reporter   ~0002305

Ah, you just need more opt files in audio folder!

so for example file avi_mp3.avi in /usr/share/cin/ffmpeg/audio
will have such content:
avi libmp3lame

and avi_pcm_s16.avi will have:
avi pcm_s16le

avi.xvid (16 bytes)
avi_mp3.avi (15 bytes)
avi_pcm_s16.avi (14 bytes)
Andrew-R

Andrew-R

2019-10-20 13:54

reporter  

asv1.avi (10 bytes)

Issue History

Date Modified Username Field Change
2019-10-20 13:54 Andrew-R New Issue
2019-10-20 13:54 Andrew-R File Added: asv1.avi
2019-10-20 15:09 Andrew-R File Added: avi.xvid
2019-10-20 15:09 Andrew-R File Added: avi_mp3.avi
2019-10-20 15:09 Andrew-R File Added: avi_pcm_s16.avi
2019-10-20 15:09 Andrew-R Note Added: 0002305
2019-10-20 15:46 Andrew-R Note Added: 0002306
2019-10-20 22:50 Andrew-R File Added: avi-2.xvid
2019-10-20 22:50 Andrew-R Note Added: 0002307
2019-10-21 13:46 PhyllisSmith Assigned To => PhyllisSmith
2019-10-21 13:46 PhyllisSmith Status new => confirmed
2019-10-21 13:46 PhyllisSmith Note Added: 0002310
2019-10-21 14:37 PhyllisSmith Note Edited: 0002310 View Revisions