[Cin] Fwd: bdcreate_fix.diff

Andrew Randrianasulu randrianasulu at gmail.com
Sun Apr 24 11:52:10 CEST 2022


---------- Forwarded message ----------
From: *Андрей Рандрианасулу* <randrik at mail.ru>
Date: Sunday, April 24, 2022
Subject: bdcreate_fix.diff
To: randrianasulu <randrianasulu at gmail.com>


should fix tsmuxer output with bdcreate.C

------------------------------
root at slax:~/cinelerra/cinelerra-5.1# bin/cin
Cinelerra Infinity - built: Apr 24 2022 09:57:29
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.

FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/X11R7/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/X11R7/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/X11R7/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/X11R7/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/X11R7/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/X11R7/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
FFMPEG::open_decoder: some stream times estimated: /media/sda1_removable/[]
Don't Mine at Night (Pony Parody)-X_TMtgjQuZI.mkv
Render::render_single: Session finished.
** rendered 155 frames in 13.858 secs, 11.185 fps
++ dirname /tmp/bd_20220424-112925/bd.sh
+ sdir=/tmp/bd_20220424-112925
++ cd /tmp/bd_20220424-112925
++ pwd
+ dir=/tmp/bd_20220424-112925
+ PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/
usr/bin:/bin:/usr/X11R7/bin:/usr/games:/usr/lib/java/bin:/
bin:/opt/kde3/bin:/root/cinelerra/cinelerra-5.1/bin
+ mkdir -p /tmp/bd_20220424-112925/udfs
++ tail -1
++ du -cb /tmp/bd_20220424-112925/bd.m2ts
++ sed -e 's/[  ].*//'
+ sz=7176192
+ blks=7600
+ rm -f /tmp/bd_20220424-112925/bd.udfs
+ '[' -f /tmp/bd_20220424-112925/bd.meta ']'
+ sed -i 's|bd.m2ts|/tmp/bd_20220424-112925/bd.m2ts|g'
/tmp/bd_20220424-112925/bd.meta
+ tsmuxer /tmp/bd_20220424-112925/bd.meta /tmp/bd_20220424-112925/bd.iso
tsMuxeR version git-631be21. github.com/justdan96/tsMuxer
Decoding H264 stream (track 1): Profile: High at 4.1  Resolution: 1920:1080p
Frame rate: 24
H.264 muxing fps is not set. Get fps from stream. Value: 24
1.5% complete
Decoding AC3 stream (track 2): Bitrate: 192Kbps Sample Rate: 48KHz
Channels: 2
Processed 154 video frames
100.0% complete
Flushing write buffer
Creating Blu-ray stream info and seek index
Creating Blu-ray playlist
Mux successful complete
Finalize ISO disk
Muxing time: 0 sec
+ mv /tmp/bd_20220424-112925/bd.iso /tmp/bd_20220424-112925/bd.udfs
+ echo To burn bluray, load writable media and run:
To burn bluray, load writable media and run:
+ echo for WORM: growisofs -dvd-compat -Z /dev/bd=/tmp/bd_20220424-
112925/bd.udfs
for WORM: growisofs -dvd-compat -Z /dev/bd=/tmp/bd_20220424-112925/bd.udfs
+ echo for RW: dd if=/tmp/bd_20220424-112925/bd.udfs of=/dev/bd bs=2048000
for RW: dd if=/tmp/bd_20220424-112925/bd.udfs of=/dev/bd bs=2048000
+ kill 17571
Завершено

------------------------------


used advice:

https://stackoverflow.com/questions/11772291/how-can-i-
print-a-quotation-mark-in-c

https://askubuntu.com/questions/76808/how-do-i-use-
variables-in-a-sed-command

--
Андрей  Рандрианасулу
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220424/74942e80/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdcreate_fix.diff
Type: text/x-diff
Size: 837 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220424/74942e80/attachment-0001.bin>


More information about the Cin mailing list