vdrsync.pl: No Audio syncword

  • Hi,


    bei mir gibt's ein Problem bei aus Pinnacle Studio SE generierten und mit ProjektX nach vdr konvertierten mpg's: sie lassen sich mit vdrconvert/vdr2dvd nicht in eine DVD verwandeln.


    Im Einzelnen:


    - Konvertieren -> vdr: ok, lassen sich im vdr abspielen, durch noad mit Schnittmarken versehen, schneiden etc.


    - vdrsync.pl liefert:


    Want to open /video/film/tmp/vdr2dvd/VDRSYNC.740Way//vdrsync0.mpa
    analysed the first 2000 packets...
    MPEG1_Layer_2 for stream c0


    audio stream c0 info (MPEG1_Layer_2):
    Sample frequency: 44100
    Bitrate: 224000
    Mode: stereo
    Copyright: 1
    Frame length (bytes) 731.428571428571
    Frame length (ticks) 2351.02040816327 (90000 / sec)



    video for stream e0
    video stream e0 info:
    Frame length (ticks) 3600 (90000 / sec)
    Aspect ratio 4:3
    Horizontal size 480
    Vertical size 576
    Frames per Second 25
    Bitrate: 2500000



    Filtering Output through
    Total Input Size is 302596140
    trying to open /webach/video/Prof._Gärtner_-_Das_Portrait/2003-01-01.20:00.99.99.rec//001.vdr
    ^M 10 Mbytes of 302 readYes, it did start at 0


    (?-xism:ÿü|ÿý) did not match against ^@ÿ


    Audio Format change within packet, skipping
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    AUDIO FORMAT CHANGED, new parameters:


    audio stream c0 info (MPEG1_Layer_2):
    Sample frequency: 44100
    Bitrate: 224000
    Mode: stereo
    Copyright: 1
    Frame length (bytes) 732.428571428571
    Frame length (ticks) 2354.23469387755 (90000 / sec)


    (?-xism:ÿü|ÿý) did not match against ý²


    Audio Format change within packet, skipping
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    First audio timestamp at 2 for stream c0
    First Audio Timestamp is 103058


    Audio now starting at 98349.5306122449
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    AUDIO FORMAT CHANGED, new parameters:


    audio stream c0 info (MPEG1_Layer_2):
    Sample frequency: 44100
    Bitrate: 224000
    Mode: joint_stereo
    Copyright: 1
    Frame length (bytes) 731.428571428571
    Frame length (ticks) 2351.02040816327 (90000 / sec)


    ....


    Das geht dann so weiter (>6000 Zeilen), bis:


    AUDIO FORMAT CHANGED, new parameters:


    audio stream c0 info (MPEG1_Layer_2):
    Sample frequency: 44100
    Bitrate: 224000
    Mode: stereo
    Copyright: 1
    Frame length (bytes) 732.428571428571
    Frame length (ticks) 2354.23469387755 (90000 / sec)




    (?-xism:ÿü|ÿý) did not match against ý²


    Audio Format change within packet, skipping
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    First audio timestamp at 2 for stream c0
    First Audio Timestamp is 5533915


    Audio now starting at 5529206.53061225
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    (?-xism:ÿü|ÿý) did not match against ý²


    Audio Format change within packet, skipping
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    Frequence of the audio stream c0 could not be determined, skipping packet and trying again later
    Freq bits are:11
    Analysis failed in audio stream c0, returning from check_audio_frames
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    Frequence of the audio stream c0 could not be determined, skipping packet and trying again later
    Freq bits are:11
    Analysis failed in audio stream c0, returning from check_audio_frames
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    ...


    Das geht dann weitere 60000 Zeilen so weiter, bis:


    Frequence of the audio stream c0 could not be determined, skipping packet and trying again later
    Freq bits are:11
    Analysis failed in audio stream c0, returning from check_audio_frames
    No Audio syncword at the beginning of the frame, searching
    found sync for mp2 stream c0


    Frequence of the audio stream c0 could not be determined, skipping packet and trying again later
    Freq bits are:11
    Analysis failed in audio stream c0, returning from check_audio_frames


    130994 PES packets processed
    should do the final flush for stream e0
    Flushing Video Buffer, 137907 bytes left
    The last GOP contains 13 pics
    FINAL: 83317::79186117::21988
    Final flush for stream c0
    should do the final flush for stream c0


    First packet ts for stream c0 in buffer 5529206.53061225 last:5559779.23469388


    In stream c0: new start 83317


    syncing failed for stream c0 while trying to drop Frames until 83317
    more than 10 seconds auf Audio missing, killing stream c0
    -1 frames written for stream c0 (-0.0261581632653061 sec)
    21988 frames written for stream e0 (879.52 sec)
    found key aspect_ratio
    found subkey 4:3 with value 146
    found key horizontal_size
    found subkey 480 with value 146
    found key fps
    found subkey 25 with value 146
    found key vertical_size
    found subkey 576 with value 146
    found key bitrate_value
    found subkey 2500000 with value 146
    Property aspect_ratio is 4:3
    Property horizontal_size is 480
    Property fps is 25
    Property vertical_size is 576
    Property bitrate_value is 2500000
    MPEG1_Layer_2 for stream c0


    audio stream c0 info (MPEG1_Layer_2):
    Sample frequency: 44100
    Bitrate: 224000
    Mode: stereo
    Copyright: 1
    Frame length (bytes) 732.428571428571
    Frame length (ticks) 2354.23469387755 (90000 / sec)


    video for stream e0
    video stream e0 info:
    Frame length (ticks) 3600 (90000 / sec)
    Aspect ratio 4:3
    Horizontal size 480
    Vertical size 576
    Frames per Second 25
    Bitrate: 2500000


    Worauf tcmplex kein mpa-File findet:


    + nice -15 tcmplex -i /video/film/tmp/vdr2dvd/VDRSYNC.740Way/e0.mpv -p /video/film/tmp/vdr2dvd/VDRSYNC.740Way/c0.mpa -m d -o $'/video/film/tmp/vdr2dvd/VDRSYNC.740Way/Prof._G\344rtner_-_Das_Portrait.mpg'


    INFO: using reference profile (DVD)
    INFO: profile type is (PAL)


    ERROR: Unable to read from file /video/film/tmp/vdr2dvd/VDRSYNC.740Way/c0.mpa.


    Hat jemand eine Idee, was da schief läuft? Die gezippte Version von vdr2dvd.log habe ich sicherheitshalber mal mit angehängt...


    Gruß,
    Gottfried

  • bei mir hatten alle Probleme beim Konvertieren IMMER mit Lame zu tun... mach mal ein upgrade auf 3.96...


    cat

    "Life moves fast. Don't miss a thing."
    ------------------------------------------------------
    Rechner: Celeron 2,666 Ghz; 256 SDRAM, TT rev. 1.6 +Satelco Easywatch ,1x 160GB Samsung Festplatte, 1 x 500 GB WD
    Gehäuse : LaScala03 (Silverstone),Zalman CNPS 7000CU .Asus P4S533-MX; AVBoard 1.0
    CTVDR ( Lenny)

  • Hi cat,


    danke für die schnelle Antwort! Habe 3.96 aus dem Nerim-Repository installiert - leider keine Änderung...


    gottfried@vdr:/var/log/vdrconvert$ sudo apt-show-versions -a -b | grep lame
    lame 3.96-woody1 install ok installed
    lame 3.96-woody1 stable
    lame/stable
    liblame0 3.95.1-woody1 install ok installed
    liblame0 3.96-woody1 stable
    liblame0/stable
    liblame-dev 3.95.1-woody1 install ok installed
    liblame-dev 3.96-woody1 stable
    liblame-dev/stable
    toolame 02h-3 install ok installed
    toolame 02h-3 stable
    toolame 02i-2 testing
    toolame/stable


    Noch eine Idee?


    Gruß,
    Gottfried

  • Zitat

    Original von gscheck
    bei mir gibt's ein Problem bei aus Pinnacle Studio SE generierten und mit ProjektX nach vdr konvertierten mpg's: sie lassen sich mit vdrconvert/vdr2dvd nicht in eine DVD verwandeln.


    Sample frequency: 44100


    Hm, sprach der Video-Newbie, sollte das nicht 48000 sein?

    LG
    Jochen


    Rpi4 headless mit MLD 5.4 als Server via satip-Plugin hinter einem Telestar Digibit Twin, ein Rpi3 als Streamdev-Client mit MLD 5.4

    Rpi3 auch hinter Telestar Digibit Twin und mit MLD 5.4

  • > Hm, sprach der Video-Newbie, sollte das nicht 48000 sein?


    Könnte sein - ist zumindest bei einer Aufzeichnung des vdr so:
    gottfried@vdr:/var/log/vdrconvert$ tail -f vdr2dvd.log | grep 'Sample frequency'
    Sample frequency: 48000


    Hm, liegt jemandem ein Tool zum Umcodieren auf der Zunge?

  • Ich denke nicht, dass Dein Konvertier-Prozess wirklich das Problem ist. Ich habe das gleiche Problem mit vdr Aufnahmen, die schon mal mit vdrsync.pl in mpg umgewandelt wurden und dann wieder in vdr Format zurückgewandelt wurden. Auch hier funktioniert das abspielen und schneiden wunderbar aber ein erneuter Lauf von vdrsync.pl bricht mit gleicher Fehlermeldung ab. Das ganze scheint daran zu liegen, dass original vdr Dateien noch irgendwelche Zusatzinformationen enthalten, die beim vdrsync.pl entfernt werden und dann einen weiteren Durchlauf von vdrsync.pl unmöglich machen. An was das aber liegt konnte ich noch nicht rausfinden, währe aber an einer Lösung auch interessiert!


    Gruss,
    Reiner.

    Frontend 1: Intel Atom D525, Digital Devices CineS2 DVB-S2 Karte, yaVDR-ansible

    Frontend 2: Intel NUC, TerraTec Cinergy S2 USB, easyVDR 3.0.0

    Backend: Intel Core i5, Digital Devices CineS2 DVB-S2, Debian 10, vdr (e-tobi)

  • Der oben dokumentierte Vorgang stieg aber mit der Fehlermeldung aus:
    ERROR: Unable to read from file /video/film/tmp/vdr2dvd/VDRSYNC.740Way/c0.mpa


    Und die mpa-Datei dürfte doch wohl der Sound sein. Also sollte zumindest ein Teil der Erklärung da zu finden sein. Dass es noch andere Probleme geben kann, ist natürlich nicht auszuschließen.

    LG
    Jochen


    Rpi4 headless mit MLD 5.4 als Server via satip-Plugin hinter einem Telestar Digibit Twin, ein Rpi3 als Streamdev-Client mit MLD 5.4

    Rpi3 auch hinter Telestar Digibit Twin und mit MLD 5.4

  • Hi,


    ich habe einen Weg gefunden, das Problem zu umgehen: es lag wirklich an der 44,1kHz Sound-Abtastung von Pinnacle Studio.


    Sei die Ausgangsdatei file.mpg. Dann ist folgendes zu tun:
    - ProjextX: demux von file.mpg --> file.mpv u. file.mp2
    - mpg123: mpg123 -s -w file.wav file.mp2
    - mp2enc: mp2enc -b 256 -r 48000 -o file_neu.mp2 < file.wav
    - mplex: mplex -f 0 -o file_neu.mpg file.mpv file_neu.mp2
    - ProjektX: convert von file_neu.mpg --> file_neu.vdr


    Allerdings laufe ich bei längeren Videos bei der Ausführung von mplex immer auf den Fehler:


    **ERROR: [mplex] Too many frame drops -exiting


    Auch wenn ich die von ProjektX generierten mpv und mp2's direkt wieder zusammenzufassen versuche... An dem Umkodieren kann es also nicht liegen!


    Versuche ich hingegen das Original-mpg mit mpgdemux zu demultiplexen, kommen von mpginfo nicht erkennbare m2v und mp2 Files raus. Strange...


    Gottfried

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!