HDV 1080i to DVD 16x9 with MP2 audio
As I could not recall it : Loaded a HDV 1440x108i with native MP2 stereo audio, and then Create DVD 16x9 rendering does transcode the audio to AC3 by default. Video is displayed with correct aspect ratio using VLC and . Input #0, mpeg, from 'dvd.mpg': Duration: 00:06:58.08, start: 0.160000, bitrate: 8269 kb/s Stream #0:0[0x1bf]: Data: dvd_nav_packet Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn Side data: cpb: bitrate max/min/avg: 8000000/0/0 buffer size: 1835008 vbv_delay: N/A Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
пн, 29 янв. 2024 г., 02:08 Terje J. Hanssen via Cin < [email protected]>:
As I could not recall it :
Loaded a HDV 1440x108i with native MP2 stereo audio, and then Create DVD 16x9 rendering does transcode the audio to AC3 by default. Video is displayed with correct aspect ratio using VLC and .
Input #0, mpeg, from 'dvd.mpg': Duration: 00:06:58.08, start: 0.160000, bitrate: 8269 kb/s Stream #0:0[0x1bf]: Data: dvd_nav_packet Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, bt470bg, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn Side data: cpb: bitrate max/min/avg: 8000000/0/0 buffer size: 1835008 vbv_delay: N/A Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...? but it will be re-encoded.
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
MP2 is certainly a legitimate audio format for DVD. Unfortunately, choosing MPEG audio and then clicking on the wrench to get Layer II (2) rather than Layer III (3) produces the exact same x.mp3 results. Maybe there is another trick that Andrew knows about?
Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
but it will be re-encoded.
пн, 29 янв. 2024 г., 03:39 Phyllis Smith <[email protected]>:
MP2 is certainly a legitimate audio format for DVD. Unfortunately, choosing MPEG audio and then clicking on the wrench to get Layer II (2) rather than Layer III (3) produces the exact same x.mp3 results. Maybe there is another trick that Andrew knows about?
but is it really mp3? what ffprobe says?
Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
but it will be re-encoded.
Andrew, you are right!! -- ffprobe reports as mp2 (I had used mediainfo earlier which reported as mp3 but I must have made a mistake). On Sun, Jan 28, 2024 at 5:42 PM Andrew Randrianasulu < [email protected]> wrote:
пн, 29 янв. 2024 г., 03:39 Phyllis Smith <[email protected]>:
MP2 is certainly a legitimate audio format for DVD. Unfortunately, choosing MPEG audio and then clicking on the wrench to get Layer II (2) rather than Layer III (3) produces the exact same x.mp3 results. Maybe there is another trick that Andrew knows about?
but is it really mp3? what ffprobe says?
Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
but it will be re-encoded.
Tested as Andrew stated on DVD connected to TV and it works but does not distinguish between MPEG-2 and MPEG-3 -- it just reports as MPEG. And mp3 works too on DVD. FYI -- you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 but really mp2). I did not add -L 48000:2:16 as not needed (?). And execute dvd.sh after like for lpcm. Is it possible to get MP2 audio; if possible how and where to set it on the
create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
пн, 29 янв. 2024 г., 04:21 Phyllis Smith <[email protected]>:
Tested as Andrew stated on DVD connected to TV and it works but does not distinguish between MPEG-2 and MPEG-3 -- it just reports as MPEG. And mp3 works too on DVD. FYI -- you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 but really mp2). I did not add -L 48000:2:16 as not needed (?).
yeah, -L only needed for headerless pcm. And execute dvd.sh after like for lpcm.
Is it possible to get MP2 audio; if possible how and where to set it on
the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
Den 29.01.2024 02:25, skrev Andrew Randrianasulu via Cin:
пн, 29 янв. 2024 г., 04:21 Phyllis Smith <[email protected]>:
Tested as Andrew stated on DVD connected to TV and it works but does not distinguish between MPEG-2 and MPEG-3 -- it just reports as MPEG. And mp3 works too on DVD. FYI -- you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 but really mp2). I did not add -L 48000:2:16 as not needed (?).
yeah, -L only needed for headerless pcm.
And execute dvd.sh after like for lpcm.
Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
Thanks for the feedback. I think the procedure here is somewhat tricky and a bit confusing. Therefor I suggest some clarifications in the GUI and a manual example. It is possible to Create DVD both with - and without "Use FFmpeg" checked. On the batch render window: Enable the audiotrack, select File format MPEG Audio: then the audio file becomes dvd.mp3 Even then changing the wrench from default Layer III to Layer II it keeps dvd.mp3 This is confusing because only MP2 (Audio Layer II) is supported on DVD-video Many/most people know what "MP3 music" is, but don't know what MPEG-1 Audio Layer III IMO it would be more visible and understandable if the default MPEG Audio file name had been dvd.mp2 for DVD video rendering. Another suggestion is to differ between application format like DVD-Video and BD-Video vs Data Disks (for MP3) and differ between applications mandatory formats on optional formats that may or may not work.
Den 29.01.2024 14:55, skrev Terje J. Hanssen:
Den 29.01.2024 02:25, skrev Andrew Randrianasulu via Cin:
пн, 29 янв. 2024 г., 04:21 Phyllis Smith <[email protected]>:
Tested as Andrew stated on DVD connected to TV and it works but does not distinguish between MPEG-2 and MPEG-3 -- it just reports as MPEG. And mp3 works too on DVD. FYI -- you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 but really mp2). I did not add -L 48000:2:16 as not needed (?).
yeah, -L only needed for headerless pcm.
And execute dvd.sh after like for lpcm.
Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
Thanks for the feedback. I think the procedure here is somewhat tricky and a bit confusing. Therefor I suggest some clarifications in the GUI and a manual example.
It is possible to Create DVD both with - and without "Use FFmpeg" checked. On the batch render window: Enable the audiotrack, select File format MPEG Audio: then the audio file becomes dvd.mp3
Even then changing the wrench from default Layer III to Layer II it keeps dvd.mp3
This is confusing because only MP2 (Audio Layer II) is supported on DVD-video
Many/most people know what "MP3 music" is, but don't know what MPEG-1 Audio Layer III IMO it would be more visible and understandable if the default MPEG Audio file name had been dvd.mp2 for DVD video rendering.
Another suggestion is to differ between application format like DVD-Video and BD-Video vs Data Disks (for MP3) and differ between applications mandatory formats on optional formats that may or may not work.
I don't know why, but this way to render DVD with CinGG, creates only 6 items in the DVD structure, missing the muxed dvd.mpg file (that is dvd.m2v+dvd.mp3). The dvd.mpg file is handy and easy to test playback with in players like VLC and FFplay.
Den 29.01.2024 15:59, skrev Terje J. Hanssen:
Den 29.01.2024 14:55, skrev Terje J. Hanssen:
Den 29.01.2024 02:25, skrev Andrew Randrianasulu via Cin:
пн, 29 янв. 2024 г., 04:21 Phyllis Smith <[email protected]>:
Tested as Andrew stated on DVD connected to TV and it works but does not distinguish between MPEG-2 and MPEG-3 -- it just reports as MPEG. And mp3 works too on DVD. FYI -- you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 but really mp2). I did not add -L 48000:2:16 as not needed (?).
yeah, -L only needed for headerless pcm.
And execute dvd.sh after like for lpcm.
Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
Thanks for the feedback. I think the procedure here is somewhat tricky and a bit confusing. Therefor I suggest some clarifications in the GUI and a manual example.
It is possible to Create DVD both with - and without "Use FFmpeg" checked. On the batch render window: Enable the audiotrack, select File format MPEG Audio: then the audio file becomes dvd.mp3
Even then changing the wrench from default Layer III to Layer II it keeps dvd.mp3
This is confusing because only MP2 (Audio Layer II) is supported on DVD-video
Many/most people know what "MP3 music" is, but don't know what MPEG-1 Audio Layer III IMO it would be more visible and understandable if the default MPEG Audio file name had been dvd.mp2 for DVD video rendering.
Another suggestion is to differ between application format like DVD-Video and BD-Video vs Data Disks (for MP3) and differ between applications mandatory formats on optional formats that may or may not work.
I don't know why, but this way to render DVD with CinGG, creates only 6 items in the DVD structure, missing the muxed dvd.mpg file (that is dvd.m2v+dvd.mp3). The dvd.mpg file is handy and easy to test playback with in players like VLC and FFplay.
I have noticed that after checking the selected Format on the Create DVD or BD window, it updates also the Settings>Format window, so it seems to be not necessary to select Preset on the latter.
Den 29.01.2024 16:54, skrev Terje J. Hanssen:
Den 29.01.2024 15:59, skrev Terje J. Hanssen:
Den 29.01.2024 14:55, skrev Terje J. Hanssen:
Den 29.01.2024 02:25, skrev Andrew Randrianasulu via Cin:
пн, 29 янв. 2024 г., 04:21 Phyllis Smith <[email protected]>:
Tested as Andrew stated on DVD connected to TV and it works but does not distinguish between MPEG-2 and MPEG-3 -- it just reports as MPEG. And mp3 works too on DVD. FYI -- you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 but really mp2). I did not add -L 48000:2:16 as not needed (?).
yeah, -L only needed for headerless pcm.
And execute dvd.sh after like for lpcm.
Is it possible to get MP2 audio; if possible how and where to set it on the create DVD or Batch render window? I tried to check FFmpeg there, but could not see MP2.
try "MPEG AUDIO" and select "II" in settings ...?
Thanks for the feedback. I think the procedure here is somewhat tricky and a bit confusing. Therefor I suggest some clarifications in the GUI and a manual example.
It is possible to Create DVD both with - and without "Use FFmpeg" checked. On the batch render window: Enable the audiotrack, select File format MPEG Audio: then the audio file becomes dvd.mp3
Even then changing the wrench from default Layer III to Layer II it keeps dvd.mp3
This is confusing because only MP2 (Audio Layer II) is supported on DVD-video
Many/most people know what "MP3 music" is, but don't know what MPEG-1 Audio Layer III IMO it would be more visible and understandable if the default MPEG Audio file name had been dvd.mp2 for DVD video rendering.
Another suggestion is to differ between application format like DVD-Video and BD-Video vs Data Disks (for MP3) and differ between applications mandatory formats on optional formats that may or may not work.
I don't know why, but this way to render DVD with CinGG, creates only 6 items in the DVD structure, missing the muxed dvd.mpg file (that is dvd.m2v+dvd.mp3). The dvd.mpg file is handy and easy to test playback with in players like VLC and FFplay.
And the iso VIDEO_TS is empty
I have noticed that after checking the selected Format on the Create DVD or BD window, it updates also the Settings>Format window, so it seems to be not necessary to select Preset on the latter.
More feedback below. I think the procedure here is somewhat tricky and a bit confusing. Therefor I suggest some clarifications in the GUI and a manual example. Good suggestions. I am going to create a subdirectory on the website to include additional examples, video, and screenshots rather than putting so much detailed stuff in the manual.
It is possible to Create DVD both with - and without "Use FFmpeg" checked.
Once you check "Use FFmpeg" even though it allows you to change the Audio format, it errors out later with "virtual int FileSndFile::open_file(int,int); ... Error:minor format is 0". Not sure why.
On the batch render window: Enable the audiotrack, select File format MPEG Audio: then the audio file becomes dvd.mp3
Even then changing the wrench from default Layer III to Layer II it keeps dvd.mp3
This works the same way as Using LPCM for DVD -- that is, once you switch from AC3 to Raw PCM, or in this case to MPEG Audio and Layer II, the Output File extension in the upper left hand corner is "highlighted" thus drawing your attention to modifying it to be mp2 instead.
This is confusing because only MP2 (Audio Layer II) is supported on DVD-video
Even though only MP2 is supported on DVD-video, MP3 works also on my LG and Samsung!
Many/most people know what "MP3 music" is, but don't know what MPEG-1 Audio Layer III
I agree, that Layer II or Layer III rather than MP2 and MP3 is unknown these days, if you look at the last previous email for HDV is really 4 channel?, it uses the Layer II terminology all over the place!
IMO it would be more visible and understandable if the default MPEG Audio file name had been dvd.mp2 for DVD video rendering.
See above, it highlights the extension to draw your eye to change it.
Another suggestion is to differ between application format like DVD-Video and BD-Video vs Data Disks (for MP3) and differ between applications mandatory formats on optional formats that may or may not work.
I don't know why, but this way to render DVD with CinGG, creates only 6 items in the DVD structure, missing the muxed dvd.mpg file (that is dvd.m2v+dvd.mp3).
Yes, you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 if you do not change it, but really mp2). Do not add -L 48000:2:16 as is not needed. And then execute dvd.sh after like for lpcm.
Den 29.01.2024 17:05, skrev Phyllis Smith:
More feedback below.
I think the procedure here is somewhat tricky and a bit confusing. Therefor I suggest some clarifications in the GUI and a manual example. Good suggestions. I am going to create a subdirectory on the website to include additional examples, video, and screenshots rather than putting so much detailed stuff in the manual.
Yeah, that's good. Together with youtube video's, this will be good training stuff :)
It is possible to Create DVD both with - and without "Use FFmpeg" checked.
Once you check "Use FFmpeg" even though it allows you to change the Audio format, it errors out later with "virtual int FileSndFile::open_file(int,int); ... Error:minor format is 0". Not sure why.
I've seen that before. But now it works using Einhander's latest rpm on Leap: built: Jan 28 2024 04:01:19 The only thing it reports error on, is my last mentioned missing "dvd.mpg".... Terminal output below: Render::render_single: Session finished. Render::render_single: Session finished. ** rendered 10452 frames in 174.322 secs, 59.958 fps running /home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/dvd.sh INFO: [mplex] mplex version 2.0.0 (2.2.7 $Date: 2010/03/13 13:05:07 $) **ERROR: [mplex] Unable to open file /home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/dvd.ac3 for reading. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi Send bug reports to <[email protected]> INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01 STAT: Processing /home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/dvd.mpg... ERR: 2 opening input video file "/home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/dvd.mpg" -- No such file or directory To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/iso Terminert
On the batch render window: Enable the audiotrack, select File format MPEG Audio: then the audio file becomes dvd.mp3
Even then changing the wrench from default Layer III to Layer II it keeps dvd.mp3
This works the same way as Using LPCM for DVD -- that is, once you switch from AC3 to Raw PCM, or in this case to MPEG Audio and Layer II, the Output File extension in the upper left hand corner is "highlighted" thus drawing your attention to modifying itto be mp2 instead. Ok, it is possible to just edit it there by hand
This is confusing because only MP2 (Audio Layer II) is supported on DVD-video
Even though only MP2 is supported on DVD-video, MP3 works also on my LG and Samsung! I have old A-one player labeled among others "MP3", a Toshiba labeled "DivX" and the Samsung BD player with "MKV" among supported playback formats.. But those are optional formats different players may support or not, and not part of the DVD-Video or BD-Video standards. Therefore I think it is most important to prioritize the mandatory standard formats, possibly with notice warning if trying to go beyond the mandatory formats for DVD-Video or BD-Video, when the purpose is to be most sure the medium will play in other players. (and beside, some "industry protection wars" between PAL and NTSC lands, LPCM and Dolby etc)
Many/most people know what "MP3 music" is, but don't know what MPEG-1 Audio Layer III
I agree, that Layer II or Layer III rather than MP2 and MP3 is unknown these days, if you look at the last previous email for HDV is really 4 channel?, it uses the Layer II terminology all over the place!
IMO it would be more visible and understandable if the default MPEG Audio file name had been dvd.mp2 for DVD video rendering.
See above, it highlights the extension to draw your eye to change it.
Another suggestion is to differ between application format like DVD-Video and BD-Video vs Data Disks (for MP3) and differ between applications mandatory formats on optional formats that may or may not work.
I don't know why, but this way to render DVD with CinGG, creates only 6 items in the DVD structure, missing the muxed dvd.mpg file (that is dvd.m2v+dvd.mp3).
Yes, you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 if you do not change it, but really mp2). Do not add -L 48000:2:16 as is not needed. And then execute dvd.sh after like for lpcm.
Refer to the CinGG output above
Den 29.01.2024 18:30, skrev Terje J. Hanssen:
Den 29.01.2024 17:05, skrev Phyllis Smith:
More feedback below.
I think the procedure here is somewhat tricky and a bit confusing. Therefor I suggest some clarifications in the GUI and a manual example. Good suggestions. I am going to create a subdirectory on the website to include additional examples, video, and screenshots rather than putting so much detailed stuff in the manual.
Yeah, that's good. Together with youtube video's, this will be good training stuff :)
It is possible to Create DVD both with - and without "Use FFmpeg" checked.
Once you check "Use FFmpeg" even though it allows you to change the Audio format, it errors out later with "virtual int FileSndFile::open_file(int,int); ... Error:minor format is 0". Not sure why.
I've seen that before. But now it works using Einhander's latest rpm on Leap: built: Jan 28 2024 04:01:19 The only thing it reports error on, is my last mentioned missing "dvd.mpg".... Terminal output below:
Render::render_single: Session finished. Render::render_single: Session finished. ** rendered 10452 frames in 174.322 secs, 59.958 fps running /home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/dvd.sh INFO: [mplex] mplex version 2.0.0 (2.2.7 $Date: 2010/03/13 13:05:07 $) **ERROR: [mplex] Unable to open file /home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/dvd.ac3 for reading. DVDAuthor::dvdauthor, version 0.7.2. Build options: gnugetopt imagemagick iconv freetype fribidi Send bug reports to <[email protected]>
INFO: default video format is PAL INFO: dvdauthor creating VTS STAT: Picking VTS 01
STAT: Processing /home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/dvd.mpg... ERR: 2 opening input video file "/home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/dvd.mpg" -- No such file or directory To burn dvd, load blank media and run: growisofs -dvd-compat -Z /dev/dvd -dvd-video /home/terje/Videoklipp/M2T-MOV/dvd_16x9_ffmpeg_hdv_20240129-174118/iso Terminert
On the batch render window: Enable the audiotrack, select File format MPEG Audio: then the audio file becomes dvd.mp3
Even then changing the wrench from default Layer III to Layer II it keeps dvd.mp3
This works the same way as Using LPCM for DVD -- that is, once you switch from AC3 to Raw PCM, or in this case to MPEG Audio and Layer II, the Output File extension in the upper left hand corner is "highlighted" thus drawing your attention to modifying itto be mp2 instead. Ok, it is possible to just edit it there by hand
This is confusing because only MP2 (Audio Layer II) is supported on DVD-video
Even though only MP2 is supported on DVD-video, MP3 works also on my LG and Samsung! I have old A-one player labeled among others "MP3", a Toshiba labeled "DivX" and the Samsung BD player with "MKV" among supported playback formats.. But those are optional formats different players may support or not, and not part of the DVD-Video or BD-Video standards. Therefore I think it is most important to prioritize the mandatory standard formats, possibly with notice warning if trying to go beyond the mandatory formats for DVD-Video or BD-Video, when the purpose is to be most sure the medium will play in other players. (and beside, some "industry protection wars" between PAL and NTSC lands, LPCM and Dolby etc)
Grouping formats and features according to Wikipedia: DVD-Video (standard formats) https://en.wikipedia.org/wiki/DVD-Video DVD-Video/Audio (standard formats) https://en.wikipedia.org/wiki/DVD-Video#Audio_data DVD player devices/Extra features (selling points) https://en.wikipedia.org/wiki/DVD-Video#Extra_features Additional popular formats support https://en.wikipedia.org/wiki/DVD-Video#Players_and_recorders
Many/most people know what "MP3 music" is, but don't know what MPEG-1 Audio Layer III
I agree, that Layer II or Layer III rather than MP2 and MP3 is unknown these days, if you look at the last previous email for HDV is really 4 channel?, it uses the Layer II terminology all over the place!
IMO it would be more visible and understandable if the default MPEG Audio file name had been dvd.mp2 for DVD video rendering.
See above, it highlights the extension to draw your eye to change it.
Another suggestion is to differ between application format like DVD-Video and BD-Video vs Data Disks (for MP3) and differ between applications mandatory formats on optional formats that may or may not work.
I don't know why, but this way to render DVD with CinGG, creates only 6 items in the DVD structure, missing the muxed dvd.mpg file (that is dvd.m2v+dvd.mp3).
Yes, you will have to edit dvd.sh to change ac3 extension to mp3 (file written as mp3 if you do not change it, but really mp2). Do not add -L 48000:2:16 as is not needed. And then execute dvd.sh after like for lpcm.
Refer to the CinGG output above
participants (3)
-
Andrew Randrianasulu -
Phyllis Smith -
Terje J. Hanssen